Difference between revisions of "Template:NewsTabs"

From Xhodon
Jump to: navigation, search
m
m
Line 2: Line 2:
 
{{newsTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}}
 
{{newsTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}}
 
{{ #if:  {{{2|}}} |{{newsTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }}
 
{{ #if:  {{{2|}}} |{{newsTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }}
 +
{{ #if:  {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }}
 +
{{ #if:  {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }}
 
{{ #if:  {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }}
 
{{ #if:  {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }}
 
{{newsTabsBottom}}<noinclude>
 
{{newsTabsBottom}}<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>

Revision as of 09:41, 21 September 2010

{{{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.