Difference between revisions of "Template:Armor material table"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
| {{ #expr: 0.36*{{#var:armorblunt|}}*100}}% | | {{ #expr: 0.36*{{#var:armorblunt|}}*100}}% | ||
| {{ #expr: 0.36*{{#var:armorheat|}}*100}}% | | {{ #expr: 0.36*{{#var:armorheat|}}*100}}% | ||
− | | {{ #expr: 0.7* | + | | {{ #expr: 0.7*{{#var:HP|}}}} |
− | | {{icon|silver|{{ #expr: 1* | + | | {{icon|silver|{{ #expr: 1*{{#var:value|}}}}}} |
|- | |- | ||
Line 21: | Line 21: | ||
| {{ #expr: 0.36*{{#var:armorblunt|}}*100}}% | | {{ #expr: 0.36*{{#var:armorblunt|}}*100}}% | ||
| {{ #expr: 0.36*{{#var:armorheat|}}*100}}% | | {{ #expr: 0.36*{{#var:armorheat|}}*100}}% | ||
− | | {{ #expr: 0.6* | + | | {{ #expr: 0.6*{{#var:HP|}}}} |
− | | {{icon|silver|{{ #expr: 10* | + | | {{icon|silver|{{ #expr: 10*{{#var:value|}}}}}} |
|- | |- | ||
Line 29: | Line 29: | ||
| {{ #expr: 0.45*{{#var:armorblunt|}}*100}}% | | {{ #expr: 0.45*{{#var:armorblunt|}}*100}}% | ||
| {{ #expr: 0.72*{{#var:armorheat|}}*100}}% | | {{ #expr: 0.72*{{#var:armorheat|}}*100}}% | ||
− | | {{ #expr: 1* | + | | {{ #expr: 1*{{#var:HP|}}}} |
− | | {{icon|silver|{{ #expr: 1.9* | + | | {{icon|silver|{{ #expr: 1.9*{{#var:value|}}}}}} |
|- | |- | ||
Line 37: | Line 37: | ||
| {{ #expr: 0.63*{{#var:armorblunt|}}*100}}% | | {{ #expr: 0.63*{{#var:armorblunt|}}*100}}% | ||
| {{ #expr: 1.08*{{#var:armorheat|}}*100}}% | | {{ #expr: 1.08*{{#var:armorheat|}}*100}}% | ||
− | | {{ #expr: 2.8* | + | | {{ #expr: 2.8*{{#var:HP|}}}} |
− | | {{icon|silver|{{ #expr: 9* | + | | {{icon|silver|{{ #expr: 9*{{#var:value|}}}}}} |
|- | |- | ||
Line 45: | Line 45: | ||
| {{ #expr: 0.54*{{#var:armorblunt|}}*100}}% | | {{ #expr: 0.54*{{#var:armorblunt|}}*100}}% | ||
| {{ #expr: 0.90*{{#var:armorheat|}}*100}}% | | {{ #expr: 0.90*{{#var:armorheat|}}*100}}% | ||
− | | {{ #expr: 2.5* | + | | {{ #expr: 2.5*{{#var:HP|}}}} |
− | | {{icon|silver|{{ #expr: 6* | + | | {{icon|silver|{{ #expr: 6*{{#var:value|}}}}}} |
|- | |- | ||
|} | |} | ||
Assuming Normal quality, for the effect of other qualities, see [[Quality]]. | Assuming Normal quality, for the effect of other qualities, see [[Quality]]. | ||
+ | |||
+ | |||
+ | <noinclude> | ||
+ | <nowiki> | ||
+ | To use; first define scalar values then place template. | ||
+ | |||
+ | Example values are for [[Plate armor]] | ||
+ | |||
+ | {{#vardefine:armorsharp|0.73}} | ||
+ | {{#vardefine:armorblunt|0.73}} | ||
+ | {{#vardefine:armorheat|0.73}} | ||
+ | {{#vardefine:HP|290}} | ||
+ | {{#vardefine:value|535}} | ||
+ | {{Armor material table}} | ||
+ | |||
+ | </nowiki> | ||
+ | |||
+ | {{#vardefine:armorsharp|0.73}} | ||
+ | {{#vardefine:armorblunt|0.73}} | ||
+ | {{#vardefine:armorheat|0.73}} | ||
+ | {{#vardefine:HP|290}} | ||
+ | {{#vardefine:value|535}} | ||
+ | {{Armor material table}} | ||
+ | |||
+ | There is a way to pull this data straight from the infobox and not require the initial definitions, but it is not currently supported by this template. | ||
+ | </noinclude> |
Revision as of 03:33, 12 March 2020
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Silver | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Missing operand for *. | Expression error: Missing operand for *. |
Gold | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Missing operand for *. | Expression error: Missing operand for *. |
Steel | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Missing operand for *. | Expression error: Missing operand for *. |
Plasteel | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Missing operand for *. | Expression error: Missing operand for *. |
Uranium | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Unexpected * operator.% | Expression error: Missing operand for *. | Expression error: Missing operand for *. |
Assuming Normal quality, for the effect of other qualities, see Quality.
To use; first define scalar values then place template. Example values are for [[Plate armor]] {{#vardefine:armorsharp|0.73}} {{#vardefine:armorblunt|0.73}} {{#vardefine:armorheat|0.73}} {{#vardefine:HP|290}} {{#vardefine:value|535}} {{Armor material table}}
Material | Sharp | Blunt | Heat | Item HP | Market Value |
---|---|---|---|---|---|
Silver | 52.56% | 26.28% | 26.28% | 203 | 535 |
Gold | 52.56% | 26.28% | 26.28% | 174 | 5350 |
Steel | 65.7% | 32.85% | 52.56% | 290 | 1016.5 |
Plasteel | 91.98% | 45.99% | 78.84% | 812 | 4815 |
Uranium | 78.84% | 39.42% | 65.7% | 725 | 3210 |
Assuming Normal quality, for the effect of other qualities, see Quality.
There is a way to pull this data straight from the infobox and not require the initial definitions, but it is not currently supported by this template.