Template:CostTableHead: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{type|}}}|{{#vardefine:cost_table_type|{{{type}}}}}}}{| class="wikitable {{#if:{{{class|}}}|{{{class}}}}} align-left-2 align-right-{{#ifeq:{{lc:{{{quantity}}}}}|yes|4|3}}" style="text-align:center;{{#if:{{{style|}}}|{{{style}}}}}"{{#var:}}<!-- funny hack to fix a bug pls dont delete -->
<includeonly>
{{#if:{{{caption|}}}|{{!}}+{{{caption}}}}}{{#vardefine:runningTotal}}{{#vardefine:runningTotalDiff}}{{#vardefine:qtyBool|No}}
{{#if:{{{type|}}}|{{#vardefine:cost_table_type|{{{type}}}}}}}{| class="wikitable {{#if:{{{class|}}}|{{{class}}}}} align-left-2 align-right-{{#ifeq:{{lc:{{{quantity}}}}}|yes|4|3}}" style="text-align:center;{{#if:{{{style|}}}|{{{style}}}}}"{{#var:}}<!-- funny hack to fix a bug pls dont delete -->
{{#if:{{{caption|}}}|{{!}}+{{{caption}}}}}
! colspan=2 |Item
! colspan=2 |Item
{{#ifeq:{{lc:{{{quantity}}}}}|yes|!Quantity{{#vardefine:qtyBool|Yes}}|{{#vardefine:qtyBool|No}}}}
{{#ifeq:{{lc:{{{quantity}}}}}|yes|!Quantity{{#vardefine:qtyBool|Yes}}|{{#vardefine:qtyBool|No}}}}
! data-sort-type="number" |TP&nbsp;Price
! data-sort-type="number" |TP&nbsp;Price
|-</includeonly><noinclude>{{CostLine/doc}}</noinclude>
|-</includeonly><noinclude>{{CostLine/doc}}</noinclude>

Revision as of 10:55, 10 May 2024

costline doc