Editing Template:Building Stats 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 | + | <includeonly>{{#if: {{{2|}}}||==Material Table==}}<!-- |
− | + | -->{{#vardefine:name | {{{ 1 | {{PAGENAME}}}}} }}<!-- | |
− | + | -->{{#vardefine:beauty|{{formatnum:{{Q|{{#var:name}}|Beauty Base|0}}|R}}}}<!-- | |
− | -->{{#vardefine: | + | -->{{#vardefine:work|{{formatnum:{{Q|{{#var:name}}|Work To Make}}|R}}}}<!-- |
− | -->{{#vardefine: | + | -->{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base}}|R}}}}<!-- |
− | + | -->{{#vardefine:flammability|{{formatnum:{{Q|{{#var:name}}|Flammability Base}}|R}}}}<!-- | |
− | -->{{#vardefine: | + | -->{{#vardefine:value|{{formatnum:{{Q|{{#var:name}}|Market Value Base}}|R}}}}<!-- |
− | -->{{#vardefine:HP | + | -->{{#vardefine:stufftags|{{lc:{{Q|{{#var:name}}|Stuff Tags}}}}}}<!-- |
− | -->{{#vardefine: | + | -->{{#if:{{{3|}}}|{{#vardefine:useTerrainAffordance|1}} }}<!-- |
− | + | -->{{#vardefine:stuffAmount|{{Q|{{#var:name}}|Resource 1 Amount}}}} | |
− | + | <div><li style="display: inline-table;"> | |
− | + | {| {{STDT|sortable c_01 text-center}} | |
− | |||
− | |||
− | -->{{#vardefine:value | ||
− | -->{{#vardefine: | ||
− | |||
− | |||
− | -->{{# | ||
− | |||
− | |||
− | -->{{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| {{STDT|sortable c_01 text- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | ! Material | |
− | -- | + | ! data-sort-type="number" | [[Stuff]] cost |
− | + | ! data-sort-type="number" | Beauty | |
− | + | ! data-sort-type="number" | Work to Build | |
− | + | ! data-sort-type="number" | HP | |
− | + | ! data-sort-type="number" | Flammability | |
− | + | {{#if: {{#pos:{{lc:{{#var:name}}}}|door|}}|! Door Speed|<!-- | |
− | + | -->{{#ifeq: {{#var:name}}|Fence gate|! Door Speed|<!-- | |
− | + | -->{{#ifeq: {{#var:name}}|Animal flap|! Door Speed}}}}}}<!-- | |
− | + | -->{{#if:{{#var:useTerrainAffordance}}|<th>Terrain Affordance</th>}} | |
− | + | ! 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|}}|| | |
− | + | {{Building Material Table Row |Bearskin}} | |
− | + | {{Building Material Table Row |Birdskin}} | |
− | + | {{Building Material Table Row |Bluefur}} | |
− | + | {{Building Material Table Row |Camelhide}} | |
− | + | {{Building Material Table Row |Chinchilla fur}} | |
− | + | {{Building Material Table Row |Dog leather}} | |
− | + | {{Building Material Table Row |Elephant leather}} | |
− | + | {{Building Material Table Row |Foxfur}} | |
− | + | {{Building Material Table Row |Guinea pig fur}} | |
− | + | {{Building Material Table Row |Heavy fur}} | |
− | + | {{Building Material Table Row |Human leather}} | |
− | + | {{Building Material Table Row |Lightleather}} | |
− | + | {{Building Material Table Row |Lizardskin}} | |
− | + | {{Building Material Table Row |Panthera fur}} | |
− | + | {{Building Material Table Row |Patchleather}} | |
− | + | {{Building Material Table Row |Pigskin}} | |
− | + | {{Building Material Table Row |Plainleather}} | |
− | + | {{Building Material Table Row |Rhinoceros leather}} | |
− | + | {{Building Material Table Row |Thrumbofur}} | |
− | + | {{Building Material Table Row |Wolfskin}} | |
− | + | }} | |
− | + | |- | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}|| | |
− | + | {{Building Material Table Row |Alpaca wool}} | |
− | + | {{Building Material Table Row |Bison wool}} | |
− | + | {{Building Material Table Row |Cloth}} | |
− | + | {{Building Material Table Row |Devilstrand}} | |
− | + | {{Building Material Table Row |Hyperweave}} | |
− | + | {{Building Material Table Row |Megasloth wool}} | |
− | + | {{Building Material Table Row |Muffalo wool}} | |
− | + | {{Building Material Table Row |Sheep wool}} | |
− | + | {{Building Material Table Row |Synthread}} | |
− | + | }} | |
− | + | |- | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}|| | |
− | + | {{Building Material Table Row |Wood}} | |
− | + | }} | |
− | + | |- | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}|| | |
− | + | {{Building Material Table Row |Granite blocks}} | |
− | + | {{Building Material Table Row |Limestone blocks}} | |
− | + | {{Building Material Table Row |Marble blocks}} | |
− | + | {{Building Material Table Row |Sandstone blocks}} | |
− | + | {{Building Material Table Row |Slate blocks}} | |
− | + | {{Building Material Table Row |Jade}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | |- | ||
+ | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}}|| | ||
+ | {{Building Material Table Row |Gold}} | ||
+ | {{Building Material Table Row |Plasteel}} | ||
+ | {{Building Material Table Row |Silver}} | ||
+ | {{Building Material Table Row |Steel}} | ||
+ | {{Building Material Table Row |Uranium}} | ||
+ | }} | ||
+ | |- | ||
|} | |} | ||
− | < | + | <sup>Assuming Normal quality, for the effect of other qualities, see [[Quality]].</sup></li></div></includeonly><noinclude> |
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |