Difference between revisions of "Template:Table"

From From The Ashes Wiki
Jump to: navigation, search
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>

Revision as of 04:43, 19 March 2018