Difference between revisions of "Template:Armor"

From DoomRL Wiki

Jump to: navigation, search
(Added a new resistances table row)
 
(14 intermediate revisions by one user not shown)
Line 1: Line 1:
{| style="border: 2px solid darkred; border-spacing: 0; float: left; font-size: 90%; margin: 0.25em 0.5em; width: 70%"
+
{| class="{{#ifeq:{{{collapsible|}}}|yes|collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}} infobox vevent" style="border: 2px solid darkred; border-spacing: 0; float: left; font-size: 90%; margin: 0.25em 0.5em; width: 70%;" cellspacing="0" cellpadding="1"
|colspan=2 style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''{{{armor_name}}}'''
+
|-
|-
+
<includeonly>! colspan=2 style="background: darkred; color: yellow; font-size: 120%; text-align:center;" class="summary" | <span style="font-size:111%;">''{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}''</span></includeonly>
|style="text-align: right; width: 12em; vertical-align:top"|'''Protection:'''
+
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%; font-weight:normal; background:none; margin: 6px 0 0 0" cellspacing="0" cellpadding="0">|{{!}}-}}
|style="padding-left: 1ex"|{{{armor_prot}}}
+
{{#if:{{{image|}}}|
|- style="background: #333;"
+
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image|}}}<br />{{#if:{{{caption|}}}|<span style="font-size:95%;">{{{caption}}}</span>}}
|style="text-align: right; width: 12em; vertical-align:top"|'''Resistances:'''
+
}}
|style="padding-left: 1ex"|{{{armor_resists|unknown}}}
+
{{#ifeq:{{{show image|}}}|yes|</table>}}
|-
+
{{Alternating rows table section
|style="text-align: right; width: 12em; vertical-align:top"|'''Durability:'''
+
  |es=background:#333;
|style="padding-left: 1ex"|{{{armor_health}}}
+
  |{{#if:{{{armor_prot|}}}|      {{!}} style="text-align: right; width: 12em;" {{!}} '''Protection'''         {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_prot|}}} }}
|- style="background: #333;"
+
  |{{#if:{{{armor_resists|}}}|    {{!}} style="text-align: right; width: 12em;" {{!}} '''Resistances'''       {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_resists|}}} }}
|style="text-align: right; width: 12em; vertical-align:top"|'''Move Speed:'''
+
  |{{#if:{{{armor_health|}}}|    {{!}} style="text-align: right; width: 12em;" {{!}} '''Durability'''         {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_health|}}} }}
|style="padding-left: 1ex"|{{{armor_move}}}
+
  |{{#if:{{{armor_move|}}}|      {{!}} style="text-align: right; width: 12em;" {{!}} '''Move Speed'''         {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_move|}}} }}
|-
+
  |{{#if:{{{armor_knockback|}}}|  {{!}} style="text-align: right; width: 12em;" {{!}} '''Knockback'''         {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_knockback|}}} }}
|style="text-align: right; width: 12em; vertical-align:top"|'''Knockback:'''
+
  |{{#if:{{{armor_get|}}}|        {{!}} style="text-align: right; width: 12em;" {{!}} '''How to get it'''     {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_get|}}} }}
|style="padding-left: 1ex"|{{{armor_knockback}}}
+
  |{{#if:{{{armor_looks|}}}|      {{!}} style="text-align: right; width: 12em;" {{!}} '''Appearance'''         {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_looks|}}} }}
|- style="background: #333;"
+
  |{{#if:{{{armor_description|}}}|{{!}} style="text-align: right; width: 12em;" {{!}} '''Ingame Description''' {{!!}} style="padding-left: 1ex;" {{!}} {{{armor_description|}}} }}
|style="text-align: right; width: 12em; vertical-align:top"|'''How to get it:'''
+
  |{{#if:{{{armor_other|}}}|      {{!}} colspan="2"  style="text-align: center;" {{!}} '''Comments''' }}
|style="padding-left: 1ex"|{{{armor_get}}}
+
  |{{#if:{{{armor_other|}}}|      {{!}} colspan="2"  style="padding-left: 1ex; text-align:justify;" {{!}} {{{armor_other|}}} }}
|-
+
}}
|style="text-align: right; width: 12em; vertical-align:top"|'''Appearance:'''
+
|style="padding-left: 1ex"|{{{armor_looks}}}
+
|- style="background: #333;"
+
|style="text-align: right; width: 12em; vertical-align:top"|'''Ingame Description:'''
+
|style="padding-left: 1ex"|{{{armor_description}}}
+
|-
+
|style="text-align: right; width: 12em; vertical-align:top"|'''Comments/special:'''
+
|style="padding-left: 1ex"|{{{armor_other}}}
+
 
|}
 
|}

Latest revision as of 14:20, 10 September 2011

Personal tools