Difference between revisions of "Template:Apparel Protection Chart/Quality Generator"
Jump to navigation
Jump to search
(Eh abandoned original idea.) |
|||
Line 7: | Line 7: | ||
| set6name = Masterwork {{{1|}}} ({{{2|}}}) | set6armor1 = {{#ifexpr: {{#vardefineecho: tempArmor|{{#expr:1.45 * {{#var: baseArmor}} }}}} > 200|200|{{#var:tempArmor}}}} | | set6name = Masterwork {{{1|}}} ({{{2|}}}) | set6armor1 = {{#ifexpr: {{#vardefineecho: tempArmor|{{#expr:1.45 * {{#var: baseArmor}} }}}} > 200|200|{{#var:tempArmor}}}} | ||
| set7name = Legendary {{{1|}}} ({{{2|}}}) | set7armor1 = {{#ifexpr: {{#vardefineecho: tempArmor|{{#expr:1.80 * {{#var: baseArmor}} }}}} > 200|200|{{#var:tempArmor}}}} | | set7name = Legendary {{{1|}}} ({{{2|}}}) | set7armor1 = {{#ifexpr: {{#vardefineecho: tempArmor|{{#expr:1.80 * {{#var: baseArmor}} }}}} > 200|200|{{#var:tempArmor}}}} | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{Documentation wanted}}{{Documentation}} |
{{Apparel Protection Chart/Quality Generator|Recon helmet|Blunt}} | {{Apparel Protection Chart/Quality Generator|Recon helmet|Blunt}} | ||
{{Apparel Protection Chart/Quality Generator|Flak vest|Blunt}} | {{Apparel Protection Chart/Quality Generator|Flak vest|Blunt}} | ||
</noinclude> | </noinclude> |
Revision as of 02:41, 19 July 2022
This page has been marked as needing documentation of its function and purpose. You can help RimWorld Wiki by creating it here |
Used to instead to automatically display each quality of the armor for a given damage class using the Template:Apparel Protection Chart as the base.
Parameters
The first parameter is used to define the item to create the chart for. If no name is selected, it will default to PAGENAME.
The first parameter is used to define the armor type to create the chart for. If no name is selected, it will default to Sharp.
Examples
{{Apparel Protection Chart/Quality Generator|Flak vest|Blunt}}
{{Apparel Protection Chart/Quality Generator|Recon helmet}}
The above documentation is transcluded from Template:Apparel Protection Chart/Quality Generator/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |