Template:Scrolling table/top: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Beginning to copy Scrolling Table from Wikipedia's templates.)
 
(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)
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;}}} }}<!--
-->{{#if: {{{1|}}}  |        {{Scrolling table/hrow|{{{    1 |side header 1 }}} }} }}<!--
-->{{#fornumargs:number|value|{{#if: {{#var:value}} | {{#ifexpr:{{#var:number}}>1|{{zwsp}}}}{{Scrolling table/hrow| {{#var:value}} }} }} }}</includeonly><noinclude>
-->{{#if: {{{2|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    2 |side header 2 }}} }} }}<!--
-->{{#if: {{{3|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    3 |side header 3 }}} }} }}<!--
-->{{#if: {{{4|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    4 |side header 4 }}} }} }}<!--
-->{{#if: {{{5|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    5 |side header 5 }}} }} }}<!--
-->{{#if: {{{6|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    6 |side header 6 }}} }} }}<!--
-->{{#if: {{{7|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    7 |side header 7 }}} }} }}<!--
-->{{#if: {{{8|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    8 |side header 8 }}} }} }}<!--
-->{{#if: {{{9|}}}  |{{zwsp}}{{Scrolling table/hrow|{{{    9 |side header 9 }}} }} }}<!--
-->{{#if: {{{10|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  10 |side header 10}}} }} }}<!--
-->{{#if: {{{11|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  11 |side header 11}}} }} }}<!--
-->{{#if: {{{12|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  12 |side header 12}}} }} }}<!--
-->{{#if: {{{13|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  13 |side header 13}}} }} }}<!--
-->{{#if: {{{14|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  14 |side header 14}}} }} }}<!--
-->{{#if: {{{15|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  15 |side header 15}}} }} }}<!--
-->{{#if: {{{16|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  16 |side header 16}}} }} }}<!--
-->{{#if: {{{17|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  17 |side header 17}}} }} }}<!--
-->{{#if: {{{18|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  18 |side header 18}}} }} }}<!--
-->{{#if: {{{19|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  19 |side header 19}}} }} }}<!--
-->{{#if: {{{20|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  20 |side header 20}}} }} }}<!--
-->{{#if: {{{21|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  21 |side header 21}}} }} }}<!--
-->{{#if: {{{22|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  22 |side header 22}}} }} }}<!--
-->{{#if: {{{23|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  23 |side header 23}}} }} }}<!--
-->{{#if: {{{24|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  24 |side header 24}}} }} }}<!--
-->{{#if: {{{25|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  25 |side header 25}}} }} }}<!--
-->{{#if: {{{26|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  26 |side header 26}}} }} }}<!--
-->{{#if: {{{27|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  27 |side header 27}}} }} }}<!--
-->{{#if: {{{28|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  28 |side header 28}}} }} }}<!--
-->{{#if: {{{29|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  29 |side header 29}}} }} }}<!--
-->{{#if: {{{30|}}} |{{zwsp}}{{Scrolling table/hrow|{{{  30 |side header 30}}} }} }}</includeonly><noinclude>


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

Revision as of 08:16, February 27, 2021


See {{scrolling table}} for usage instructions.