Vorlage:Navigation templates: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(update)
K (152 Versionen von wikivoyage:Vorlage:Navigation_templates importiert)
 
(137 dazwischenliegende Versionen von 55 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 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|mini=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}} Using <tt>NavFrame</tt>
| collapsible || style="background: #ccf;" | navbox
| {{no}}
| Left/right of body || Yes || Yes ||
| {{no}}
 
|style="background-color: #f2f2f2;"| #f2f2f2
| {{no}}
| {{tl|OPEC}}
|-
|-
| {{tl|Navigation with image}}
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| {{yes2}} Using <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}}
 
|style="background-color: #f2f2f2;"| #f2f2f2
| {{no}}
| {{tl|Arab League}}
|-
|-
| {{tl|Dynamic navigation box}}
| style="text-align: left;" | {{tl|Navbox with columns}}
| {{yes2}} Using <tt>collapsible</tt>
| collapsible || style="background: #ccf;" | navbox
| {{no}}
| Left/right of columns || No || Yes ||
| {{no}}
 
|style="background-color: #f2f2f2;"| #f2f2f2
| {{yes}}
| {{tl|CSUHeads}}
|-
|-
| {{tl|Dynamic navigation box with image}}
| style="text-align: left;" | {{tl|Navbox years}}
| {{yes2}} Using <tt>NavFrame</tt>
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Upper left
| No || No || No ||
| {{no}}
 
|style="background-color: #f2f2f2;"| #f2f2f2
| {{no}}
| {{tl|SPDHeads}}
|-
| {{tl|Navbox generic}}
| {{yes2}} Using <tt>collapsible</tt>
| {{no}}
| {{yes}}
|style="background-color: #f2f2f2;"| #f2f2f2
| {{yes}}
| {{tl|Dilbert}}
|-
| {{tl|NavigationBox}}
| {{no}}
| {{yes2}} Right to both header and body
| {{no}}
|style="background-color: #f2f2f2;"| #f2f2f2
| {{no}}
| {{tl|GermanPresidents}}
|-
| {{[[commons:Template:NavigationBox|NavigationBox]]}} (commons)
|colspan="6"| Broken
|-
| {{[[commons:Template:Dynamic navigation box|Dynamic navigation box]]}} (commons)
| {{yes2}} Using <tt>NavFrame</tt>
| {{no}}
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
|
|-
| {{[[commons:Template:Dynamic navigation box with image|Dynamic navigation box with image]]}} (commons)
| {{yes2}} Using <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%;"
 
!   !! autocollapse logic !! custom initial state !! hide/show position
{| 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>
| <tt>NavFrame</tt> || 4 or more of the same || {{no}} || Right
|- style="line-height: 10pt;"
! Type !! CSS classes !! Javascript !! Collapses when !! Custom <br /> initial&nbsp;state !! Nesting
|-
|-
| <tt>collapsible</tt> || 2 or more of the same || {{yes}} || Right
| align="left" | [[:w:en:Help:Collapsing|Collapsible tables]]
|}
| collapsible
<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>
| Defined in [[MediaWiki:Common.js|Common.js]]
 
| 2 or more autocollapse on page || Yes || Yes
[[Category:Navigational templates| {{PAGENAME}}]]
|}<noinclude>
[[Kategorie:Vorlagen:Dokumentation]]
</noinclude>
</noinclude>

Aktuelle Version vom 27. Januar 2023, 07:22 Uhr

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
{{Navbox years}} collapsible navbox No No No
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