Difference between revisions of "Template:MOB infobox"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m (Examples) |
Gorgonzola (talk | contribs) m |
||
| Line 8: | Line 8: | ||
! style="background:#eee;width:100px;" | [[:Category:Creatures by Type|Anatomy]] | ! style="background:#eee;width:100px;" | [[:Category:Creatures by Type|Anatomy]] | ||
| [[:Category:{{{type|Rodent}}}|{{{type|Rodent}}}]] | | [[:Category:{{{type|Rodent}}}|{{{type|Rodent}}}]] | ||
| − | |} | + | |}<noinclude> |
| − | + | {{clear}} | |
| − | <noinclude> | ||
| − | |||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
Revision as of 15:34, 3 October 2014
| MOB infobox | |
|---|---|
| 300px | |
| | |
| Anatomy | Rodent |
Syntax
{{MOB infobox
| name =
| image =
| type =
| armor =
| health =
| rage =
}}
Parameters
- name
- Optional. Defaults to article name.
- image
- Optional. Defaults to a .jpg image of the article's name. If specified, use File:Creature name.jpg
- type
- MUST match an existing Category:Creatures by Type
- armor
- health
- rage
- Numerical values as displayed in the in-game target box.
Examples
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
| type = Arthropod
| armor = 5
| health = 45
| rage = 60
}}
If an image already exists which name does not match the article name, specify like so:
{{MOB infobox
| image = [[File:Black Widow.png|300px]]
| type = Arthropod
| armor = 5
| health = 45
| rage = 60
}}