Template:Arrange: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
(Reverting...jeez trying to "code" in wikimarkup is so confusing)
Line 1: Line 1:
<table {{#if:{{{class|}}}|class={{{class}}}}} style="float:{{{float|none}}}; {{{style|}}}">
<table {{#if:{{{class|}}}|class={{{class}}}}} style="float:{{{float|none}}}; {{{style|}}}">
{{#loop:y|0|{{{h|1}}}|<tr>
{{#loop:y|0|{{{h|1}}}|<tr>
{{#loop:x|1|{{{w|1}}}|
{{#loop:x|1|{{{w|1}}}|<td>{{{{{#expr:{{#var:x}}+{{#var:y}}*{{{w|1}}}}}|}}}}}</td>
{{#vardefine:cell|{{#expr:{{#var:x}}+{{#var:y}}*{{{w|1}}}}}}}{{#vardefine:x|{{#expr:{{#var:x}}+{{{rowspan{{#var:cell}}|1}}}-1}}}}
<td rowspan={{{rowspan{{#var:cell}}|1}}}>{{{{{#var:cell}}|}}}}}</td>
</tr>}}
</tr>}}
</table>
</table>

Revision as of 13:57, December 9, 2017