Vorlage:Navigation templates: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Chochopk
(Dynamic navigation box now has overridable style)
(updated to use colour coding using {{yes}} and {{no}})
Zeile 3: Zeile 3:
|-
|-
| {{tl|Navigation}}
| {{tl|Navigation}}
| Yes, with <tt>NavFrame</tt>
| {{yes2}} Yes, with <tt>NavFrame</tt>
| No
| {{no}}
| No
| {{no}}
|style="background-color: #efefef;"| #efefef, overridable
|style="background-color: #efefef;"| #efefef, overridable
| No
| {{no}}
| {{tl|OPEC}}
| {{tl|OPEC}}
|-
|-
| {{tl|Navigation with image}}
| {{tl|Navigation with image}}
| Yes, with <tt>NavFrame</tt>
| {{yes2}} Yes, with <tt>NavFrame</tt>
| Yes, resizable, left or right to the body
| {{yes2}} Yes, resizable, left or right to the body
| No
| {{no}}
|style="background-color: #efefef;"| #efefef, overridable
|style="background-color: #efefef;"| #efefef, overridable
| No
| {{no}}
| {{tl|Arab League}}
| {{tl|Arab League}}
|-
|-
| {{tl|Dynamic navigation box}}
| {{tl|Dynamic navigation box}}
| Yes, with <tt>collapsible</tt>
| {{yes2}} Yes, with <tt>collapsible</tt>
| No
| {{no}}
| No
| {{no}}
|style="background-color: #ccf;"| #ccf, overridable
|style="background-color: #ccf;"| #ccf, overridable
| Yes
| {{yes}}
| {{tl|CSUHeads}}
| {{tl|CSUHeads}}
|-
|-
| {{tl|Dynamic navigation box with image}}
| {{tl|Dynamic navigation box with image}}
| Yes, with <tt>NavFrame</tt>
| {{yes2}} Yes, with <tt>NavFrame</tt>
| Yes, resizable, upper left
| {{yes2}} Yes, resizable, upper left
| No
| {{no}}
|style="background-color: #efefef;"| #efefef, overridable
|style="background-color: #efefef;"| #efefef, overridable
| No
| {{no}}
| {{tl|SPDHeads}}
| {{tl|SPDHeads}}
|-
|-
| {{tl|Navbox generic}}
| {{tl|Navbox generic}}
| Yes, with <tt>collapsible</tt>
| {{yes2}} Yes, with <tt>collapsible</tt>
| No
| {{no}}
| Yes
| {{yes}}
|style="background-color: #ccf;"| #ccf, overridable
|style="background-color: #ccf;"| #ccf, overridable
| Yes
| {{yes}}
| {{tl|Dilbert}}
| {{tl|Dilbert}}
|-
|-
| {{tl|NavigationBox}}
| {{tl|NavigationBox}}
| No
| {{no}}
| Yes, right to both header and body
| {{yes2}} Yes, right to both header and body
| No
| {{no}}
|style="background-color: #ccf;"| #ccf, overridable
|style="background-color: #ccf;"| #ccf, overridable
| No
| {{no}}
| {{tl|GermanPresidents}}
| {{tl|GermanPresidents}}
|-
|-
Zeile 54: Zeile 54:
|-
|-
| {{[[commons:Template:Dynamic navigation box|Dynamic navigation box]]}}
| {{[[commons:Template:Dynamic navigation box|Dynamic navigation box]]}}
| Yes, with <tt>NavFrame</tt>
| {{yes2}} Yes, with <tt>NavFrame</tt>
| No
| {{no}}
| No
| {{no}}
|style="background-color: #ccccff;"| #ccccff, overridable
|style="background-color: #ccccff;"| #ccccff, overridable
| No
| {{no}}
|
|
|-
|-
| {{[[commons:Template:Dynamic navigation box with image|Dynamic navigation box with image]]}}
| {{[[commons:Template:Dynamic navigation box with image|Dynamic navigation box with image]]}}
| Yes, with <tt>NavFrame</tt>
| {{yes2}} Yes, with <tt>NavFrame</tt>
| Yes, resizable, upper left
| {{yes2}} Yes, resizable, upper left
| No
| {{no}}
|style="background-color: #efefef;" | #efefef, overridable
|style="background-color: #efefef;" | #efefef, overridable
| No
| {{no}}
|
|
|}
|}
Zeile 72: Zeile 72:
!  !! autocollapse logic !! custom initial state !! hide/show button position
!  !! autocollapse logic !! custom initial state !! hide/show button position
|-
|-
| <tt>NavFrame</tt> || 4 or more of the same || No || Right
| <tt>NavFrame</tt> || 4 or more of the same || {{no}} || Right
|-
|-
| <tt>collapsible</tt> || 2 or more of the same || Yes || Left
| <tt>collapsible</tt> || 2 or more of the same || {{yes}} || Left
|}
|}
<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>
<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>

Version vom 16. Dezember 2006, 07:04 Uhr

Collapsible Image Groups Header color Custom table style Real example
{{Navigation}} Vorlage:Yes2 Yes, with NavFrame Vorlage:No Vorlage:No #efefef, overridable Vorlage:No {{OPEC}}
{{Navigation with image}} Vorlage:Yes2 Yes, with NavFrame Vorlage:Yes2 Yes, resizable, left or right to the body Vorlage:No #efefef, overridable Vorlage:No {{Arab League}}
{{Dynamic navigation box}} Vorlage:Yes2 Yes, with collapsible Vorlage:No Vorlage:No #ccf, overridable Vorlage:Yes {{CSUHeads}}
{{Dynamic navigation box with image}} Vorlage:Yes2 Yes, with NavFrame Vorlage:Yes2 Yes, resizable, upper left Vorlage:No #efefef, overridable Vorlage:No {{SPDHeads}}
{{Navbox generic}} Vorlage:Yes2 Yes, with collapsible Vorlage:No Vorlage:Yes #ccf, overridable Vorlage:Yes {{Dilbert}}
{{NavigationBox}} Vorlage:No Vorlage:Yes2 Yes, right to both header and body Vorlage:No #ccf, overridable Vorlage:No {{GermanPresidents}}
{{NavigationBox}} Broken
{{Dynamic navigation box}} Vorlage:Yes2 Yes, with NavFrame Vorlage:No Vorlage:No #ccccff, overridable Vorlage:No
{{Dynamic navigation box with image}} Vorlage:Yes2 Yes, with NavFrame Vorlage:Yes2 Yes, resizable, upper left Vorlage:No #efefef, overridable Vorlage:No
autocollapse logic custom initial state hide/show button position
NavFrame 4 or more of the same Vorlage:No Right
collapsible 2 or more of the same Vorlage:Yes Left

{{NavigationBox}} (Image breaks titlebar; template deprecated? David Kernow (talk) 02:23, 29 November 2006 (UTC))