Template:ShopTableHead: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
(Add the "quantity" parameter to the table head, if it exists then adds a column at the end for the quantity of each item)
Line 6: Line 6:
{{#if:{{{profession|}}}|<th class="lvl-col" data-sort-type="number">{{{profession}}} level</th>{{#vardefine:profession|{{{profession}}}}}}}<!--
{{#if:{{{profession|}}}|<th class="lvl-col" data-sort-type="number">{{{profession}}} level</th>{{#vardefine:profession|{{{profession}}}}}}}<!--
-->{{#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>}}
</tr>{{#vardefine:nosmw|{{{nosmw|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
</tr>{{#vardefine:nosmw|{{{nosmw|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>