Difference between revisions of "Template:MOB infobox"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m |
Gorgonzola (talk | contribs) m (Examples) |
||
Line 38: | Line 38: | ||
==Examples== | ==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): | ||
+ | <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, specify like so: | ||
+ | <pre> | ||
+ | {{MOB infobox | ||
+ | | image = [[File:Black Widow.png|300px]] | ||
+ | | type = Arthropod | ||
+ | | armor = 5 | ||
+ | | health = 45 | ||
+ | | rage = 60 | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | |||
[[MOB infobox Examples]] | [[MOB infobox Examples]] | ||
[[Category:Formatting templates|MOB infobox]] | [[Category:Formatting templates|MOB infobox]] | ||
</noinclude> | </noinclude> |
Revision as of 15:20, 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 }}