Difference between revisions of "Template:Tutorial/Tabs"
Line 1: | Line 1: | ||
{{Tutorial/TabsTop}} | {{Tutorial/TabsTop}} | ||
{{Tutorial/Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | {{Tutorial/Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | ||
− | {{ #if: {{{2|}}} |{{ | + | {{ #if: {{{2|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }} |
− | {{ #if: {{{3|}}} |{{ | + | {{ #if: {{{3|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }} |
− | {{ #if: {{{4|}}} |{{ | + | {{ #if: {{{4|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|4|1|2}}|{{{4}}}}}| }} |
− | {{ #if: {{{5|}}} |{{ | + | {{ #if: {{{5|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|5|1|2}}|{{{5}}}}}| }} |
− | {{ #if: {{{6|}}} |{{ | + | {{ #if: {{{6|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|6|1|2}}|{{{6}}}}}| }} |
− | {{ #if: {{{7|}}} |{{ | + | {{ #if: {{{7|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|7|1|2}}|{{{7}}}}}| }} |
− | {{ #if: {{{8|}}} |{{ | + | {{ #if: {{{8|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|8|1|2}}|{{{8}}}}}| }} |
− | {{ #if: {{{9|}}} |{{ | + | {{ #if: {{{9|}}} |{{Tutorial/Tab{{ #ifeq:{{{This}}}|9|1|2}}|{{{9}}}}}| }} |
− | {{ | + | {{Tutorial/TabsBottom}}<noinclude> |
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. | 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> |
Latest revision as of 14:05, 21 May 2007
{{{1}}} |
|
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.