Template:Apparel Material Table

From RimWorld Wiki
Revision as of 07:02, 6 January 2021 by Harakoni (talk | contribs) (Created page with "<noinclude> {{documentation}} Category: Templates </noinclude>==Material Table== {{#vardefine:name | {{{ 1 | {{PAGENAME}} }}} }} {{#vardefine:armorsharp|{{formatnum:{{Q|{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 the variety of different materials available for it.

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

Note that it will automatically add the appropriate heading.

This template is dependent on Template:Apparel Material Table Row.

This template supersedes and merges Template:Clothing material table and Template:Armor material table, 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 Material Table}}

on the Plate armor page would produce:

Material Table

  • Material Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
    Bearskin Plate armor 81.76% 17.52% 109.5% 377 -20 °C (-36 °F) +0 °C (0 °F) 715 Silver


    Assuming Normal quality, for the effect of other qualities, see Quality.

  • {{Apparel Material Table | Duster}}
    

    on any page would produce:

    Material Table

  • Material Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
    Bearskin Duster 33.6% 7.2% 45% 260 -12 °C (-21.6 °F) +17 °C (30.6 °F) 310 Silver


    Assuming Normal quality, for the effect of other qualities, see Quality.

  • Material Table

  • Material Sharp Blunt Heat Item HP Insulation - Cold Insulation - Heat Market Value
    Bearskin Duster 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 *. °F) +Expression error: Missing operand for *. °C (Expression error: Missing operand for *. °F) 310 Silver


    Assuming Normal quality, for the effect of other qualities, see Quality.