Difference between revisions of "Template:Infobox armor"

From Underrail Wiki
Jump to navigation Jump to search
(added durability)
m (removing old junk)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
#REDIRECT [[Template:Infobox item]]
{| style={{Infobox common style}}
 
|-
 
{{#if:{{{example|}}}
 
|{{!}} style="color:white; text-align:center;" colspan="2" {{!}}''This is an example of '''{{PAGENAME}}'''.<br>Its actual stats depend on components used and/or quality.''
 
----
 
|}}
 
|-
 
| rowspan="3" width="50px" height="50px" align="center" valign="center" title="{{#if:{{{image|}}}|{{PAGENAME}} icon|Default icon}}" |{{#if:{{{image|}}}|[[File:{{{image}}}|link=]]|[[File:Misc_icon.png|link=]]}}
 
 
 
|- <!-- color of item name is quality-dependent -->
 
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" title="{{#switch: {{{itemquality}}} | low = Quality: Low | normal = Quality: Normal | high = Quality: High | rarity = Quality: Rarity | artifact = Quality: Artifact | No quality specified }}" |{{{name|(armor's name)}}}
 
 
 
|-
 
| style="color:yellow;" title="Item type" |{{{type|(armor's type)}}}
 
 
 
|-
 
| style="color:gray;" colspan="2" title="Item description" |{{{description|(armor's description)}}}
 
 
 
|-
 
| style="color:white;" colspan="2" title="Damage resistance and treshold provided" |Resistances:
 
{{{resistances|multiple lines, each intended with ":"}}}
 
 
 
|-
 
{{#if:{{{encumbrance|}}}
 
|{{!}} style="color:white;" colspan="2" title="Encumbrance reduces movement points" {{!}}Encumbrance: <font color="red">{{{encumbrance|armor's encumbrance}}}</font>
 
|}}
 
 
 
|-
 
{{#if:{{{greenstats|}}}
 
|{{!}} style="color:green;" colspan="2" title="Item uses and equip bonuses" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{durability|}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}{{{durability|durability (optional)}}}
 
|}}
 
 
 
|-
 
| style="color:yellow;" colspan="2" title="Base trading value" |Value: {{{value|(armor's value)}}}
 
|}{{#if:{{{example|}}}|<includeonly>
 
[[Category:Items with example stats]]</includeonly>
 
|}}<noinclude>
 
<br style="clear:both;"/>{{documentation}}</noinclude>
 

Latest revision as of 10:47, 18 October 2013