Difference between revisions of "Template:Navigation templates"

From BESA® Wiki
Jump to: navigation, search
(80%)
m (150 revisions)
 
(149 intermediate revisions by 57 users not shown)
Line 1: Line 1:
{{Navbox generic
+
{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
|name    = Navigational templates
+
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
|title  = Root navigational templates
+
|- style="line-height: 10pt;"
|style   = text-align:left; width: 80%;
+
! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}}
|state  =
+
! Collapsible !! Header color
|group1  = Collapsible (using <code>NavFrame</code>)
+
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples
|list1  = {{tl|Navigation}} {{·}} {{tl|Navigation with image}} {{·}} {{tl|Dynamic navigation box with image}}
+
|-
|group2  = Collapsible (using <code>collapsible</code>)
+
| style="text-align: left;" | {{tl|Navbox}}
|list2  = {{tl|Dynamic navigation box}}
+
| collapsible || style="background: #ccf;" | navbox
|group3  = Collapsable with groups (using <code>collapsible</code>)
+
| Left/right of body || Yes || Yes ||
|list3  = {{tl|Navbox generic}}
+
* {{tl|Solar System}}
|group4  = Non-collapsable
+
* {{tl|Governance of Greater London}}
|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>
+
|-
|group5  = On Commons
+
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
|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]]}}
+
| collapsible || style="background: #ccf;" | navbox
}}
+
| Left/right of body and/or in each list || Yes || Yes ||
 +
* {{tl|Scouting}}
 +
* {{tl|University of Michigan}}
 +
|-
 +
| style="text-align: left;" | {{tl|Navbox with columns}}
 +
| collapsible || style="background: #ccf;" | navbox
 +
| Left/right of columns || No || Yes ||
 +
* {{tl|Current U.S. Senators}}
 +
* {{tl|Historical regions of the Czech Republic}}
 +
|}
 +
 
 +
{| class="wikitable" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
 +
|+ <span style="font-size: 130%;">Collapsible attributes</span>
 +
|- style="line-height: 10pt;"
 +
! Type !! CSS classes !! JavaScript !! Collapses when !! Custom <br /> initial&nbsp;state !! Nesting
 +
|-
 +
| style="text-align:left;" | [[Help:Collapsing|Collapsible tables]]
 +
| collapsible
 +
| Defined in [[MediaWiki:Common.js|Common.js]]
 +
| 2 or more autocollapse on page || Yes || Yes
 +
|}<noinclude>
 +
 
 +
[[Category:Navigational boxes| ]]
 +
[[Category:Documentation shared content templates]]
 +
 
 +
</noinclude>

Latest revision as of 13:23, 8 April 2016

Navigation templates comparison
Script error Collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes
Collapsible attributes
Type CSS classes JavaScript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes