|
|
(35 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly> | | <includeonly> |
| |[[File:{{{pic|{{{1}}}}}}.{{#switch:{{lc:{{{gif|no}}}}}|no=png|yes=gif}}|link={{{1}}}]] | | |[[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}]] |
| |[[{{{1|??}}}|{{{txt|{{{1}}}}}}]] {{{namenotes|}}} | | |{{{1|??}}}|{{{txt|{{{1}}}}}} {{{namenotes|}}} |
| {{#ifeq:{{#var:qtyBool}}|Yes|{{!}}{{formatnum:{{{quantity|{{{2|1}}}}}}}}|}}
| | |{{{quantity|{{{2|1}}}}}} |
| |{{#ifeq:{{lc:{{{cost}}}}}|no|{{NA}}|{{Coins|{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}{{#if:{{{costmax|}}}| - {{Coins|{{{quantity|{{{2|1}}}}}}*{{{costmax}}}}}{{#vardefine:runningTotalDiff|{{#expr:{{#var:runningTotalDiff}}+{{{quantity|{{{2|1}}}}}}*{{#expr:{{#if:{{{cost|}}}|{{{costmax}}}-{{{cost}}}|{{{costmax}}}-{{Price|{{{1}}}}}}}}}}}|}}}}{{#vardefine:runningTotal|{{#expr:{{#var:runningTotal}}+{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}}}{{{costref|}}}}}{{#ifeq:{{#var:cost_table_type|}}|Construction|{{#subobject:|Uses material={{{1}}}|Uses material quantity={{{quantity|1}}}}}}}
| | |{{Coins|{{{quantity|{{{2|1}}}}}}*{{Price|{{{1}}}}}}} |
| |-</includeonly><noinclude>{{/doc}}</noinclude> | | |-</includeonly> |
| | |
| | |
| | |
| | |
| | <noinclude>{{/doc}}</noinclude> |