Difference between revisions of "Template:Navigation templates"

From BESA® Wiki
Jump to: navigation, search
(Removed Template:Navigation no hide, lack of usage & desire to eliminate/merge)
(Default Header color by class not by navbox, make it more clear that it is class dependent)
Line 6: Line 6:
 
|align="left"| {{tl|Navigation}}
 
|align="left"| {{tl|Navigation}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|OPEC}}
+
| {{no}}  || inherit || {{no}}  || {{tl|OPEC}}
 
|-
 
|-
 
|align="left"| {{tl|Navigation with image}}
 
|align="left"| {{tl|Navigation with image}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Left/right of body
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Left/right of body
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|Cetaceans}}
+
| {{no}}  || inherit || {{no}}  || {{tl|Cetaceans}}
 
|-
 
|-
 
|align="left"| {{tl|Navigation with columns}}
 
|align="left"| {{tl|Navigation with columns}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  ||  
+
| {{no}}  || inherit || {{no}}  ||  
 
|-
 
|-
 
|align="left"| {{tl|Dynamic navigation box}}
 
|align="left"| {{tl|Dynamic navigation box}}
 
| {{yes2}} <tt>collapsible</tt> || {{no}}
 
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{no}}  ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|CSUHeads}}
+
| {{no}}  || inherit || {{yes}} || {{tl|CSUHeads}}
 
|-
 
|-
 
|align="left"| {{tl|Dynamic navigation box with image}}
 
|align="left"| {{tl|Dynamic navigation box with image}}
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|SlovakPMs}}
+
| {{no}}  || inherit || {{no}}  || {{tl|SlovakPMs}}
 
|-
 
|-
 
|align="left"| {{tl|Navbox generic}}
 
|align="left"| {{tl|Navbox generic}}
 
| {{yes2}} <tt>collapsible</tt> || {{no}}
 
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|Dilbert}}
+
| {{yes}} || inherit || {{yes}} || {{tl|Dilbert}}
 
|-
 
|-
 
|align="left"| {{tl|Navbox generic with image}}
 
|align="left"| {{tl|Navbox generic with image}}
 
| {{yes2}} <tt>collapsible</tt> || {{yes2}} Right-hand side
 
| {{yes2}} <tt>collapsible</tt> || {{yes2}} Right-hand side
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} ||  
+
| {{yes}} || inherit || {{yes}} ||  
 
|-
 
|-
 
|align="left"| {{tl|NavigationBox}}
 
|align="left"| {{tl|NavigationBox}}
Line 48: Line 48:
 
|align="left"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
 
|align="left"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
 
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  ||
+
| {{no}}  || inherit || {{no}}  ||
 
|}
 
|}
  
Line 54: Line 54:
 
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
 
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
 
! CSS class
 
! CSS class
! collapses when<sup>†</sup> !! custom initial&nbsp;state !! Nesting  
+
! collapses when<sup>†</sup> !! custom initial&nbsp;state !! Default header color !! Nesting  
 
|-
 
|-
 
|align="left"| <tt>NavFrame</tt>
 
|align="left"| <tt>NavFrame</tt>
 
| [[Wikipedia:NavFrame|NavFrame]]
 
| [[Wikipedia:NavFrame|NavFrame]]
| 3+ of the same || {{no}}  || {{yes}}
+
| 3+ of the same || {{no}}  ||style="background-color:#efefef;"| #efefef || {{yes}}
 
|-
 
|-
 
|align="left"| <tt>collapsible</tt>
 
|align="left"| <tt>collapsible</tt>
 
| navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]]
 
| navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]]
| 2+ of the same || {{yes}} || {{no}}
+
| 2+ of the same || {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{no}}
 
|-
 
|-
 
|colspan="5" align="left"| <small>† For the technically minded, see [[MediaWiki:Common.js]].</small>
 
|colspan="5" align="left"| <small>† For the technically minded, see [[MediaWiki:Common.js]].</small>

Revision as of 08:08, 19 February 2007

Template:Tnavbar collapsible Image Groups Default header color Style parameter Example
{{Navigation}} Template:Yes2 NavFrame Template:No Template:No inherit Template:No {{OPEC}}
{{Navigation with image}} Template:Yes2 NavFrame Template:Yes2 Left/right of body Template:No inherit Template:No {{Cetaceans}}
{{Navigation with columns}} Template:Yes2 NavFrame Template:No Template:No inherit Template:No
{{Dynamic navigation box}} Template:Yes2 collapsible Template:No Template:No inherit Template:Yes {{CSUHeads}}
{{Dynamic navigation box with image}} Template:Yes2 NavFrame Template:Yes2 Upper left Template:No inherit Template:No {{SlovakPMs}}
{{Navbox generic}} Template:Yes2 collapsible Template:No Template:Yes inherit Template:Yes {{Dilbert}}
{{Navbox generic with image}} Template:Yes2 collapsible Template:Yes2 Right-hand side Template:Yes inherit Template:Yes
{{NavigationBox}} Template:No Template:Yes2 Right of title+body Template:No #ccccff Template:No {{EPA}}
{{Commons:NavigationBox}} Template:No Template:Yes2 Right of title+body Template:No #ccccff Template:No
{{Commons:Dynamic navigation box}} Template:Yes2 NavFrame Template:No Template:No #ccccff Template:No
{{Commons:Dynamic navigation box with image}}  Template:Yes2 NavFrame Template:Yes2 Upper left Template:No inherit Template:No
Template:Tnavbar CSS class collapses when custom initial state Default header color Nesting
NavFrame NavFrame 3+ of the same Template:No #efefef Template:Yes
collapsible navbox, collapsible 2+ of the same Template:Yes #ccccff Template:No
† For the technically minded, see MediaWiki:Common.js.