Difference between revisions of "Template:Infobox armor"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 10: Line 10:
  
 
|- <!-- color of item name is quality-dependent -->
 
|- <!-- 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:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" title="{{#switch: {{{itemquality}}} | low = Item quality: Low | normal = Item quality: Normal | high = Item quality: High | rarity = Item quality: Rarity | artifact = Item quality: Artifact | No quality specified }}" |{{{name|(armor's name)}}}
  
 
|-
 
|-
Line 23: Line 23:
  
 
|-
 
|-
{{#if:{{{encumbrance|}}}
+
{{#if:<noinclude>string</noinclude>{{{encumbrance|}}}
|{{!}} style="color:white;" colspan="2" title="Encumbrance reduces movement points" {{!}}Encumbrance: <font color="red">{{{encumbrance|armor's encumbrance}}}</font>
+
|{{!}} style="color:white;" colspan="2" title="Encumbrance reduces movement points, dodge, evasion and stealth" {{!}}Encumbrance: <font color="red">{{{encumbrance|armor's encumbrance}}}</font>
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{greenstats|}}}
+
{{#if:<noinclude>string</noinclude>{{{greenstats|}}}
 
|{{!}} style="color:green;" colspan="2" title="Item uses and equip bonuses" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|{{!}} style="color:green;" colspan="2" title="Item uses and equip bonuses" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{durability|}}}
+
{{#if:<noinclude>string</noinclude>{{{durability|}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|durability (optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|durability (optional)}}}
 
|}}
 
|}}

Revision as of 17:25, 10 August 2013

Misc icon.png
(armor's name)
(armor's type)
(armor's description)
Resistances:

multiple lines, each intended with ":"

Encumbrance: armor's encumbrance
uses and other green stats (optional)
Durability: durability (optional)
Value: (armor's value)


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_armor/doc to view this documentation. (edit) (How does this work?)

Template:Infobox armor/doc