Template:MOB infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 27: | Line 27: | ||
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Effective: | ! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Effective: | ||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{veffective}}}</div>}} | {{pipe}} <div class="block2" style="color:#ffffff;">{{{veffective}}}</div>}} | ||
|- | |||
{{ #ifeq:{{{ineffective|-||}}}|-||{{pipe}}- valign="top" | |||
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Ineffective: | |||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{ineffective}}}</div> | |||
}} | |||
|- | |||
{{ #ifeq:{{{vineffective|-}}}|-||{{pipe}}- valign="top" | |||
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Ineffective: | |||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{vineffective}}}</div> | |||
}} | |||
|- | |||
{{ #ifeq:{{{immune|-}}}|-||{{pipe}}- valign="top" | |||
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Immune: | |||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{immune}}}</div> | |||
}} | |||
|- | |- | ||
! colspan="2" style="font-size:17px; text-align:center; border-radius:2px; background-color:#7de36f;color:#185110;" | | ! colspan="2" style="font-size:17px; text-align:center; border-radius:2px; background-color:#7de36f;color:#185110;" | | ||
Revision as of 22:21, 23 February 2018
| title | |
|---|---|
| File:MOB infobox.png | |
| Anatomy: | |
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
Create an attractive "info card" for enemies and bosses. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures.
Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page. This template will have more parameters, but is awaiting Wiki Extensions.
- Automatic categories
- curse => this will add "Has curse" and will show up in the Curse boss list
- type => the anatomy type will list under the corresponding category for creature type lists, eg. Undead
Syntax
{{MOB infobox
| title =
| image =
| type =
| health =
| armor =
| rage =
| notoriety =
| curse =
| effective =
| veffective =
| ineffective =
| vineffective =
| immune =
}}
Parameters
- title
- Not Optional. Must be the Mob's name.
- image
- Optional. Defaults to a .png image of the article's name. If specified, use
[[Image:Creature name.jpg|300px|]] - type
- MUST match an existing Category:Creatures by Type
- health
- OPTIONAL. Numerical value as displayed in the in-game target box. Use on bosses, and creatures that appear in a single location in-game. Creatures that appear in many locations such as the Tiger do not require health/armor/rage to be listed in its infobox.
- armor
- OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
- rage
- OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
- notoriety
- OPTIONAL. Show notoriety XP gain for special creatures.
- curse
- OPTIONAL. Lists exact name of curse if the creature is a curse causing boss.
- effective
- OPTIONAL. Lists damage types that are effective against this creature.
- veffective
- OPTIONAL. Lists damage types that are very effective against this creature.
- ineffective
- OPTIONAL. Lists damage types that are ineffective against this creature.
- vineffective
- OPTIONAL. Lists damage types that are very ineffective against this creature.
- immune
- OPTIONAL. Lists damage types that the mob is immune to.
Examples
- To see a completed example, look at Young Kraken.
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):
{{MOB infobox
| title = Young Kraken
| type = Fish and Snail
| notoriety = 500
| health = 8508
| armor = 1007
| rage = 1299
| effective = Crushing
| veffective = Slashing
| vineffective = Poison
| immune = Nature
}}
| Young Kraken | |
|---|---|
| File:MOB infobox.png | |
| Anatomy: | |
| Notoriety: | 500
|
| Effective: | Crushing
|
| Very Effective: | Slashing
|
| Very Ineffective: | Poison
|
| Immune: | Nature
|
The above text is transcluded from Template:MOB infobox/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MOB infobox/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MOB infobox/doc. (View all subpages of this page.)