Template:PageTabs: Difference between revisions
Jump to navigation
Jump to search
imported>Stephen Ewen No edit summary |
imported>Stephen Ewen No edit summary |
||
Line 1: | Line 1: | ||
<div style="position: relative; top: -30px; center: -5px;">{{PageTabsTop}} | <div style="position: relative; top: -30px; center: -5px;"> | ||
{{PageTabsTop}} | |||
{{PageTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | {{PageTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | ||
{{ #if: {{{2|}}} |{{PageTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }} | {{ #if: {{{2|}}} |{{PageTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }} | ||
Line 16: | Line 17: | ||
{{ #if: {{{15|}}} |{{PageTab{{ #ifeq:{{{This}}}|15|1|2}}|{{{15}}}}}| }} | {{ #if: {{{15|}}} |{{PageTab{{ #ifeq:{{{This}}}|15|1|2}}|{{{15}}}}}| }} | ||
{{PageTabsBottom}} | {{PageTabsBottom}} | ||
<div style="position: relative; top: -30px; center: -5px;"> | |||
<noinclude> | <noinclude> |
Revision as of 01:10, 11 July 2007
{{{1}}} |
|
Usage: 1 to 15 parameters for each tab to put on the page. Whichever parameter is the current page is indicated by This= and the tab number to mark as the current tab, from 1 to 15.