Difference between revisions of "Template:Infobox item/doc"
Jump to navigation
Jump to search
(new template doc) |
m (added example property to template) |
||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
{{infobox item | {{infobox item | ||
− | | image = [ | + | | image = [leave this field empty if there's no image yet] |
− | | | + | | example = [marks the infobox as example. remove this line if stats are exact] |
| type = | | type = | ||
| description = | | description = |
Revision as of 00:59, 29 March 2013
Description
This is the generic item infobox template. It can be used for all items, but some item types also have their own infoboxes.
NOTE: generic items, armor, blueprints, components and weapons all have their own infobox templates!
Syntax
To use this template, copy the following code, fill in the appropriate fields and remove the rest.
{{infobox item | image = [leave this field empty if there's no image yet] | example = [marks the infobox as example. remove this line if stats are exact] | type = | description = | whitestats = [optional, energy capacity and other stats written in white] | greenstats = [optional, uses and other stats written in green] | whitestats2 = [optional, any stats written in white, below the green section] | value = [optional] }}
Samples
{{infobox item | image = items_medicine_health_hypo.png | name = Health Hypo | type = Medicine | description = A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use. | greenstats = Use: Instantly restores 80 health points. (AP: 10, Cooldown: 6 turns) | value = 120 }}
Results in...
| |||
A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use. | |||
Value: 120 |