Editing Template:Apparel Material Table

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly>== Material table ==
+
<includeonly>==Material Table==
 
{{#vardefine:name | {{{ 1 | {{PAGENAME}}}}} }}
 
{{#vardefine:name | {{{ 1 | {{PAGENAME}}}}} }}
{{#vardefine:armorsharp|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:armorblunt|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Blunt}}|R}}}}{{#vardefine:armorheat|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base}}|R}}}}{{#vardefine:insulationheat|{{formatnum:{{Q|{{#var:name}}|Insulation Factor - Heat}}|R}}}}{{#vardefine:insulationcold|{{formatnum:{{Q|{{#var:name}}|Insulation Factor - Cold}}|R}}}}{{#vardefine:stufftags|{{lc:{{Q|{{#var:name}}|Stuff Tags}}}}}}
+
{{#vardefine:armorsharp|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:armorblunt|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Blunt}}|R}}}}{{#vardefine:armorheat|{{formatnum:{{Q|{{#var:name}}|Armor Factor - Sharp}}|R}}}}{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base}}|R}}}}{{#vardefine:insulationheat|{{formatnum:{{Q|{{#var:name}}|Insulation Factor - Heat}}|R}}}}{{#vardefine:insulationcold|{{formatnum:{{Q|{{#var:name}}|Insulation Factor - Cold}}|R}}}}{{#vardefine:value|{{formatnum:{{Q|{{#var:name}}|Market Value Base}}|R}}}}{{#vardefine:stufftags|{{Q|{{#var:name}}|Stuff Tags}}}}
 
<div><li style="display: inline-table;">
 
<div><li style="display: inline-table;">
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
 +
|-
 
! Material
 
! Material
 
! data-sort-type="number" | Sharp
 
! data-sort-type="number" | Sharp
Line 12: Line 13:
 
! data-sort-type="number" | Insulation - Heat
 
! data-sort-type="number" | Insulation - Heat
 
! data-sort-type="number" | Market Value
 
! data-sort-type="number" | Market Value
<!-- #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|}} ||
+
<!---#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. --->  
  {{#ask: [[Stuff Category::Leathery]]
+
{{#ifeq: | {{#pos:{{#var:stufftags}}|Leathery|}}||
    | format = template
+
{{Apparel Material Table Row |Bearskin}}
    | template = Apparel Material Table Row
+
{{Apparel Material Table Row |Birdskin}}
    | link = none
+
{{Apparel Material Table Row |Bluefur}}
}} }}<!--
+
{{Apparel Material Table Row |Camelhide}}
-->{{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}} ||
+
{{Apparel Material Table Row |Chinchilla fur}}
  {{#ask: [[Stuff Category::Fabric]]
+
{{Apparel Material Table Row |Dog leather}}
    | format = template
+
{{Apparel Material Table Row |Elephant leather}}
    | template = Apparel Material Table Row
+
{{Apparel Material Table Row |Foxfur}}
    | link = none
+
{{Apparel Material Table Row |Guinea pig fur}}
}} }}<!--
+
{{Apparel Material Table Row |Heavy fur}}
-->{{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}} ||
+
{{Apparel Material Table Row |Human leather}}
  {{#ask: [[Stuff Category::Woody]]
+
{{Apparel Material Table Row |Lightleather}}
    | format = template
+
{{Apparel Material Table Row |Lizardskin}}
    | template = Apparel Material Table Row
+
{{Apparel Material Table Row |Panthera fur}}
    | link = none
+
{{Apparel Material Table Row |Patchleather}}
}} }}<!--
+
{{Apparel Material Table Row |Pigskin}}
-->{{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}} ||
+
{{Apparel Material Table Row |Plainleather}}
  {{#ask: [[Stuff Category::Stony]]
+
{{Apparel Material Table Row |Rhinoceros leather}}
    | format = template
+
{{Apparel Material Table Row |Thrumbofur}}
    | template = Apparel Material Table Row
+
{{Apparel Material Table Row |Wolfskin}}
    | link = none
+
}}
}} }}<!--
+
|-
-->{{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} ||
+
{{#ifeq: | {{#pos:{{#var:stufftags}}|Fabric|}}||
  {{#ask: [[Stuff Category::Metallic]]
+
{{Apparel Material Table Row |Alpaca wool}}
    | format = template
+
{{Apparel Material Table Row |Bison wool}}
    | template = Apparel Material Table Row
+
{{Apparel Material Table Row |Cloth}}
    | link = none
+
{{Apparel Material Table Row |Devilstrand}}
}} }}
+
{{Apparel Material Table Row |Hyperweave}}
 +
{{Apparel Material Table Row |Megasloth wool}}
 +
{{Apparel Material Table Row |Muffalo wool}}
 +
{{Apparel Material Table Row |Sheep wool}}
 +
{{Apparel Material Table Row |Synthread}}
 +
}}
 +
|-
 +
{{#ifeq: | {{#pos:{{#var:stufftags}}|Woody|}}||  
 +
{{Apparel Material Table Row |Wood}}
 +
}}
 +
|-
 +
{{#ifeq: | {{#pos:{{#var:stufftags}}|Stony|}}||  
 +
{{Apparel Material Table Row |Granite blocks}}
 +
{{Apparel Material Table Row |Limestone blocks}}
 +
{{Apparel Material Table Row |Marble blocks}}
 +
{{Apparel Material Table Row |Sandstone blocks}}
 +
{{Apparel Material Table Row |Slate blocks}}
 +
{{Apparel Material Table Row |Jade}}
 +
}}
 +
|-
 +
{{#ifeq: | {{#pos:{{#var:stufftags}}|Metallic|}}||  
 +
{{Apparel Material Table Row |Gold}}
 +
{{Apparel Material Table Row |Plasteel}}
 +
{{Apparel Material Table Row |Silver}}
 +
{{Apparel Material Table Row |Steel}}
 +
{{Apparel Material Table Row |Uranium}}
 +
}}
 +
|-
 
|}
 
|}
<br/><sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup></li></div></includeonly><noinclude>
+
<sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup> </li></div></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)