Difference between revisions of "Template:Top 10 DeveloperEdition:NavigationByHeadertab"

From OWASP
Jump to: navigation, search
m (... and back)
(Added headertabLeft and headertabRight)
 
Line 6: Line 6:
 
:<nowiki>{{Top 10 DeveloperEdition:NavigationByHeadertab</nowiki>
 
:<nowiki>{{Top 10 DeveloperEdition:NavigationByHeadertab</nowiki>
 
::<nowiki>|headertab=JAVA</nowiki>
 
::<nowiki>|headertab=JAVA</nowiki>
::<nowiki>|headertabRight=JAVA-2</nowiki>
+
::<nowiki>|headertabLeft=JAVA2</nowiki>
 
::<nowiki>|useprev=2013PrevHeaderTabDeveloperEdition</nowiki>
 
::<nowiki>|useprev=2013PrevHeaderTabDeveloperEdition</nowiki>
 
::<nowiki>|usenext=2013NextHeaderTabDeveloperEdition</nowiki>
 
::<nowiki>|usenext=2013NextHeaderTabDeveloperEdition</nowiki>
::<nowiki>|prev=A5-{{Top_10_2010:ByTheNumbers</nowiki>
+
::<nowiki>|prev=A6-{{Top_10_2010:ByTheNumbers</nowiki>
:::<nowiki>|5</nowiki>
+
:::<nowiki>|6</nowiki>
 
:::<nowiki>|year=2013</nowiki>
 
:::<nowiki>|year=2013</nowiki>
 
:::<nowiki>|language=de}}</nowiki>
 
:::<nowiki>|language=de}}</nowiki>
Line 20: Line 20:
 
::<nowiki>|language=de</nowiki>
 
::<nowiki>|language=de</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 +
{{Top 10 DeveloperEdition:NavigationByHeadertab
 +
    |headertab=JAVA
 +
    |headertabLeft=JAVA2
 +
    |useprev=2013PrevHeaderTabDeveloperEdition
 +
    |usenext=2013NextHeaderTabDeveloperEdition
 +
    |prev=A6-{{Top_10_2010:ByTheNumbers
 +
              |6
 +
              |year=2013
 +
              |language=de}}
 +
    |next=A7-{{Top_10_2010:ByTheNumbers
 +
              |7
 +
              |year=2013
 +
              |language=de}}
 +
    |year=2013
 +
    |language=de
 +
}}
 
</noinclude>
 
</noinclude>
 
<onlyinclude><includeonly>{{LinkBar
 
<onlyinclude><includeonly>{{LinkBar
 
     |useprev={{{useprev}}}
 
     |useprev={{{useprev}}}
 
     |prev={{{prev}}}
 
     |prev={{{prev}}}
     |lblprev={{{headertab}}}
+
     |lblprev={{ #if: {{{headertabLeft|}}} | {{{headertabLeft}}} | {{{headertab}}} }}
 
     |usenext={{{usenext}}}
 
     |usenext={{{usenext}}}
 
     |next={{{next}}}
 
     |next={{{next}}}
     |lblnext={{{headertab}}}
+
     |lblnext={{ #if: {{{headertabRight|}}} | {{{headertabRight}}} | {{{headertab}}} }}
 
     |usemain=Nothing
 
     |usemain=Nothing
 
     |year={{{year}}}
 
     |year={{{year}}}

Latest revision as of 05:56, 7 May 2014


Top 10 DeveloperEdition: Special Navigation Bar linking from one headertab to the same type on the next page

Usage:

Example:

{{Top 10 DeveloperEdition:NavigationByHeadertab
|headertab=JAVA
|headertabLeft=JAVA2
|useprev=2013PrevHeaderTabDeveloperEdition
|usenext=2013NextHeaderTabDeveloperEdition
|prev=A6-{{Top_10_2010:ByTheNumbers
|6
|year=2013
|language=de}}
|next=A7-{{Top_10_2010:ByTheNumbers
|7
|year=2013
|language=de}}
|year=2013
|language=de
}}
« JAVA2   JAVA »