Difference between revisions of "Template:Armor material table"
Jump to navigation
Jump to search
m |
|||
(58 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:armorsharp|{{Q|{{ | + | <includeonly>==Material Table== |
− | {| {{STDT|sortable c_03 text-center}} | + | <div><li style="display: inline-table;"> |
+ | {{#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}} | ||
|- | |- | ||
! Material | ! Material | ||
− | ! 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 |
− | ! Market Value | + | ! data-sort-type="number" |Market Value |
|- | |- | ||
+ | {{#if: {{{ 2|}}} | | ||
+ | ! '''[[Wood]] {{#var:armorname}}''' | ||
+ | <td> {{ #expr: {{Q|Wood|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% </td> | ||
+ | <td> {{ #expr: {{Q|Wood|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% </td> | ||
+ | <td> {{ #expr: {{Q|Wood|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% </td> | ||
+ | <td> {{ #expr: {{Q|Wood|Max Hit Points Factor}}*{{#var:HP|}}}} </td> | ||
+ | <td> {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Wood}}}} </td> | ||
+ | <tr></tr> | ||
+ | |}} | ||
− | + | ! '''[[Silver]] {{#var:armorname}}''' | |
− | | {{ #expr: | + | | {{ #expr: {{Q|Silver|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Silver|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Silver|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Silver|Max Hit Points Factor}}*{{#var:HP|}}}} |
− | | {{ | + | | {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Silver}}}} |
|- | |- | ||
− | + | ! '''[[Gold]] {{#var:armorname}}''' | |
− | + | | {{ #expr: {{Q|Gold|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% | |
− | | {{ #expr: | + | | {{ #expr: {{Q|Gold|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Gold|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Gold|Max Hit Points Factor}}*{{#var:HP|}}}} |
− | | {{ #expr: | + | | {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Gold}}}} |
− | | {{ | ||
|- | |- | ||
− | + | ! '''[[Steel]] {{#var:armorname}}''' | |
− | | {{ #expr: | + | | {{ #expr: {{Q|Steel|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Steel|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Steel|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Steel|Max Hit Points Factor}}*{{#var:HP|}}}} |
− | | {{ | + | | {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Steel}}}} |
|- | |- | ||
− | + | ! '''[[Plasteel]] {{#var:armorname}}''' | |
− | | {{ #expr: | + | | {{ #expr: {{Q|Plasteel|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Plasteel|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Plasteel|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Plasteel|Max Hit Points Factor}}*{{#var:HP|}}}} |
− | | {{ | + | | {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Plasteel}}}} |
|- | |- | ||
− | + | ! '''[[Uranium]] {{#var:armorname}}''' | |
− | | {{ #expr: | + | | {{ #expr: {{Q|Uranium|Armor - Sharp Factor}}*{{#var:armorsharp|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Uranium|Armor - Blunt Factor}}*{{#var:armorblunt|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Uranium|Armor - Heat Factor}}*{{#var:armorheat|}}*100 round 1}}% |
− | | {{ #expr: | + | | {{ #expr: {{Q|Uranium|Max Hit Points Factor}}*{{#var:HP|}}}} |
− | | {{ | + | | {{Icon Small|silver||{{Market Value Calculator|{{#var:armorname}}|Uranium}}}} |
|- | |- | ||
|} | |} | ||
− | Assuming Normal quality, for the effect of other qualities, see [[Quality]]. | + | <sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup> |
+ | </li></div></includeonly> | ||
<noinclude> | <noinclude> | ||
− | + | {{documentation}} | |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 14:56, 21 August 2022
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[edit]
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[edit]
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[edit]
{{Armor material table | Plate armor}}
Produces:
Material Table
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Silver Plate armor | 52.6% | 26.3% | 26.3% | 203 | 1835 |
Gold Plate armor | 52.6% | 26.3% | 26.3% | 174 | 17125 |
Steel Plate armor | 65.7% | 32.9% | 43.8% | 290 | 460 |
Plasteel Plate armor | 83.2% | 40.2% | 47.5% | 812 | 1830 |
Uranium Plate armor | 78.8% | 39.4% | 47.5% | 725 | 1280 |
Assuming Normal quality, for the effect of other qualities, see Quality.
{{Armor material table | Plate armor | 1}}
Produces:
Material Table
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Wood Plate armor | 39.4% | 39.4% | 29.2% | 188.5 | 300 |
Silver Plate armor | 52.6% | 26.3% | 26.3% | 203 | 1835 |
Gold Plate armor | 52.6% | 26.3% | 26.3% | 174 | 17125 |
Steel Plate armor | 65.7% | 32.9% | 43.8% | 290 | 460 |
Plasteel Plate armor | 83.2% | 40.2% | 47.5% | 812 | 1830 |
Uranium Plate armor | 78.8% | 39.4% | 47.5% | 725 | 1280 |
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. |