Template:Scrolling table/top: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Changed to allow for an indefinite amount of row headers. Logic also made no sense. Check if param is *non-empty*, if true insert template with param value, if param is *empty* use default value... but we just verified it was non-empty)
m (This should do what I want)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:left; margin:0; margin-right:-1px; {{{style|}}}"<!--
<includeonly>{| class="wikitable" style="float:left; margin:0; margin-right:-1px; {{{style|}}}"<!--
                           -->{{Scrolling table/hrow|{{{first|&nbsp;}}} }}<!--
                           -->{{Scrolling table/hrow|{{{first|&nbsp;}}} |style={{{hstyle|}}}}}<!--
-->{{#fornumargs:number|value|{{#if: {{#var:value}} | {{#ifexpr:{{#var:number}}>1|{{zwsp}}}}{{Scrolling table/hrow| {{#var:value}} }} }} }}</includeonly><noinclude>
-->{{#fornumargs:number|value|{{#if: {{#var:value}} | {{#ifexpr:{{#var:number}}>1|{{zwsp}}}}{{Scrolling table/hrow| {{#var:value}} |style={{{hstyle|}}}}} }} }}</includeonly><noinclude>


See {{tl|scrolling table}} for usage instructions.
See {{tl|scrolling table}} for usage instructions.
</noinclude>
</noinclude>

Revision as of 23:26, July 23, 2021


See {{scrolling table}} for usage instructions.