Difference between revisions of "Template:Apparel Material Table"
Line 18: | Line 18: | ||
|- | |- | ||
<!---#pos returns 0 if its at the first place in the string, thus an {{#if:{{#pos:{{#var:stufftags}}|Leathery|}} fails to detect leathery if its the first vs a null response. This just tests that it doesn't return nothing essentially. ---> | <!---#pos returns 0 if its at the first place in the string, thus an {{#if:{{#pos:{{#var:stufftags}}|Leathery|}} fails to detect leathery if its the first vs a null response. This just tests that it doesn't return nothing essentially. ---> | ||
− | |||
{{#ifeq: | {{#pos:{{#var:stufftags}}|Leathery|}}|| | {{#ifeq: | {{#pos:{{#var:stufftags}}|Leathery|}}|| | ||
{{Apparel Material Table Row |Bearskin}} | {{Apparel Material Table Row |Bearskin}} | ||
Line 41: | Line 40: | ||
{{Apparel Material Table Row |Wolfskin}} | {{Apparel Material Table Row |Wolfskin}} | ||
}} | }} | ||
+ | |- | ||
{{#ifeq: | {{#pos:{{#var:stufftags}}|Fabric|}}|| | {{#ifeq: | {{#pos:{{#var:stufftags}}|Fabric|}}|| | ||
{{Apparel Material Table Row |Alpaca wool}} | {{Apparel Material Table Row |Alpaca wool}} | ||
Line 52: | Line 52: | ||
{{Apparel Material Table Row |Synthread}} | {{Apparel Material Table Row |Synthread}} | ||
}} | }} | ||
+ | |- | ||
{{#ifeq: | {{#pos:{{#var:stufftags}}|Woody|}}|| | {{#ifeq: | {{#pos:{{#var:stufftags}}|Woody|}}|| | ||
{{Apparel Material Table Row |Wood}} | {{Apparel Material Table Row |Wood}} | ||
}} | }} | ||
+ | |- | ||
{{#ifeq: | {{#pos:{{#var:stufftags}}|Stony|}}|| | {{#ifeq: | {{#pos:{{#var:stufftags}}|Stony|}}|| | ||
{{Apparel Material Table Row |Granite Blocks}} | {{Apparel Material Table Row |Granite Blocks}} | ||
Line 63: | Line 65: | ||
{{Apparel Material Table Row |Jade}} | {{Apparel Material Table Row |Jade}} | ||
}} | }} | ||
+ | |- | ||
{{#ifeq: | {{#pos:{{#var:stufftags}}|Metallic|}}|| | {{#ifeq: | {{#pos:{{#var:stufftags}}|Metallic|}}|| | ||
{{Apparel Material Table Row |Gold}} | {{Apparel Material Table Row |Gold}} | ||
Line 70: | Line 73: | ||
{{Apparel Material Table Row |Uranium}} | {{Apparel Material Table Row |Uranium}} | ||
}} | }} | ||
+ | |- | ||
|} | |} | ||
<sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup> </li></div></includeonly> | <sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup> </li></div></includeonly> |
Revision as of 09:12, 6 January 2021
Template:Apparel Material Table has been deprecated or removed from the wiki; it is no longer updated or in use. Reason: Functionality merged with Template: Apparel Stats Table |
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 |
---|---|---|---|---|---|---|---|
Wooden Plate armor | 39.42% | 39.42% | 29.2% | 188.5 | -8 °C (-14.4 °F) | +0 °C (0 °F) | 300 |
Golden Plate armor | 52.56% | 26.28% | 26.28% | 174 | -3 °C (-5.4 °F) | +0 °C (0 °F) | 17125 |
Plasteel Plate armor | 83.22% | 40.15% | 47.45% | 812 | -3 °C (-5.4 °F) | +0 °C (0 °F) | 1830 |
Silver Plate armor | 52.56% | 26.28% | 26.28% | 203 | -3 °C (-5.4 °F) | +0 °C (0 °F) | 1835 |
Steel Plate armor | 65.7% | 32.85% | 43.8% | 290 | -3 °C (-5.4 °F) | +0 °C (0 °F) | 460 |
Uranium Plate armor | 78.84% | 39.42% | 47.45% | 725 | -3 °C (-5.4 °F) | +0 °C (0 °F) | 1280 |
{{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 |
Birdskin Duster | 20.1% | 4.2% | 45% | 200 | -6 °C (-10.8 °F) | +8.5 °C (15.3 °F) | 180 |
Bluefur Duster | 24.3% | 7.2% | 45% | 260 | -12 °C (-21.6 °F) | +13.6 °C (24.5 °F) | 220 |
Camelhide Duster | 24.3% | 7.2% | 45% | 260 | -9.6 °C (-17.3 °F) | +20.4 °C (36.7 °F) | 220 |
Chinchilla fur Duster | 20.1% | 4.2% | 45% | 200 | -18 °C (-32.4 °F) | +13.6 °C (24.5 °F) | 555 |
Dog leather Duster | 24.3% | 7.2% | 45% | 260 | -8.4 °C (-15.1 °F) | +13.6 °C (24.5 °F) | 196 |
Elephant leather Duster | 33.6% | 7.2% | 45% | 300 | -8.4 °C (-15.1 °F) | +10.2 °C (18.4 °F) | 230 |
Foxfur Duster | 24.3% | 6.3% | 45% | 200 | -12 °C (-21.6 °F) | +13.6 °C (24.5 °F) | 315 |
Guinea pig fur Duster | 20.1% | 4.2% | 45% | 120 | -22.8 °C (-41 °F) | +15.3 °C (27.5 °F) | 435 |
Heavy fur Duster | 37.2% | 7.2% | 45% | 300 | -18 °C (-32.4 °F) | +11.9 °C (21.4 °F) | 300 |
Human leather Duster | 19.2% | 7.2% | 45% | 260 | -7.2 °C (-13 °F) | +10.2 °C (18.4 °F) | 370 |
Lightleather Duster | 16.2% | 4.2% | 45% | 200 | -7.2 °C (-13 °F) | +10.2 °C (18.4 °F) | 188 |
Lizardskin Duster | 24.3% | 8.1% | 45% | 200 | -7.2 °C (-13 °F) | +10.2 °C (18.4 °F) | 205 |
Panthera fur Duster | 27.9% | 7.2% | 45% | 260 | -9.6 °C (-17.3 °F) | +20.4 °C (36.7 °F) | 275 |
Patchleather Duster | 13.5% | 5.7% | 27% | 200 | -5.4 °C (-9.7 °F) | +7.65 °C (13.8 °F) | 156 |
Pigskin Duster | 19.2% | 7.2% | 45% | 260 | -7.2 °C (-13 °F) | +10.2 °C (18.4 °F) | 188 |
Plainleather Duster | 24.3% | 7.2% | 45% | 260 | -9.6 °C (-17.3 °F) | +13.6 °C (24.5 °F) | 205 |
Rhinoceros leather Duster | 38.7% | 7.2% | 45% | 300 | -8.4 °C (-15.1 °F) | +11.9 °C (21.4 °F) | 370 |
Thrumbofur Duster | 62.4% | 10.8% | 45% | 400 | -20.4 °C (-36.7 °F) | +18.7 °C (33.7 °F) | 1155 |
Wolfskin Duster | 30.6% | 7.2% | 45% | 260 | -14.4 °C (-25.9 °F) | +13.6 °C (24.5 °F) | 275 |
Alpaca wool Duster | 10.8% | 0% | 33% | 200 | -18 °C (-32.4 °F) | +13.6 °C (24.5 °F) | 340 |
Bison wool Duster | 10.8% | 0% | 33% | 200 | -15.6 °C (-28.1 °F) | +10.2 °C (18.4 °F) | 250 |
Cloth Duster | 10.8% | 0% | 5.4% | 200 | -10.8 °C (-19.4 °F) | +15.3 °C (27.5 °F) | 156 |
Devilstrand Duster | 42% | 10.8% | 90% | 260 | -12 °C (-21.6 °F) | +20.4 °C (36.7 °F) | 475 |
Hyperweave Duster | 60% | 16.2% | 86.4% | 480 | -15.6 °C (-28.1 °F) | +22.1 °C (39.8 °F) | 755 |
Megasloth wool Duster | 24% | 0% | 33% | 200 | -20.4 °C (-36.7 °F) | +10.2 °C (18.4 °F) | 250 |
Muffalo wool Duster | 10.8% | 0% | 33% | 200 | -16.8 °C (-30.2 °F) | +10.2 °C (18.4 °F) | 250 |
Sheep wool Duster | 10.8% | 0% | 33% | 200 | -15.6 °C (-28.1 °F) | +8.5 °C (15.3 °F) | 250 |
Synthread Duster | 28.2% | 7.8% | 27% | 260 | -13.2 °C (-23.8 °F) | +18.7 °C (33.7 °F) | 355 |
The above documentation is transcluded from Template:Apparel 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. |