Template:Infobox item/doc

From Underrail Wiki
< Template:Infobox item
Revision as of 09:15, 3 April 2013 by Wikiman (talk | contribs) (added itemquality parameter)
Jump to navigation Jump to search

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
| example       = [marks the infobox as example. remove this line if stats are exact]
| image         = [leave this field empty if there's no image yet]
| itemquality   = [accepted values: low, normal, high, rarity, artifact. defaults to normal if omitted]
| name          =
| 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         = 
}}

Samples

{{infobox item
| image         = items_medicine_health_hypo.png
| itemquality   = normal
| 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...

Health Hypo.png
Health Hypo
Medicine
A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use.
Value: 120