Difference between revisions of "Template:Navigation templates"

From BESA® Wiki
Jump to: navigation, search
(adding collapsible groups)
m (150 revisions)
 
(51 intermediate revisions by 38 users not shown)
Line 1: Line 1:
{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;"
+
{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
|+ <span style="font-size:130%;">Navigation template comparison</span>
+
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
|- style="line-height:10pt;"
+
|- style="line-height: 10pt;"
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
+
! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}}
! collapsible !! Header color
+
! Collapsible !! Header color
! Image !! Groups !! Style (body)<br/>parameter/s !! Examples
+
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples
 
|-
 
|-
|style="text-align:left;"| {{tl|Navbox}}
+
| style="text-align: left;" | {{tl|Navbox}}
| {{yes2}} collapsible ||style="background:#ccccff;"| navbox
+
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Left/right of body || {{yes}} || {{yes}}|| {{tl|USCongress}}, {{t1|Solar System}}
+
| Left/right of body || Yes || Yes ||
 +
* {{tl|Solar System}}
 +
* {{tl|Governance of Greater London}}
 
|-
 
|-
|style="text-align:left;"| {{tl|Navbox with columns}}
+
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| {{yes2}} collapsible ||style="background:#ccccff;"| navbox
+
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Left/right of columns || {{no}} || {{yes}} || {{t1|Current U.S. Senators}}, {{tl|Czech lands}}
+
| Left/right of body and/or in each list || Yes || Yes ||
 +
* {{tl|Scouting}}
 +
* {{tl|University of Michigan}}
 
|-
 
|-
|style="text-align:left;"| {{t1|Navbox with collapsible groups}}
+
| style="text-align: left;" | {{tl|Navbox with columns}}
| {{yes2}} collapsible ||style="background:#ccccff;"| navbox
+
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Left/right of body and/or in each list|| {{yes}} || {{yes}} || {{t1|University of Michigan}}, {{tl|Scouting}}
+
| 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%;"
+
{| 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>
+
|+ <span style="font-size: 130%;">Collapsible attributes</span>
|- style="line-height:10pt;"
+
|- style="line-height: 10pt;"
! | Type !! CSS classes !! Javascript !! Collapses when !! Custom<br/>initial&nbsp;state !! Nesting
+
! Type !! CSS classes !! JavaScript !! Collapses when !! Custom <br /> initial&nbsp;state !! Nesting
 
|-
 
|-
|align="left"| [[Wikipedia:Collapsible tables|Collapsible tables]]
+
| style="text-align:left;" | [[Help:Collapsing|Collapsible tables]]
 
| collapsible
 
| collapsible
 
| Defined in [[MediaWiki:Common.js|Common.js]]
 
| Defined in [[MediaWiki:Common.js|Common.js]]
| 2 or more autocollapse on page || {{yes}} || {{yes}}
+
| 2 or more autocollapse on page || Yes || Yes
 
|}<noinclude>
 
|}<noinclude>
  
<!--Categories-->
+
[[Category:Navigational boxes| ]]
[[Category:Navbox (navigational) templates|Navigational templates]]
+
[[Category:Documentation shared content templates]]
  
<!--Other languages-->
 
[[ar:قالب:Navigational templates]]
 
[[ja:Template:Navigational templates]]
 
[[ro:Format:Navigational templates]]
 
[[sq:Stampa:Stampa navigacione]]
 
[[tr:Şablon:Navigational templates]]
 
[[zh:Template:Navigational templates]]
 
 
</noinclude>
 
</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