Template:Navigation templates: Difference between revisions

From HasanistanPedia
Jump to navigation Jump to search
HasanistanPedia>OIMGov
m (1 revision imported)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
<templatestyles src="Module:Navbox/styles.css" />
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
{| class="wikitable" style="margin-left: auto; margin-right: auto; text-align: center;"
|- style="line-height: 10pt;"
|+ Navigation templates comparison {{Navbar|Navigation templates|plain=1|brackets=y}}
! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}}
|-
! Template
! Collapsible !! Header color
! Collapsible !! Header color
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples
! Image !! Groups !! Style (body) <br /> parameter/s
|-
|-
| style="text-align: left;" | {{tl|Navbox}}
| style="text-align: left;" | {{tl|Navbox}}
| collapsible || style="background: #ccf;" | navbox
| collapsible || class="navbox-title" | navbox
| Left/right of body || Yes || Yes ||
| Left/right of body || Yes || Yes
* {{tl|Solar System}}
* {{tl|Governance of Greater London}}
|-
|-
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| collapsible || style="background: #ccf;" | navbox
| collapsible || class="navbox-title" | navbox
| Left/right of body and/or in each list || Yes || Yes ||
| Left/right of body and/or in each list || Yes || Yes
* {{tl|Tetrapodomorpha|state=collapsed}}
|-
|-
| style="text-align: left;" | {{tl|Navbox with columns}}
| style="text-align: left;" | {{tl|Navbox with columns}}
| collapsible || style="background: #ccf;" | navbox
| collapsible || class="navbox-title" | navbox
| Left/right of columns || No || Yes ||
| 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; text-align: center;"
|+ <span style="font-size: 130%;">Collapsible attributes</span>
|+ Collapsible attributes
|- 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
|-
|-
| style="text-align:left;" | [[Help:Collapsing|Collapsible tables]]
| style="text-align:left;" | [[Help:Collapsing|Collapsible tables]]
| collapsible
| mw-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>
{{documentation}}
[[Category:Navbox meta-templates|Δ]]
[[Category:Navigational boxes|Δ]]
[[Category:Documentation shared content templates]]
[[Category:Documentation shared content templates]]
{{convert to use Navbox}}</noinclude>
</noinclude>

Latest revision as of 14:57, 22 December 2023

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