Difference between revisions of "Template:Table"
From From The Ashes Wiki
m |
|||
Line 1: | Line 1: | ||
[[Category:Template]]{{#vardefine:current|1}} | [[Category:Template]]{{#vardefine:current|1}} | ||
<table class="{{{class|templatetable}}}" style="{{{style|none}}}"> | <table class="{{{class|templatetable}}}" style="{{{style|none}}}"> | ||
+ | <tr> | ||
{{#fornumargs: number | {{#fornumargs: number | ||
|value | |value | ||
− | | | + | |<td>{{#var:value}}</td>{{#ifeq:{{#var:current}}|{{{cols|2}}}|</tr><tr>{{#vardefine:current|1}}|{{#vardefine:current|{{#expr:{{#var:current}}+1}}}}}} |
}} | }} | ||
+ | </tr> | ||
</table> | </table> |