Template:ShopTableHead: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Add the "quantity" parameter to the table head, if it exists then adds a column at the end for the quantity of each item)
m (previous edit missed setting a variable so lines would display quantity)
Line 7: Line 7:
-->{{#if:{{{profession b|}}}|<th class="lvl-col" data-sort-type="number">{{{profession b}}} level</th>{{#vardefine:profession b|{{{profession b}}}}}}}<!--
-->{{#if:{{{profession b|}}}|<th class="lvl-col" data-sort-type="number">{{{profession b}}} level</th>{{#vardefine:profession b|{{{profession b}}}}}}}<!--
-->{{#if:{{{profession c|}}}|<th class="lvl-col" data-sort-type="number">{{{profession c}}} level</th>{{#vardefine:profession c|{{{profession c}}}}}}}<!--
-->{{#if:{{{profession c|}}}|<th class="lvl-col" data-sort-type="number">{{{profession c}}} level</th>{{#vardefine:profession c|{{{profession c}}}}}}}<!--
-->{{#if:{{{quantity|}}}|<th class="qty-col" data-sort-type="number">Quantity</th>}}
-->{{#if:{{{quantity|}}}|<th class="qty-col" data-sort-type="number">Quantity</th>{{#vardefine:quantity|true}}}}
</tr>{{#vardefine:nosmw|{{{nosmw|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
</tr>{{#vardefine:nosmw|{{{nosmw|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>