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

From OWASP
Jump to: navigation, search
(added optional parameters headertabLeft and headertabRight)
(Switch Back: ndo revision 174353 by T.Gigler (talk))
Line 1: Line 1:
==Top 10 DeveloperEdition: Special Navigation Bar linking from one headertab to the same type on the next page==
+
<!-- Top 10 DeveloperEdition: Special Navigation Bar linking from one headertab to the same type on the next page --->
==='''Usage:''' ===
+
'''Example:'''
+
:<nowiki>{{Top 10 DeveloperEdition:NavigationByHeadertab</nowiki>
+
::<nowiki>|headertab=JAVA</nowiki>
+
::<nowiki>|headertabRight=JAVA-2</nowiki>
+
::<nowiki>|useprev=2013PrevHeaderTabDeveloperEdition</nowiki>
+
::<nowiki>|usenext=2013NextHeaderTabDeveloperEdition</nowiki>
+
::<nowiki>|prev=A5-{{Top_10_2010:ByTheNumbers</nowiki>
+
:::<nowiki>|5</nowiki>
+
:::<nowiki>|year=2013</nowiki>
+
:::<nowiki>|language=de}}</nowiki>
+
::<nowiki>|next=A7-{{Top_10_2010:ByTheNumbers</nowiki>
+
:::<nowiki>|7</nowiki>
+
:::<nowiki>|year=2013</nowiki>
+
:::<nowiki>|language=de}}</nowiki>
+
::<nowiki>|year=2013</nowiki>
+
::<nowiki>|language=de</nowiki>
+
:<nowiki>}}</nowiki>
+
 
+
{{Top 10 DeveloperEdition:NavigationByHeadertab
+
    |headertab=JAVA
+
    |headertabRight=JAVA-2
+
    |useprev=2013PrevHeaderTabDeveloperEdition
+
    |usenext=2013NextHeaderTabDeveloperEdition
+
    |prev=A5-{{Top_10_2010:ByTheNumbers
+
              |5
+
              |year=2013
+
              |language=de}}
+
    |next=A7-{{Top_10_2010:ByTheNumbers
+
              |7
+
              |year=2013
+
              |language=de}}
+
    |year=2013
+
    |language=de
+
}}
+
 
<includeonly> {{LinkBar
 
<includeonly> {{LinkBar
 
     |useprev={{{useprev}}}
 
     |useprev={{{useprev}}}
 
     |prev={{{prev}}}
 
     |prev={{{prev}}}
     |lblprev={{ #if:{{{headertabLeft}}}|{{{headertabLeft}}}|{{{headertab}}} }}
+
     |lblprev={{{headertab}}}
 
     |usenext={{{usenext}}}
 
     |usenext={{{usenext}}}
 
     |next={{{next}}}
 
     |next={{{next}}}
     |lblnext={{ #if:{{{headertabRight}}}|{{{headertabRight}}}|{{{headertab}}} }}
+
     |lblnext={{{headertab}}}
 
     |usemain=Nothing
 
     |usemain=Nothing
 
     |year={{{year}}}
 
     |year={{{year}}}
 
     |language={{{language}}}
 
     |language={{{language}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:34, 6 May 2014