Difference between revisions of "Template:Infobox Armour"

From Underdone Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}}{{{image|}}}<br />{{#if:{{{description|}}}|{{{description}}}}}
+
{{!}} colspan="2" style="text-align: center;" {{!}}{{{image|}}}<br />{{#if:{{{caption|}}}|{{{caption}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{Alternating rows table section
 
{{Alternating rows table section
 
|es=background:#F0F0F0;
 
|es=background:#F0F0F0;
 +
|{{#if:{{{description|}}}| {{!}} '''Weight''' {{!!}} {{{description|}}} }}
 
|{{#if:{{{weight|}}}| {{!}} '''Weight''' {{!!}} {{{weight|}}} }}
 
|{{#if:{{{weight|}}}| {{!}} '''Weight''' {{!!}} {{{weight|}}} }}
 
|{{#if:{{{stackable|}}}| {{!}} '''Stackable''' {{!!}} {{{stackable|}}} }}
 
|{{#if:{{{stackable|}}}| {{!}} '''Stackable''' {{!!}} {{{stackable|}}} }}
Line 14: Line 15:
 
|{{#if:{{{maxhealth|}}}| {{!}} '''Max Health''' {{!!}} {{{maxhealth|}}} }}
 
|{{#if:{{{maxhealth|}}}| {{!}} '''Max Health''' {{!!}} {{{maxhealth|}}} }}
 
|{{#if:{{{strength|}}}| {{!}} '''Strength''' {{!!}} {{{strength|}}} }}
 
|{{#if:{{{strength|}}}| {{!}} '''Strength''' {{!!}} {{{strength|}}} }}
|{{#if:{{{dexterity|}}}|{{!}} '''dexterity''' {{!!}} {{{dexterity|}}} }}
+
|{{#if:{{{dexterity|}}}|{{!}} '''Dexterity''' {{!!}} {{{dexterity|}}} }}
|{{#if:{{{intellect|}}}| {{!}} '''intellect''' {{!!}} {{{intellect|}}} }}
+
|{{#if:{{{intellect|}}}| {{!}} '''Intellect''' {{!!}} {{{intellect|}}} }}
|{{#if:{{{agility|}}}| {{!}} '''agility''' {{!!}} {{{agility|}}} }}
+
|{{#if:{{{agility|}}}| {{!}} '''Agility''' {{!!}} {{{agility|}}} }}
|{{#if:{{{luck|}}}| {{!}} '''luck''' {{!!}} {{{luck|}}} }}
+
|{{#if:{{{luck|}}}| {{!}} '''Luck''' {{!!}} {{{luck|}}} }}
 
}}
 
}}
 
|}
 
|}

Revision as of 02:33, 30 March 2016

Infobox Armour

Usage

{{Armour Info
|image          = 
|description    = 
|weight         = 
|stackable      = 
|levelreq       = 
|armour         = 
|maxhealth      = 
|strength       = 
|dexterity      = 
|intellect      = 
|agility        = 
|luck           = 
}}