Difference between revisions of "Template:Armor material table"

From RimWorld Wiki
Jump to navigation Jump to search
(Attemping updates demo'd by FixSomeBugs that I should probably have implemented the first time but didn't think to do)
(If someone could explain how to prevent the newlines being added by the vardefs showing up when transcluding, that would be appreciated. In the meantime...)
Line 1: Line 1:
<includeonly>{{#vardefine:armorname | {{{ 1 | {{PAGENAME}} }}} }}
+
<includeonly>{{#vardefine:armorname | {{{ 1 | {{PAGENAME}} }}} }}{{#vardefine:armorsharp| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:armorblunt| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Blunt}}|R}}}}{{#vardefine:armorheat| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:HP| {{formatnum:{{Q|{{#var:armorname}}|Max Hit Points Base}}|R}}}}{{#vardefine:value| {{formatnum:{{Q|{{#var:armorname}}|Market Value Base}}|R}}}}{| {{STDT|sortable c_03 text-center}}
{{#vardefine:armorsharp| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}
 
{{#vardefine:armorblunt| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Blunt}}|R}}}}
 
{{#vardefine:armorheat| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}
 
{{#vardefine:HP| {{formatnum:{{Q|{{#var:armorname}}|Max Hit Points Base}}|R}}}}
 
{{#vardefine:value| {{formatnum:{{Q|{{#var:armorname}}|Market Value Base}}|R}}}}
 
{| {{STDT|sortable c_03 text-center}}
 
 
|-
 
|-
 
! Material
 
! Material

Revision as of 13:44, 27 April 2020