Difference between revisions of "Template:Apparel Stats Table"

From RimWorld Wiki
Jump to navigation Jump to search
(Replaced content with " {{icon|silver|{{ #expr: 2.5*{{#var:value|}}}}}}")
Tag: Replaced
Line 1: Line 1:
==Quality Table==
+
{{icon|silver|{{ #expr: 2.5*{{#var:value|}}}}}}
<div class="mw-collapsible mw-collapsed" style="width:800px;overflow:auto">
 
<div class="mw-collapsible-content">
 
{{#vardefine:armorsharp|      {{Q|{{PAGENAME}}|Armor - Sharp}}}}
 
{{#vardefine:armorblunt|      {{Q|{{PAGENAME}}|Armor - Blunt}}}}
 
{{#vardefine:armorheat|        {{Q|{{PAGENAME}}|Armor - Sharp}}}}
 
{{#vardefine:HP|              {{Q|{{PAGENAME}}|Max Hit Points Base}}}}
 
{{#vardefine:insulationheat|  {{Q|{{PAGENAME}}|Insulation - Heat Base}}}}
 
{{#vardefine:insulationcold|  {{Q|{{PAGENAME}}|Insulation - Cold Base}}}}
 
{{#vardefine:value|            {{Q|{{PAGENAME}}|Market Value Base}}}}
 
{| {{STDT|sortable c_03 text-center}}
 
|-
 
! Quality
 
! Sharp
 
! Blunt
 
! Heat
 
! Item HP
 
! Insulation - Cold
 
! Insulation - Heat
 
! Market Value
 
|-
 
 
 
 
 
! '''Awful'''
 
| {{ #expr: 0.6*{{#var:armorsharp|}}}}%
 
| {{ #expr: 0.6*{{#var:armorblunt|}}}}%
 
| {{ #expr: 0.6*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 0.8*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 0.8*{{#var:insulationheat|}}}}&deg;C
 
| {{ #expr: {{#var:value|}}*0.5 }}
 
|-
 
 
 
 
 
! '''Poor'''
 
| {{ #expr: 0.8*{{#var:armorsharp|}}}}%
 
| {{ #expr: 0.8*{{#var:armorblunt|}}}}%
 
| {{ #expr: 0.8*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 0.9*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 0.9*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 0.75*{{#var:value|}}}}}}
 
|-
 
 
 
! '''Normal'''
 
| {{ #expr: 1.0*{{#var:armorsharp|}}}}%
 
| {{ #expr: 1.0*{{#var:armorblunt|}}}}%
 
| {{ #expr: 1.0*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.0*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.0*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 1.0*{{#var:value|}}}}}}
 
|-
 
 
 
! '''Good'''
 
| {{ #expr: 1.15*{{#var:armorsharp|}}}}%
 
| {{ #expr: 1.15*{{#var:armorblunt|}}}}%
 
| {{ #expr: 1.15*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.1*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.1*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 1.25*{{#var:value|}}}}}}
 
|-
 
 
 
! '''Excellent'''
 
| {{ #expr: 1.3*{{#var:armorsharp|}}}}%
 
| {{ #expr: 1.3*{{#var:armorblunt|}}}}%
 
| {{ #expr: 1.3*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.2*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.2*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 1.5*{{#var:value|}}}}}}
 
|-
 
 
 
! '''Masterwork'''
 
| {{ #expr: 1.45*{{#var:armorsharp|}}}}%
 
| {{ #expr: 1.45*{{#var:armorblunt|}}}}%
 
| {{ #expr: 1.45*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.5*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.5*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 2.5*{{#var:value|}}}}}}
 
|-
 
 
 
! '''Legendary'''
 
| {{ #expr: 1.8*{{#var:armorsharp|}}}}%
 
| {{ #expr: 1.8*{{#var:armorblunt|}}}}%
 
| {{ #expr: 1.8*{{#var:armorheat|}}}}%
 
| {{ #expr: 1*{{#var:HP|}}}}
 
| -{{ #expr: 1.8*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.8*{{#var:insulationheat|}}}}&deg;C
 
| {{icon|silver|{{ #expr: 5*{{#var:value|}}}}}}
 
|-
 
|}
 
</div>
 
<noinclude>
 
Does not currently support apparel with different materials.
 
</noinclude>
 

Revision as of 09:52, 15 March 2020

 Silver Expression error: Missing operand for *.