From WikiChip
Difference between revisions of "Template:comp table header 1"

(Created page with "<tr class="comptable-header"><th class="unsortable">Model</th>{{#arraymap:{{{cols}}}|,|@|<th>@</th>|}}</tr>")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<tr class="comptable-header"><th class="unsortable">Model</th>{{#arraymap:{{{cols}}}|,|@|<th>@</th>|}}</tr>
+
<tr class="comptable-header"><th class="unsortable">Model</th>{{#arraymap:{{{cols}}}|,|@| {{#ifeq:{{#sub:@|0|1}}|%|<th data-sort-type="number">{{#sub:@|1}}</th>|<th>@</th>}} |}}</tr>

Latest revision as of 19:59, 26 May 2017

<tr class="comptable-header"><th class="unsortable">Model</th><th>{{{cols}}}</th></tr>