Difference between revisions of "Template:Tabs"
From Wolfire Games Wiki
m (New page: <noinclude>{{CT| Templates}} {{CT| Tabs Templates}} </noinclude> {{TabsTop|backgroundcolor={{{backgroundcolor}}}}} {{Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} {{ #if: {{{2|}}} |{{Tab{{ #i...) |
m |
||
Line 1: | Line 1: | ||
<noinclude>{{CT| Templates}} {{CT| Tabs Templates}} | <noinclude>{{CT| Templates}} {{CT| Tabs Templates}} | ||
+ | |||
+ | Usage: 1 to 9 parameters, for each tab to put on the page. After the last item, whichever parameter is the current page is indicated by '''This=''' and the tab number to mark as the current tab, from 1 to 9. '''This=1''' or '''This=5''' etc. | ||
</noinclude> | </noinclude> | ||
Line 13: | Line 15: | ||
{{ #if: {{{9|}}} |{{Tab{{ #ifeq:{{{This}}}|9|1|2}}|{{{9}}}}} | {{ #if: {{{9|}}} |{{Tab{{ #ifeq:{{{This}}}|9|1|2}}|{{{9}}}}} | ||
{{ #if: {{{10|}}} |{{Tab{{ #ifeq:{{{This}}}|10|1|2}}|{{{10}}}}}|}}|}}}}}}}}}}}}}}}} | {{ #if: {{{10|}}} |{{Tab{{ #ifeq:{{{This}}}|10|1|2}}|{{{10}}}}}|}}|}}}}}}}}}}}}}}}} | ||
− | {{TabsBottom}} | + | {{TabsBottom}} |
− | |||
− | |||
− | |||
− |
Revision as of 15:04, 23 June 2011
Usage: 1 to 9 parameters, for each tab to put on the page. After the last item, whichever parameter is the current page is indicated by This= and the tab number to mark as the current tab, from 1 to 9. This=1 or This=5 etc.
{{{1}}} |
|