Vorlage:Navigation templates: Unterschied zwischen den Versionen
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}} | ||
|style="background-color: #efefef;"| #efefef, overridable | |style="background-color: #efefef;"| #efefef, overridable | ||
| | | {{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}} | ||
|style="background-color: #efefef;"| #efefef, overridable | |style="background-color: #efefef;"| #efefef, overridable | ||
| | | {{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}} | ||
|style="background-color: #ccf;"| #ccf, overridable | |style="background-color: #ccf;"| #ccf, overridable | ||
| | | {{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}} | ||
|style="background-color: #efefef;"| #efefef, overridable | |style="background-color: #efefef;"| #efefef, overridable | ||
| | | {{no}} | ||
| {{tl|SPDHeads}} | | {{tl|SPDHeads}} | ||
|- | |- | ||
| {{tl|Navbox generic}} | | {{tl|Navbox generic}} | ||
| Yes, with <tt>collapsible</tt> | | {{yes2}} Yes, with <tt>collapsible</tt> | ||
| | | {{no}} | ||
| | | {{yes}} | ||
|style="background-color: #ccf;"| #ccf, overridable | |style="background-color: #ccf;"| #ccf, overridable | ||
| | | {{yes}} | ||
| {{tl|Dilbert}} | | {{tl|Dilbert}} | ||
|- | |- | ||
| {{tl|NavigationBox}} | | {{tl|NavigationBox}} | ||
| | | {{no}} | ||
| Yes, right to both header and body | | {{yes2}} Yes, right to both header and body | ||
| | | {{no}} | ||
|style="background-color: #ccf;"| #ccf, overridable | |style="background-color: #ccf;"| #ccf, overridable | ||
| | | {{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}} | ||
|style="background-color: #ccccff;"| #ccccff, overridable | |style="background-color: #ccccff;"| #ccccff, overridable | ||
| | | {{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}} | ||
|style="background-color: #efefef;" | #efefef, overridable | |style="background-color: #efefef;" | #efefef, overridable | ||
| | | {{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 || | | <tt>NavFrame</tt> || 4 or more of the same || {{no}} || Right | ||
|- | |- | ||
| <tt>collapsible</tt> || 2 or more of the same || | | <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))