Template:CostLine: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
|[[File:{{{pic|{{{1}}}}}}.png|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}}}}}{{{quantity|{{{2|1}}}}}}*{{#expr:{{#if:{{{cost|}}}|{{{costmax}}}-{{{cost}}}|{{{costmax}}}-{{Price|{{{1}}}}}}}}}}}|}}}}{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}}}{{{costref|}}}}}{{#ifeq:{{#var:cost_table_type|}}|Construction|{{#subbject:|Uses material={{{1}}}|Uses material quantity={{{quantity|1}}}}}}}
|{{#ifeq:{{lc:{{{cost}}}}}|no|{{NA}}|{{Coins|{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}{{#if:{{{costmax|}}}| - {{Coins|{{{quantity|{{{2|1}}}}}}*{{{costmax}}}}}{{{quantity|{{{2|1}}}}}}*{{#expr:{{#if:{{{cost|}}}|{{{costmax}}}-{{{cost}}}|{{{costmax}}}-{{Price|{{{1}}}}}}}}}}}|}}}}{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}}}{{{costref|}}}}}{{#ifeq:{{#var:cost_table_type|}}|Construction|{{#subbject:|Uses material={{{1}}}|Uses material quantity={{{quantity|1}}}}}}}


|-</includeonly><noinclude>{{/doc}}</noinclude>
|-</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 10:39, 10 May 2024

costline doc