Difference between revisions of "Template:Apparel Stats Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|-
 
|-
 
! Quality
 
! Quality
! Sharp
+
! data-sort-type=number | Sharp
! Blunt
+
! data-sort-type=number | Blunt
! Heat
+
! data-sort-type=number | Heat
! Item HP
+
! data-sort-type=number | Item HP
! Insulation - Cold
+
! data-sort-type=number | Insulation - Cold
! Insulation - Heat
+
! data-sort-type=number | Insulation - Heat
! Market Value
+
! data-sort-type=number | Market Value
 
|-
 
|-
  
Line 22: Line 22:
 
| -{{ #expr: 0.8*{{#var:insulationcold|}}}}°C
 
| -{{ #expr: 0.8*{{#var:insulationcold|}}}}°C
 
| +{{ #expr: 0.8*{{#var:insulationheat|}}}}°C
 
| +{{ #expr: 0.8*{{#var:insulationheat|}}}}°C
| {{icon|silver|{{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}}}}
+
| {{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}}{{icon|silver|}}
 
|-
 
|-
  
Line 33: Line 33:
 
| -{{ #expr: 0.9*{{#var:insulationcold|}}}}°C
 
| -{{ #expr: 0.9*{{#var:insulationcold|}}}}°C
 
| +{{ #expr: 0.9*{{#var:insulationheat|}}}}°C
 
| +{{ #expr: 0.9*{{#var:insulationheat|}}}}°C
| {{icon|silver|{{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}}}}
+
| {{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}}{{icon|silver|}}
 
|-
 
|-
  

Revision as of 04:30, 17 November 2020


Documentation icon Template documentation[view] [edit] [history] [purge]

Description

This template generates a table summarizing stats for a piece of apparel, including Sharp, Blunt and Heat armor, heat and cold insulation, HP, and Market Value, for each quality and for the variety of different materials available for it .

If the item is stuffable and has the correct Resource X/Resource X Amount parameters in addition to the Stuff Tags, and Resource 1 must be set to "Stuff", the template will automatically detect the material types applicable to the item using the Stuff Tags variable in the infobox and display them.

Note that it will automatically add the appropriate heading.

This template is dependent on Template:Apparel Stats Table/Row.

This template supersedes and merges with Template: Apparel Material Table, and the Template:Clothing material table and Template:Armor material table that came before it, but they will be maintained at least until replacement is complete. Lifespan may be extended to ensure Page History integrity.

Parameters

The first parameter (if present) will specify which piece of apparel to generate the template for. If absent, {{PAGENAME}} will be used.

Example usage

{{Apparel Stats Table | War mask}}

Produces:

Quality Table

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

For the full effects of qualities, see Quality.



Quality Table

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

For the full effects of qualities, see Quality.



Quality Table

Quality Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
Awful Marine armor 63.6% 27% 32.4% 340 -25.6°C +7.2°C 1015 Silver
Poor Marine armor 84.8% 36% 43.2% 340 -28.8°C +8.1°C 765 Silver
Normal Marine armor 106% 45% 54% 340 -32°C +9°C Silver 765
Good Marine armor 121.9% 51.75% 62.1% 340 -35.2°C +9.9°C Silver 955
Excellent Marine armor 137.8% 58.5% 70.2% 340 -38.4°C +10.8°C Silver 1430
Masterwork Marine armor 153.7% 65.25% 78.3% 340 -48°C +13.5°C Silver 3430
Legendary Marine armor 190.8% 81% 97.2% 340 -57.6°C +16.2°C Silver 6430

For the full effects of qualities, see Quality.