Difference between revisions of "Template:Navigation templates"

From BESA® Wiki
Jump to: navigation, search
(formatting, rephrasing)
(complete rewrite with much detail)
Line 1: Line 1:
{{Navbox generic
+
{|class="wikitable" style="margin-left:auto; margin-right:auto; font-size: 90%;"
|name    = Navigational templates
+
! !! Collapsible !! Image !! Groups !! Header color !! Custom table style !! Real example
|title  = Root navigational templates
+
|-
|style   = width:80%; text-align:left;
+
| {{tl|Navigation}}
|state  =
+
| Yes, with <tt>NavFrame</tt>
|group1  = Collapsible using <tt>NavFrame</tt>
+
| No
|list1  = {{tl|Navigation}}{{·}} {{tl|Navigation with image}}{{·}} {{tl|Dynamic navigation box with image}}
+
| No
|group2  = Collapsible using <tt>collapsible</tt>
+
|style="background-color: #eee;"| #eee, overridable
|list2  = {{tl|Dynamic navigation box}}
+
| No
|group3  = Grouped items, collapsible using <tt>collapsible</tt>
+
| {{tl|OPEC}}
|list3  = {{tl|Navbox generic}}
+
|-
|group4  = Non-collapsable
+
| {{tl|Navigation with image}}
|list4  = {{tl|NavigationBox}} <small>(Image breaks titlebar; template deprecated? [[User:David Kernow|David Kernow]] <span style="font-size:90%;">[[User talk:David Kernow|(talk)]]</span> 02:23, 29 November 2006 (UTC))</small>
+
| Yes, with <tt>NavFrame</tt>
|group5  = On [http://commons.wikimedia.org/ Commons]
+
| Yes, resizable, left or right to the body
|list5  = {{[[commons:Template:NavigationBox|NavigationBox]]}}{{·}} {{[[commons:Template:Dynamic navigation box|Dynamic navigation box]]}}{{·}} {{[[commons:Template:Dynamic navigation box with image|Dynamic navigation box with image]]}}
+
| No
}}<noinclude>
+
|style="background-color: #eee;"| #eee, overridable
 +
| No
 +
| {{tl|Arab League}}
 +
|-
 +
| {{tl|Dynamic navigation box}}
 +
| Yes, with <tt>collapsible</tt>
 +
| No
 +
| No
 +
|style="background-color: #ccf;"| #ccf, overridable
 +
| No
 +
| {{tl|CSUHeads}}
 +
|-
 +
| {{tl|Dynamic navigation box with image}}
 +
| Yes, with <tt>NavFrame</tt>
 +
| Yes, resizable, upper left
 +
| No
 +
|style="background-color: #efefef;"| #efefef, overridable
 +
| No
 +
| {{tl|SPDHeads}}
 +
|-
 +
| {{tl|Navbox generic}}
 +
| Yes, with <tt>collapsible</tt>
 +
| No
 +
| Yes
 +
|style="background-color: #ccf;"| #ccf, not overridable
 +
| Yes
 +
| {{tl|Dilbert}}
 +
|-
 +
| {{tl|NavigationBox}}
 +
| No
 +
| Yes, right to both header and body
 +
| No
 +
|style="background-color: #ccf;"| #ccf, overridable
 +
| No
 +
| {{tl|GermanPresidents}}
 +
|-
 +
| {{[[commons:Template:NavigationBox|NavigationBox]]}}
 +
|colspan="6"| Broken
 +
|-
 +
| {{[[commons:Template:Dynamic navigation box|Dynamic navigation box]]}}
 +
| Yes, with <tt>NavFrame</tt>
 +
| No
 +
| No
 +
|style="background-color: #ccccff;"| #ccccff, overridable
 +
| No
 +
|
 +
|-
 +
| {{[[commons:Template:Dynamic navigation box with image|Dynamic navigation box with image]]}}
 +
| Yes, with <tt>NavFrame</tt>
 +
| Yes, resizable, upper left
 +
| No
 +
|style="background-color: #efefef;" | #efefef, overridable
 +
| No
 +
|
 +
|}
 +
{|class="wikitable" style="margin-left:auto; margin-right:auto; font-size: 90%;"
 +
!  !! autocollapse logic !! custom initial state !! hide/show button position
 +
|-
 +
| <tt>NavFrame</tt> || 4 or more of the same || No || Right
 +
|-
 +
| <tt>collapsible</tt> || 2 or more of the same || Yes || Left
 +
|}
 +
<nowiki>{{NavigationBox}}</nowiki> <small>(Image breaks titlebar; template deprecated? [[User:David Kernow|David Kernow]] <span style="font-size:90%;">[[User talk:David Kernow|(talk)]]</span> 02:23, 29 November 2006 (UTC))</small><noinclude>
  
 
[[Category:Navigational templates| {{PAGENAME}}]]
 
[[Category:Navigational templates| {{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 02:07, 16 December 2006

Collapsible Image Groups Header color Custom table style Real example
{{Navigation}} Yes, with NavFrame No No #eee, overridable No {{OPEC}}
{{Navigation with image}} Yes, with NavFrame Yes, resizable, left or right to the body No #eee, overridable No {{Arab League}}
{{Dynamic navigation box}} Yes, with collapsible No No #ccf, overridable No {{CSUHeads}}
{{Dynamic navigation box with image}} Yes, with NavFrame Yes, resizable, upper left No #efefef, overridable No {{SPDHeads}}
{{Navbox generic}} Yes, with collapsible No Yes #ccf, not overridable Yes {{Dilbert}}
{{NavigationBox}} No Yes, right to both header and body No #ccf, overridable No {{GermanPresidents}}
{{NavigationBox}} Broken
{{Dynamic navigation box}} Yes, with NavFrame No No #ccccff, overridable No
{{Dynamic navigation box with image}} Yes, with NavFrame Yes, resizable, upper left No #efefef, overridable No
autocollapse logic custom initial state hide/show button position
NavFrame 4 or more of the same No Right
collapsible 2 or more of the same Yes Left

{{NavigationBox}} (Image breaks titlebar; template deprecated? David Kernow (talk) 02:23, 29 November 2006 (UTC))