Difference between revisions of "Template:Apparel Stats Table"

From RimWorld Wiki
Jump to navigation Jump to search
(Undo revision 69227 by Goredell (talk))
Tag: Undo
(Try adding the market value info... also this template could really use some cleanup and docs)
Line 1: Line 1:
==Quality Table==
+
<==Quality Table==
 
{{#vardefine:armorsharp|      {{formatnum:{{Q|{{PAGENAME}}|Armor - Sharp}}|R}}}}{{#vardefine:armorblunt|      {{formatnum:{{Q|{{PAGENAME}}|Armor - Blunt}}|R}}}}{{#vardefine:armorheat|        {{formatnum:{{Q|{{PAGENAME}}|Armor - Heat}}|R}}}}{{#vardefine:HP|              {{formatnum:{{Q|{{PAGENAME}}|Max Hit Points Base}}|R}}}}{{#vardefine:insulationheat|  {{formatnum:{{Q|{{PAGENAME}}|Insulation - Heat Base}}|R}}}}{{#vardefine:insulationcold|  {{formatnum:{{Q|{{PAGENAME}}|Insulation - Cold Base}}|R}}}}{{#vardefine:value|            {{formatnum:{{Q|{{PAGENAME}}|Market Value Base}}|R}}}}{| {{STDT|sortable c_03 text-center}}
 
{{#vardefine:armorsharp|      {{formatnum:{{Q|{{PAGENAME}}|Armor - Sharp}}|R}}}}{{#vardefine:armorblunt|      {{formatnum:{{Q|{{PAGENAME}}|Armor - Blunt}}|R}}}}{{#vardefine:armorheat|        {{formatnum:{{Q|{{PAGENAME}}|Armor - Heat}}|R}}}}{{#vardefine:HP|              {{formatnum:{{Q|{{PAGENAME}}|Max Hit Points Base}}|R}}}}{{#vardefine:insulationheat|  {{formatnum:{{Q|{{PAGENAME}}|Insulation - Heat Base}}|R}}}}{{#vardefine:insulationcold|  {{formatnum:{{Q|{{PAGENAME}}|Insulation - Cold Base}}|R}}}}{{#vardefine:value|            {{formatnum:{{Q|{{PAGENAME}}|Market Value Base}}|R}}}}{| {{STDT|sortable c_03 text-center}}
 
|-
 
|-
Line 20: Line 20:
 
| -{{ #expr: 0.8*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 0.8*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 0.8*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 0.8*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver|{{ #expr: 0.5*{{#var:value|}}}}}}
+
| {{icon|silver|{{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 31: Line 31:
 
| -{{ #expr: 0.9*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 0.9*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 0.9*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 0.9*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver|{{ #expr: 0.75*{{#var:value|}}}}}}
+
| {{icon|silver|{{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 41: Line 41:
 
| -{{ #expr: 1.0*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.0*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.0*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 1.0*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver|{{ #expr: 1.0*{{#var:value|}}}}}}
+
| {{icon|silver|{{Market Value | {{ #expr: 1.0*{{#var:value|}}}}}}}}
 
|-
 
|-
  
Line 51: Line 51:
 
| -{{ #expr: 1.1*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.1*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.1*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 1.1*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver| {{#ifexpr: {{ #expr: 1.25*{{#var:value|}}}} < {{ #expr: 500+{{#var:value|}}}} | {{ #expr: 1.25*{{#var:value|}}}} | {{ #expr: 500+{{#var:value|}}}}}}  }}
+
| {{icon|silver| {{Market Value | {{#ifexpr: {{ #expr: 1.25*{{#var:value|}}}} < {{ #expr: 500+{{#var:value|}}}} | {{ #expr: 1.25*{{#var:value|}}}} | {{ #expr: 500+{{#var:value|}}}}}}  }}}}
 
|-
 
|-
  
Line 61: Line 61:
 
| -{{ #expr: 1.2*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.2*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.2*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 1.2*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver| {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}
+
| {{icon|silver| {{Market Value | {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}}  }}}}
 
|-
 
|-
  
Line 71: Line 71:
 
| -{{ #expr: 1.5*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.5*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.5*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 1.5*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver| {{#ifexpr: {{ #expr: 2.5*{{#var:value|}}}} < {{ #expr: 2000+{{#var:value|}}}} | {{ #expr: 2.5*{{#var:value|}}}} | {{ #expr: 2000+{{#var:value|}}}}}}  }}
+
| {{icon|silver| {{Market Value | {{#ifexpr: {{ #expr: 2.5*{{#var:value|}}}} < {{ #expr: 2000+{{#var:value|}}}} | {{ #expr: 2.5*{{#var:value|}}}} | {{ #expr: 2000+{{#var:value|}}}}}}  }}}}
 
|-
 
|-
  
Line 81: Line 81:
 
| -{{ #expr: 1.8*{{#var:insulationcold|}}}}&deg;C
 
| -{{ #expr: 1.8*{{#var:insulationcold|}}}}&deg;C
 
| +{{ #expr: 1.8*{{#var:insulationheat|}}}}&deg;C
 
| +{{ #expr: 1.8*{{#var:insulationheat|}}}}&deg;C
| {{icon|silver| {{#ifexpr: {{ #expr: 5*{{#var:value|}}}} < {{ #expr: 3000+{{#var:value|}}}} | {{ #expr: 5*{{#var:value|}}}} | {{ #expr: 3000+{{#var:value|}}}}}}  }}
+
| {{icon|silver| {{Market Value | {{#ifexpr: {{ #expr: 5*{{#var:value|}}}} < {{ #expr: 3000+{{#var:value|}}}} | {{ #expr: 5*{{#var:value|}}}} | {{ #expr: 3000+{{#var:value|}}}}}}  }}}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
 
Does not currently support apparel with different materials.
 
Does not currently support apparel with different materials.
 
</noinclude>
 
</noinclude>

Revision as of 22:49, 26 April 2020

<==Quality Table==

Quality Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
Awful Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Poor Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Normal Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Good Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Excellent Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Masterwork Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.
Legendary Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Unexpected < operator.% Expression error: Missing operand for *. -Expression error: Missing operand for *.°C +Expression error: Missing operand for *.°C Silver Expression error: Unexpected < operator.

Does not currently support apparel with different materials.