Difference between revisions of "Template:Table"
From From The Ashes Wiki
Line 3: | Line 3: | ||
{{#fornumargs: number | {{#fornumargs: number | ||
|value | |value | ||
− | |{{#ifeq:{{#var:current}}|1|<tr>|}}<td>{{#var:value}}</td>{{#ifeq:{{#var:current}}|{{{cols|2}}}|</tr>{{#vardefine:current|1}}|}} | + | |{{#ifeq:{{#var:current}}|1|<tr>|}}<td>{{#var:value}}</td>{{#ifeq:{{#var:current}}|{{{cols|2}}}|</tr>{{#vardefine:current|1}}|{{#vardefine:current|{{#expr:{{#var:current}}+1}}}}}} |
}} | }} | ||
</table> | </table> |