Editing Template:Building Stats Table Row
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>|- |
− | + | ! style="text-align:right;" | '''{{#if:{{Q|{{{1|Cloth}}}|Stuff Adjective}}|[[{{{1|Cloth}}}|{{ucfirst:{{Q|{{{1|Cloth}}}|Stuff Adjective}}}}]]|[[{{{1|Cloth}}}]]}} {{#var:name}}''' | |
− | + | | {{ #expr: {{#var: stuffAmount}} {{#if: {{Q|{{{1|Cloth}}}|Small Volume}}|*10|}} }} {{icon small|{{{1|Cloth}}}}} | |
− | + | | {{ #expr: {{ #expr: {{Q|{{{1|Cloth}}}|Beauty Offset}} + {{#ifexpr: {{#var:beauty|}} < 0 | 1 | {{Q|{{{1|Cloth}}}|Beauty Factor}}}}*{{#var:beauty|}} - 0.000000001 round 0}} round 0}} | |
− | + | | style="text-align: left" | {{#ifexpr: {{formatnum:{{#vardefineecho:adjustedWork|{{ #expr: {{Q|{{{1|Cloth}}}|Work To Build Factor}} * {{#var:work|}} + {{#if: {{Q|{{{1|Cloth}}}|Work To Build Offset}}|{{Q|{{{1|Cloth}}}|Work To Build Offset}}|0}} round 0}}}} < 10|R}} | {{0|000,00}} | {{#ifexpr: {{formatnum:{{#var:adjustedWork}} < 100|R}} | {{0|000,0}} | {{#ifexpr: {{formatnum:{{#var:adjustedWork}} < 1000|R}} | {{0|000,}} | {{#ifexpr: {{formatnum:{{#var:adjustedWork}} < 10000|R}} | {{0|00}} | {{#ifexpr: {{formatnum:{{#var:adjustedWork}} < 100000|R}} | {{0}} }} }} }} }} }}{{Ticks | {{#var:adjustedWork}} }} | |
− | + | | {{ #expr: {{Q|{{{1|Cloth}}}|Max Hit Points Factor}}*{{#var:HP|}} round 0}} | |
− | {{ | + | | {{#ifexpr: {{ #expr: {{Q|{{{1|Cloth}}}|Flammability Factor}}*{{#var:flammability|}}}} > 1 | 100 | {{ #expr: {{Q|{{{1|Cloth}}}|Flammability Factor}}*{{#var:flammability|}}*100}} }}%<!-- |
− | + | -->{{#if: {{#pos:{{lc:{{#var:name}}}}|door|}}|{{!!}} {{#expr: 100*{{Q|{{{1|Cloth}}}|Door Opening Speed Factor|1}}}}%|<!-- | |
− | }} | + | -->{{#ifeq: {{#var:name}}|Fence gate|{{!!}} {{#expr: 100*{{Q|{{{1|Cloth}}}|Door Opening Speed Factor|1}}}}%|<!-- |
− | {{ | + | -->{{#ifeq: {{#var:name}}|Animal flap|{{!!}} {{#expr: 100*{{Q|{{{1|Cloth}}}|Door Opening Speed Factor|1}}}}%}}}}}} |
− | + | | {{#if: {{#var:useTerrainAffordance}}| {{#switch: {{lc:{{Q|{{{1|Cloth}}}|Terrain Affordance}}}} | |
− | + | | heavy = data-sort-value="3" | |
− | + | | medium = data-sort-value="2" | |
− | + | | #default = data-sort-value="1" | |
− | + | }} }} | {{#if: {{#var:useTerrainAffordance}}|{{#if: {{Q|{{{1|Cloth}}}|Terrain Affordance}}|{{Q|{{{1|Cloth}}}|Terrain Affordance}} | Light}} {{!!}} }}<!-- | |
− | + | -->{{Market Value Calculator|{{#var:name}}|{{{1|Cloth}}}}} {{icon small|silver|}}</includeonly> | |
− | + | <noinclude> | |
− | }} } | + | {{documentation}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -- | ||
− | |||
− | |||
− | -->{{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |