Vorlage:Navigation templates: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
({{Navbox generic with image}} no longer in use, all templates using it were converted to {{Navbox generic}}. Also collapsible table can be nested.)
imported>David Kernow
K (updating)
Zeile 1: Zeile 1:
{| 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%;">Navigation template comparison</span>
|+ <span style="font-size:130%;">Navigation template comparison</span>
! style="text-align:left; padding-left:4px;" | {{Tnavbar|Navigational_templates|plain=1}}
|- style="line-height:11pt;"
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
! collapsible !! Header color<sup>†</sup>
! collapsible !! Header color<sup>†</sup>
! Image !! Groups !! Style<br/>parameter !! Example
! Image !! Groups !! Style (body)<br/>parameter/s !! Example
|-
|-
|style="text-align:left;"| {{tl|Navigation}}
|style="text-align:left;"| {{tl|Navigation}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| {{no}} || {{no}} || {{no}} || {{tl|OPEC}}
| {{no}} || {{no}} || {{yes}} || {{tl|OPEC}}
|-
|-
|style="text-align:left;"| {{tl|Navigation with image}}
|style="text-align:left;"| {{tl|Navigation with image}}
| {{yes2}} <tt>NavFrame</tt>  ||style="background-color:#ccccff;"| NavHead
| {{yes2}} <tt>NavFrame</tt>  ||style="background:#ccccff;"| NavHead
| {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|HolmesNovels}}
| {{yes2}} Left/right of body || {{no}} || {{yes}} || {{tl|HolmesNovels}}
|-
|-
|style="text-align:left;"| {{tl|Navigation with columns}}
|style="text-align:left;"| {{tl|Navigation with columns}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| {{no}} || {{no}} || {{no}} ||  
| {{no}} || {{no}} || {{no}} ||  
|-
|-
|style="text-align:left;"| {{tl|Dynamic navigation box}}
|style="text-align:left;"| {{tl|Dynamic navigation box}}
| {{yes2}} <tt>collapsible</tt> ||style="background-color:#ccccff;"| navbox
| {{yes2}} <tt>collapsible</tt> ||style="background:#ccccff;"| navbox
| {{no}} || {{no}} || {{yes}} || {{tl|CSUHeads}}
| {{no}} || {{no}} || {{yes}} || {{tl|CSUHeads}}
|-
|-
|style="text-align:left;"| {{tl|Dynamic navigation box with image}}
|style="text-align:left;"| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| NavHead
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}}
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}}
|-
|-
|style="text-align:left;"| {{tl|Navbox generic}}
|style="text-align:left;"| {{tl|Navbox generic}}
| {{yes2}} <tt>collapsible</tt> ||style="background-color:#ccccff;"| navbox
| {{yes2}} <tt>collapsible</tt> ||style="background:#ccccff;"| navbox
| {{yes2}} Right-hand side || {{yes}} || {{yes}} || {{tl|Dilbert}}
| {{yes2}} Right-hand side || {{yes}} || {{yes}} || {{tl|Dilbert}}
|-
|-
|style="text-align:left;"| {{tl|NavigationBox}}
|style="text-align:left;"| {{tl|NavigationBox}}
| {{no}} ||style="background-color:#ccccff;"| navbox  
| {{no}} ||style="background:#ccccff;"| navbox  
| {{yes2}} Right of title+body || {{no}} || {{no}} || {{tl|EPA}}
| {{yes2}} Right of title+body || {{no}} || {{no}} || {{tl|EPA}}
|-
|-
Zeile 36: Zeile 37:
|-
|-
|style="text-align:left;"| {{[[Commons:Template:NavigationBox|Commons:NavigationBox]]}}
|style="text-align:left;"| {{[[Commons:Template:NavigationBox|Commons:NavigationBox]]}}
| {{no}} ||style="background-color:#ccccff;"| #ccccff
| {{no}} ||style="background:#ccccff;"| #ccccff
| {{yes2}} Right of title+body || {{no}} || {{no}} ||
| {{yes2}} Right of title+body || {{no}} || {{no}} ||
|-
|-
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| #ccccff
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| #ccccff
| {{no}} || {{no}} || {{no}} ||
| {{no}} || {{no}} || {{no}} ||
|-
|-
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
|style="text-align:left;"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| #ccccff
| {{yes2}} <tt>NavFrame</tt> ||style="background:#ccccff;"| #ccccff
| {{yes2}} Upper left || {{no}} || {{no}} ||
| {{yes2}} Upper left || {{no}} || {{no}} ||
|-
|-
Zeile 54: Zeile 55:
{| class="wikitable" style="margin-left:auto; margin-right:auto; text-align:center; font-size:90%;"
{| class="wikitable" style="margin-left:auto; margin-right: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:11pt;"
!style="text-align:left;"| Type
!style="text-align:left;"| Type
! CSS classes
! CSS classes
Zeile 63: Zeile 64:
| NavFrame, NavHead, NavContent
| NavFrame, NavHead, NavContent
| 3+ of the same || {{no}} || {{yes}}
| 3+ of the same || {{no}} || {{yes}}
|style="background-color:#ccccff;"| #ccccff || 95%
|style="background:#ccccff;"| #ccccff || 95%
|-
|-
|align="left"| [[Wikipedia:NavFrame#Collapsible tables|Collapsible table]]
|align="left"| [[Wikipedia:NavFrame#Collapsible tables|Collapsible table]]
| collapsible, navbox
| collapsible, navbox
| 2+ of the same || {{yes}} || {{yes}}
| 2+ of the same || {{yes}} || {{yes}}
|style="background-color:#ccccff;"| #ccccff || 90%
|style="background:#ccccff;"| #ccccff || 90%
|-
|-
|colspan="7" style="text-align:left; font-size:smaller;"|
|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]].
For the technically minded, see [[MediaWiki:Common.css|Common.css]] and [[MediaWiki:Common.js|Common.js]].
|-
|}<noinclude>
|}<noinclude>


<!--Categories-->
[[Category:Navigational templates| {{PAGENAME}}]]
[[Category:Navigational templates| {{PAGENAME}}]]


<!--Other languages-->
[[ja:Template:Navigational templates]]
[[ja:Template:Navigational templates]]
[[zh:Template:Navigational templates]]
[[zh:Template:Navigational templates]]
</noinclude>
</noinclude>

Version vom 30. April 2007, 14:23 Uhr

Navigation template comparison
Vorlage:Tnavbar collapsible Header color Image Groups Style (body)
parameter/s
Example
{{Navigation}} Vorlage:Yes2 NavFrame NavHead Vorlage:No Vorlage:No Vorlage:Yes {{OPEC}}
{{Navigation with image}} Vorlage:Yes2 NavFrame NavHead Vorlage:Yes2 Left/right of body Vorlage:No Vorlage:Yes {{HolmesNovels}}
{{Navigation with columns}} Vorlage:Yes2 NavFrame NavHead Vorlage:No Vorlage:No Vorlage:No
{{Dynamic navigation box}} Vorlage:Yes2 collapsible navbox Vorlage:No Vorlage:No Vorlage:Yes {{CSUHeads}}
{{Dynamic navigation box with image}} Vorlage:Yes2 NavFrame NavHead Vorlage:Yes2 Upper left Vorlage:No Vorlage:No {{SlovakPMs}}
{{Navbox generic}} Vorlage:Yes2 collapsible navbox Vorlage:Yes2 Right-hand side Vorlage:Yes Vorlage:Yes {{Dilbert}}
{{NavigationBox}} Vorlage:No navbox Vorlage:Yes2 Right of title+body Vorlage:No Vorlage:No {{EPA}}
{{Commons:NavigationBox}} Vorlage:No #ccccff Vorlage:Yes2 Right of title+body Vorlage:No Vorlage:No
{{Commons:Dynamic navigation box}} Vorlage:Yes2 NavFrame #ccccff Vorlage:No Vorlage:No Vorlage:No
{{Commons:Dynamic navigation box with image}}  Vorlage:Yes2 NavFrame #ccccff Vorlage:Yes2 Upper left Vorlage:No Vorlage:No
The background color for the header or title is inherited from the class listed below. The templates have titlebkg parameters that override the default.
Collapsible attributes
Type CSS classes Collapses when Custom
initial state
Nesting Header
color
Font size
NavFrame div NavFrame, NavHead, NavContent 3+ of the same Vorlage:No Vorlage:Yes #ccccff 95%
Collapsible table collapsible, navbox 2+ of the same Vorlage:Yes Vorlage:Yes #ccccff 90%

For the technically minded, see Common.css and Common.js.

ja:Template:Navigational templates zh:Template:Navigational templates