Template:Tabs: Difference between revisions
From Wolfire Games Wiki
Jump to navigationJump to search
m New page: <noinclude>{{CT| Templates}} {{CT| Tabs Templates}} </noinclude> {{TabsTop|backgroundcolor={{{backgroundcolor}}}}} {{Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} {{ #if: {{{2|}}} |{{Tab{{ #i... |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{CT| Templates}} {{CT| Tabs Templates}} | <noinclude>{{CT| Templates}} {{CT| Tabs Templates}} | ||
{{stub}} | |||
(should look like http://wiki.teamliquid.net:80/starcraft/Template:Tabs ) | |||
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> | ||
{{TabsTop|backgroundcolor={{{backgroundcolor}}}}} | {{TabsTop|backgroundcolor={{{backgroundcolor}}}}} | ||
{{Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | {{Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | ||
| 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}} | ||
Latest revision as of 01:21, 3 July 2011
This article is a stub. You should help Wolfire by expanding it.
(should look like http://wiki.teamliquid.net:80/starcraft/Template:Tabs )
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}}} |
|