Vorlage:Navigation templates: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>BenB4
(smaller)
K (152 Versionen von wikivoyage:Vorlage:Navigation_templates importiert)
 
(81 dazwischenliegende Versionen von 44 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 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<sup>†</sup>
! Collapsible !! Header color
! Image !! Groups !! Style (body)<br/>parameter/s !! Example
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples
|-
|-
|style="text-align:left;"| {{tl|Navigation}}
| style="text-align: left;" | {{tl|Navbox}}
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| collapsible || style="background: #ccf;" | navbox
| {{no}} || {{no}} || {{yes}} || {{tl|OPEC}}
| Left/right of body || Yes || Yes ||
 
|-
|-
|style="text-align:left;"| {{tl|Navigation with image}}
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
| {{yes2}} <tt>NavFrame</tt>  ||style="background:#ccccff;"| NavHead
| collapsible || style="background: #ccf;" | navbox
| {{yes2}} Left/right of body || {{no}} || {{yes}} || {{tl|HolmesNovels}}
| Left/right of body and/or in each list || Yes || Yes ||
 
|-
|-
|style="text-align:left;"| {{tl|Navigation with columns}}
| style="text-align: left;" | {{tl|Navbox with columns}}
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| collapsible || style="background: #ccf;" | navbox
| {{no}} || {{no}} || {{yes}} || {{tl|UK subdivisions}}
| Left/right of columns || No || Yes ||
 
|-
|-
|style="text-align:left;"| {{tl|Dynamic navigation box}}
| style="text-align: left;" | {{tl|Navbox years}}
| {{yes2}} <tt>collapsible</tt> ||style="background:#ccccff;"| navbox
| collapsible || style="background: #ccf;" | navbox
| {{no}} || {{no}} || {{yes}} || n/a
| No || No || No ||
|-
 
|style="text-align:left;"| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}}
|-
|style="text-align:left;"| {{tl|Navbox generic}}
| {{yes2}} <tt>collapsible</tt> ||style="background:#ccccff;"| navbox
| {{yes2}} Right-hand side || {{yes}} || {{yes}} || {{tl|Dilbert}}
|-
|style="text-align:left;"| {{tl|NavigationBox}}
| {{no}} ||style="background:#ccccff;"| navbox  
| {{yes2}} Right of title+body || {{no}} || {{no}} || {{tl|Bowl Games}}
|-
|colspan="7" style="border-left-style:hidden; border-right-style:hidden;"|
|-
|style="text-align:left;"| {{[[Commons:Template:NavigationBox|Commons:NavigationBox]]}}
| {{no}} ||style="background:#ccccff;"| #ccccff
| {{yes2}} Right of title+body || {{no}} || {{no}} ||
|-
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| #ccccff
| {{no}} || {{no}} || {{no}} ||
|-
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| #ccccff
| {{yes2}} Upper left || {{no}} || {{no}} ||
|-
|colspan="7" style="border-left-style:hidden; border-right-style:hidden;"|
|-
|colspan="7" style="text-align:left; font-size: smaller;"| <sup>†</sup> The background color for the header or title is inherited from the class listed below.  The templates have <tt>titlestyle</tt> parameters that can be used to override the default.
|}
|}


{| class="wikitable" style="margin-left:auto; margin-right: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;"
!style="text-align:left;"| Type
! Type !! CSS classes !! Javascript !! Collapses when !! Custom <br /> initial&nbsp;state !! Nesting
! CSS classes
! Collapses when !! Custom<br/>initial&nbsp;state !! Nesting
! Default<br/>header<br/>color !! Font size
|-
|align="left"| [[Wikipedia:NavFrame|NavFrame div]]
| NavFrame, NavHead, NavContent
| NavContent style="display:none;" || {{yes}} || {{yes}}
|style="background:#ccccff;"| #ccccff || 95%
|-
|align="left"| [[Wikipedia:NavFrame#Collapsible tables|Collapsible table]]
| collapsible, navbox
| 2+ autocollapse on page || {{yes}} || {{yes}}
|style="background:#ccccff;"| #ccccff || 90%
|-
|colspan="7" style="text-align:left; font-size:smaller;"|
For the technically minded, see [[MediaWiki:Common.css|Common.css]] and [[MediaWiki:Common.js|Common.js]].
|-
|-
| align="left" | [[:w:en:Help:Collapsing|Collapsible tables]]
| collapsible
| Defined in [[MediaWiki:Common.js|Common.js]]
| 2 or more autocollapse on page || Yes || Yes
|}<noinclude>
|}<noinclude>
 
[[Kategorie:Vorlagen:Dokumentation]]
 
<!--Categories-->
[[Category:Navigational templates| {{PAGENAME}}]]
 
<!--Other languages-->
[[ar:قالب:Navigational templates]]
[[ja:Template:Navigational templates]]
[[ro:Format:Navigational templates]]
[[sq:Stampa:Stampa navigacione]]
[[zh:Template:Navigational templates]]
</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