Difference between revisions of "Template:Navigation templates"

From BESA® Wiki
Jump to: navigation, search
m
(NavHead background color was changed to #ccccff as of 18 March 2007 update to MediaWiki:Common.css - this only applies to Wikipedia templates - Commons NavHead still uses #efefef)
Line 6: Line 6:
 
|-
 
|-
 
|style="text-align:left;"| {{tl|Navigation}}
 
|style="text-align:left;"| {{tl|Navigation}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#efefef;"| NavHead
+
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
 
| {{no}} || {{no}} || {{no}} || {{tl|OPEC}}
 
| {{no}} || {{no}} || {{no}} || {{tl|OPEC}}
 
|-
 
|-
 
|style="text-align:left;"| {{tl|Navigation with image}}
 
|style="text-align:left;"| {{tl|Navigation with image}}
| {{yes2}} <tt>NavFrame</tt>  ||style="background-color:#efefef;"| NavHead
+
| {{yes2}} <tt>NavFrame</tt>  ||style="background-color:#ccccff;"| NavHead
 
| {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|HolmesNovels}}
 
| {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|HolmesNovels}}
 
|-
 
|-
 
|style="text-align:left;"| {{tl|Navigation with columns}}
 
|style="text-align:left;"| {{tl|Navigation with columns}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#efefef;"| NavHead
+
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
 
| {{no}} || {{no}} || {{no}} ||  
 
| {{no}} || {{no}} || {{no}} ||  
 
|-
 
|-
Line 22: Line 22:
 
|-
 
|-
 
|style="text-align:left;"| {{tl|Dynamic navigation box with image}}
 
|style="text-align:left;"| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#efefef;"| NavHead
+
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
 
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}}
 
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}}
 
|-
 
|-

Revision as of 07:08, 28 March 2007

Navigation template comparison
Template:Tnavbar collapsible Header color Image Groups Style
parameter
Example
{{Navigation}} Template:Yes2 NavFrame NavHead Template:No Template:No Template:No {{OPEC}}
{{Navigation with image}} Template:Yes2 NavFrame NavHead Template:Yes2 Left/right of body Template:No Template:No {{HolmesNovels}}
{{Navigation with columns}} Template:Yes2 NavFrame NavHead Template:No Template:No Template:No
{{Dynamic navigation box}} Template:Yes2 collapsible navbox Template:No Template:No Template:Yes {{CSUHeads}}
{{Dynamic navigation box with image}} Template:Yes2 NavFrame NavHead Template:Yes2 Upper left Template:No Template:No {{SlovakPMs}}
{{Navbox generic}} Template:Yes2 collapsible navbox Template:Yes2 Right-hand side Template:Yes Template:Yes {{Dilbert}}
{{Navbox generic with image}} Template:Yes2 collapsible navbox Template:Yes2 Right-hand side Template:Yes Template:Yes {{Jewish life}}
{{NavigationBox}} Template:No navbox Template:Yes2 Right of title+body Template:No Template:No {{EPA}}
{{Commons:NavigationBox}} Template:No #ccccff Template:Yes2 Right of title+body Template:No Template:No
{{Commons:Dynamic navigation box}} Template:Yes2 NavFrame #ccccff Template:No Template:No Template:No
{{Commons:Dynamic navigation box with image}}  Template:Yes2 NavFrame NavHead Template:Yes2 Upper left Template:No Template:No
The background color for the header or title is inherited from the class listed below. The templates have color parameters that override the default.
Collapsible attributes
Type CSS classes Collapses when Custom
initial state
Nesting Header
color
Font size
NavFrame div NavFrame, NavHead, NavContent 3+ of the same Template:No Template:Yes #efefef 95%
Collapsible table collapsible, navbox 2+ of the same Template:Yes Template:No #ccccff 90%

For the technically minded, see Common.css and Common.js.