Template:Navigation templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Chochopk
css class
Ookami (talk | contribs)
m 164 revisions imported
 
(139 intermediate revisions by 67 users not shown)
Line 1: Line 1:
{|class="wikitable" style="margin-left:auto; margin-right:auto; width: auto; font-size: 90%;"
{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
!style="text-align:left;"| {{tnavbar|Navigational_templates|plain=1}} !! collapsible!! Image !! Groups !! Default Header Color !! Style Parameter !! Real Example
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
|- style="line-height: 10pt;"
! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}}
! Collapsible !! Header color
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples
|-
|-
| {{tl|Navigation}}
| style="text-align: left;" | {{tl|Navbox}}
| {{yes2}} <tt>NavFrame</tt>
| collapsible || style="background: #ccf;" | navbox
| {{no}}
| Left/right of body || Yes || Yes ||
| {{no}}
* {{tl|Solar System}}
|style="background-color: #efefef;"| #efefef
* {{tl|Governance of Greater London}}
| {{no}}
| {{tl|OPEC}}
|-
|-
| {{tl|Navigation with image}}
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| {{yes2}} <tt>NavFrame</tt>
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Left/right to the body
| Left/right of body and/or in each list || Yes || Yes ||
| {{no}}
* {{tl|Tetrapodomorpha|state=collapsed}}
|style="background-color: #efefef;"| #efefef
| {{no}}
| {{tl|Arab League}}
|-
|-
| {{tl|Dynamic navigation box}}
| style="text-align: left;" | {{tl|Navbox with columns}}
| {{yes2}} <tt>collapsible</tt>
| collapsible || style="background: #ccf;" | navbox
| {{no}}
| Left/right of columns || No || Yes ||
| {{no}}
* {{tl|Current U.S. Senators}}
|style="background-color: #ccf;"| #ccccff
* {{tl|Historical regions of the Czech Republic}}
| {{yes}}
| {{tl|CSUHeads}}
|-
| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} Upper left
| {{no}}
|style="background-color: #efefef;"| #efefef
| {{no}}
| {{tl|SPDHeads}}
|-
| {{tl|Navbox generic}}
| {{yes2}} <tt>collapsible</tt>
| {{no}}
| {{yes}}
|style="background-color: #ccccff;"| #ccccff
| {{yes}}
| {{tl|Dilbert}}
|-
| {{tl|Navbox generic with image}}
| {{yes2}} <tt>collapsible</tt>
| {{yes2}} Right-hand side
| {{yes}}
|style="background-color: #ccccff;"| #ccccff
| {{yes}}
|
|-
| {{tl|NavigationBox}}*
| {{no}}
| {{yes2}} Right to both header and body
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
| {{tl|GermanPresidents}}
|-
| {{[[commons:Template:NavigationBox|Commons:NavigationBox]]}}
|colspan="7"| Broken
|-
| {{[[commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
| {{yes2}} <tt>NavFrame</tt>
| {{no}}
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
|
|-
| {{[[commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} Upper left
| {{no}}
|style="background-color: #efefef;" | #efefef
| {{no}}
|
|}
|}
{|class="wikitable" style="margin-left:auto; margin-right:auto; font-size: 90%;"
 
!   !! CSS Class!! autocollapse logic !! custom initial state !! Nesting  
{| 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
|-
|-
| <tt>NavFrame</tt>|| [[Wikipedia:NavFrame|NavFrame]] || 3 or more of the same || {{no}} || {{yes}}
| style="text-align:left;" | [[Help:Collapsing|Collapsible tables]]
|-
| collapsible
| <tt>collapsible</tt> || navbox, collapsible || 2 or more of the same || {{yes}} || {{no}}
| Defined in [[MediaWiki:Common.js|Common.js]]
|}
| 2 or more autocollapse on page || Yes || Yes
<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>
|}<noinclude>
 
{{documentation}}
[[Category:Navigational templates| {{PAGENAME}}]]
[[Category:Navigational boxes|Δ]]
</noinclude>
[[Category:Documentation shared content templates]]
{{convert to use Navbox}}</noinclude>

Latest revision as of 13:29, 3 September 2020

Navigation templates comparison
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