Difference between revisions of "Template:NewsTabsHeader"

From Xhodon
Jump to: navigation, search
m (New page: {{newsTabsTop}} {{newsTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} {{ #if: {{{2|}}} |{{newsTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }} {{ #if: {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}...)
 
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{newsTabsTop}}
+
{{newsTabs
{{newsTab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}}
+
|[[Dwarfworld_Newspapers|Newest]]
{{ #if:  {{{2|}}} |{{newsTab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}}| }}
+
|[[Dwarfworld_Newspapers/Team|Contributors]]
{{ #if:  {{{3|}}} |{{newsTab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}}| }}
+
|[[Dwarfworld_Newspapers/Archives|Archives]]
{{ #if:  {{{4|}}} |{{newsTab{{ #ifeq:{{{This}}}|4|1|2}}|{{{4}}}}}| }}
+
|This={{{This}}} }}<noinclude>
{{ #if:  {{{5|}}} |{{newsTab{{ #ifeq:{{{This}}}|5|1|2}}|{{{5}}}}}| }}
+
This page is used to make the tabs consistent on all pages. 
{{ #if:  {{{6|}}} |{{newsTab{{ #ifeq:{{{This}}}|6|1|2}}|{{{6}}}}}| }}
+
 
{{ #if:  {{{7|}}} |{{newsTab{{ #ifeq:{{{This}}}|7|1|2}}|{{{7}}}}}| }}
+
To use this page, set '''This=n''' where n is the tab number of the page that calls this macro, e.g '''This=5''' or '''This=8'''
{{ #if:  {{{8|}}} |{{newsTab{{ #ifeq:{{{This}}}|8|1|2}}|{{{8}}}}}| }}
+
 
{{ #if:  {{{9|}}} |{{newsTab{{ #ifeq:{{{This}}}|9|1|2}}|{{{9}}}}}| }}
+
This page's content was adapted from [http://en.wikipedia.org/wiki/Wikipedia:Tutorial Wikipedia editing guide].
{{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.
+
 
</noinclude>
 
</noinclude>

Latest revision as of 10:05, 21 September 2010

Newest   Contributors   Archives  


 

This page is used to make the tabs consistent on all pages.

To use this page, set This=n where n is the tab number of the page that calls this macro, e.g This=5 or This=8

This page's content was adapted from Wikipedia editing guide.