Difference between revisions of "Template:Armor material table"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:armorname | {{{ 1 | {{PAGENAME}} }}} }}{{#vardefine:armorsharp| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:armorblunt| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Blunt}}|R}}}}{{#vardefine:armorheat| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:HP| {{formatnum:{{Q|{{#var:armorname}}|Max Hit Points Base}}|R}}}}{{#vardefine:value| {{formatnum:{{Q|{{#var:armorname}}|Market Value Base}}|R}}}}{{#vardefine:work| {{formatnum:{{Q|{{#var:armorname}}|Work To Make}}|R}}}}{| {{STDT|sortable c_03 text-center}} | + | <includeonly>{{#vardefine:armorname | {{{ 1 | {{PAGENAME}} }}} }}{{#vardefine:armorsharp| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:armorblunt| {{formatnum: |
+ | <div style="float: left;">{{Q|{{#var:armorname}}|Armor Factor - Blunt}}|R}}}}{{#vardefine:armorheat| {{formatnum:{{Q|{{#var:armorname}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:HP| {{formatnum:{{Q|{{#var:armorname}}|Max Hit Points Base}}|R}}}}{{#vardefine:value| {{formatnum:{{Q|{{#var:armorname}}|Market Value Base}}|R}}}}{{#vardefine:work| {{formatnum:{{Q|{{#var:armorname}}|Work To Make}}|R}}}}{| {{STDT|sortable c_03 text-center}} | ||
|- | |- | ||
! Material | ! Material | ||
Line 56: | Line 57: | ||
| {{icon|silver|{{Market Value | {{ #expr: ({{Q|Uranium|Market Value Base}}*1*(({{#var:value|}} - ({{#var:work|}}*0.0036))/{{Q|Steel|Market Value Base}}))+({{#var:work|}}*0.0036*1.9) }}}}}} | | {{icon|silver|{{Market Value | {{ #expr: ({{Q|Uranium|Market Value Base}}*1*(({{#var:value|}} - ({{#var:work|}}*0.0036))/{{Q|Steel|Market Value Base}}))+({{#var:work|}}*0.0036*1.9) }}}}}} | ||
|- | |- | ||
− | |} | + | |}</div> |
<sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup></includeonly> | <sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup></includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 03:09, 5 September 2020
Template:Armor material table has been deprecated or removed from the wiki; it is no longer updated or in use. Reason: It has been replaced by Template:Apparel Material Table |
Description
This template generates a table summarizing stats for an article of armor, including Sharp, Blunt and Heat armor, HP, and Market Value, for the variety of different materials available for it.
Parameters
The first parameter (if present) will specify which article of armor to generate the template for.
If absent, {{PAGENAME}}
will be used.
The second parameter indicates if Wood should be included in the materials list. If absent, it will assume not.
Example usage
{{Armor material table | Plate armor}}
Produces:
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Silver Plate armor | 52.6% | Expression error: Unexpected < operator.% | 26.3% | 203 | -583.2 |
Gold Plate armor | 52.6% | Expression error: Unexpected < operator.% | 26.3% | 174 | -37771.62 |
Steel Plate armor | 65.7% | Expression error: Unexpected < operator.% | 43.8% | 290 | -37771.62 |
Plasteel Plate armor | 83.2% | Expression error: Unexpected < operator.% | 47.5% | 812 | -179429.39 |
Uranium Plate armor | 78.8% | Expression error: Unexpected < operator.% | 47.5% | 725 | -566791.19 |
Assuming Normal quality, for the effect of other qualities, see Quality.
{{Armor material table | Plate armor | 1}}
Produces:
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Wood Plate armor | 39.4% | Expression error: Unexpected < operator.% | 29.2% | 188.5 | 9.36 |
Silver Plate armor | 52.6% | Expression error: Unexpected < operator.% | 26.3% | 203 | -533.94 |
Gold Plate armor | 52.6% | Expression error: Unexpected < operator.% | 26.3% | 174 | -35178.82 |
Steel Plate armor | 65.7% | Expression error: Unexpected < operator.% | 43.8% | 290 | -35178.82 |
Plasteel Plate armor | 83.2% | Expression error: Unexpected < operator.% | 47.5% | 812 | -167147.71 |
Uranium Plate armor | 78.8% | Expression error: Unexpected < operator.% | 47.5% | 725 | -528006.96 |
Assuming Normal quality, for the effect of other qualities, see Quality.
The above documentation is transcluded from Template:Armor material table/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. |