Changes

Jump to: navigation, search

Template:MOB infobox

2,400 bytes removed, 05:00, 9 April 2016
m
bug fix, Moved documentation into subdoc
|- valign="top"
! style="background:#eee;width:100px;" | [[:Category:Creatures by Type|Anatomy]]
| [[{{#ifeq: {{{type|-}}}]]| - |- valign<span class="toperror">Missing Type !</span> | [[{{{type}}}]] }}{{ #ififeq:{{{notoriety|-}}} | - | |{{pipe}}- valign="top"
! style="background:#eee;" {{pipe}} [[Notoriety]]
{{pipe}} {{{notoriety}}}
}}{{ #ififeq:{{{curse|-}}} | - | |{{pipe}}- valign="top"
! style="background:#f5e0c7;" {{pipe}} [[Curse]]
{{pipe}} {{{curse}}}
}}{{ #ififeq:{{{effective|-}}} | - | |{{pipe}}- valign="top"
! style="background:#f5e0c7;" {{pipe}} Effective:
{{pipe}} {{{effective}}}
}}{{ #ififeq:{{{ineffective|-}}} | - | |{{pipe}}- valign="top"
! style="background:#f5e0c7;" {{pipe}} Ineffective:
{{pipe}} {{{ineffective}}}
}}{{ #ififeq:{{{immune|-}}} | - | |{{pipe}}- valign="top"
! style="background:#f5e0c7;" {{pipe}} Immune:
{{pipe}} {{{immune}}}
}}
|}<noinclude>{{Documentation}}</noinclude><includeonly><!-- automatic categories -->
{{ #if: {{{type|}}} | [[Category:{{{type}}}]] }}
{{ #if: {{{curse|}}} | [[Category:Has curse]] }}
<!-- end categories --><noinclude><noinclude>{{clear}}__NOTOC__==Syntax==<pre>{{MOB infobox| name = | image = | type =| armor =| health =| rage =| notoriety = | effective = | ineffective =| immune =}}</pre> ==Parameters==; name: Optional. Defaults to article name.; image: Optional. Defaults to a .jpg image of the article's name. If specified, use <code><nowiki>[[Image:Creature name.jpg|300px|]]</nowiki></code>; type: MUST match an existing [[:Category:Creatures by Type]]; armor: Numerical value as displayed in the in-game target box.; health: Numerical value as displayed in the in-game target box.; rage: Numerical value as displayed in the in-game target box.; notoriety: OPTIONAL. Show notoriety XP gain for special creatures.; effective: OPTIONAL. Lists damage types that are effective against this creature. Add a (V) next to attack types which are Very Effective.; ineffective: OPTIONAL. Lists damage types that are ineffective against this creature. Add a (V) next to attack types which are Very Ineffective.; immune: OPTIONAL. Lists damage types that the mob is immune to. ==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. <span style="color:#484">This template will have more parameters, but is awaiting Wiki Extensions.</span> ; 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]] ==Examples==: To see a completed example, look at [[Sherzat]]. 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):<pre>{{MOB infobox| type = Arthropod| armor = 5| health = 45| rage = 60}}</pre> If an image already exists which name does not match the article name, or in a different format (png) specify like so:<pre>{{MOB infobox| image = [[Image:Black Widow.png|300px|]]| type = Arthropod| armor = 5| health = 45| rage = 60}}</pre> ==TODOs (Gorgonzola)==Notes for later:* XP amounts like Notoriety should be pulled with Semantic Data?  [[Category:Formatting templates|MOB infobox]]</noincludeincludeonly>
1,071
edits

Navigation menu