Template:CostLine: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
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}}}}}}}}|}}
|{{#ifeq:{{#var:qtyBool}}|Yes|{{!}}{{formatnum:{{{quantity|{{{2|1}}}}}}}}|}}
|{{#ifeq:{{lc:{{{cost}}}}}|no|{{NA}}|{{Coins|{{{quantity|{{{2|1}}}}}}*{{#if:{{{cost|}}}|{{{cost}}}|{{Price|{{{1}}}}}}}}}{{#if:{{{costmax|}}}|&nbsp;-&nbsp;{{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|}}}|&nbsp;-&nbsp;{{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:38, 10 May 2024

costline doc