Difference between revisions of "Template:MOB infobox"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m (→Examples) |
Gorgonzola (talk | contribs) m |
||
Line 2: | Line 2: | ||
! colspan="2" style="font-size:17px; text-align:center; background-color:#7de36f;color:#185110;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="font-size:17px; text-align:center; background-color:#7de36f;color:#185110;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | | style="width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}300px]]}}} | + | | style="width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}300px{{pipe}}]]}}} |
|- | |- | ||
| style="font-size:19px" colspan="2" align="center" | [[Image:Armor-icon-30px.gif|Armor]]<span style="padding:0 1em 0 .5em">{{{armor|-}}}</span>[[Image:Health-icon-30px.gif|Health]]<span style="padding:0 1em 0 .5em">{{{health|-}}}</span>[[Image:Rage-icon-30px.gif|Rage]]<span style="padding:0 1em 0 .5em">{{{rage|-}}}</span> | | style="font-size:19px" colspan="2" align="center" | [[Image:Armor-icon-30px.gif|Armor]]<span style="padding:0 1em 0 .5em">{{{armor|-}}}</span>[[Image:Health-icon-30px.gif|Health]]<span style="padding:0 1em 0 .5em">{{{health|-}}}</span>[[Image:Rage-icon-30px.gif|Rage]]<span style="padding:0 1em 0 .5em">{{{rage|-}}}</span> |
Revision as of 15:43, 3 October 2014
MOB infobox | |
---|---|
File:MOB infobox.jpg | |
--- | |
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, or in a different format (png) specify like so:
{{MOB infobox | image = [[File:Black Widow.png|300px]] | type = Arthropod | armor = 5 | health = 45 | rage = 60 }}