Difference between revisions of "Template:Navigation templates"
From BESA® Wiki
(Dynamic navigation box now has overridable style) |
(updated to use colour coding using {{yes}} and {{no}}) |
||
Line 3: | Line 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}} | ||
|- | |- | ||
Line 54: | Line 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}} |
| | | | ||
|} | |} | ||
Line 72: | Line 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> |
Revision as of 06:04, 16 December 2006
Collapsible | Image | Groups | Header color | Custom table style | Real example | |
---|---|---|---|---|---|---|
{{Navigation}} | Template:Yes2 Yes, with NavFrame | Template:No | Template:No | #efefef, overridable | Template:No | {{OPEC}} |
{{Navigation with image}} | Template:Yes2 Yes, with NavFrame | Template:Yes2 Yes, resizable, left or right to the body | Template:No | #efefef, overridable | Template:No | {{Arab League}} |
{{Dynamic navigation box}} | Template:Yes2 Yes, with collapsible | Template:No | Template:No | #ccf, overridable | Template:Yes | {{CSUHeads}} |
{{Dynamic navigation box with image}} | Template:Yes2 Yes, with NavFrame | Template:Yes2 Yes, resizable, upper left | Template:No | #efefef, overridable | Template:No | {{SPDHeads}} |
{{Navbox generic}} | Template:Yes2 Yes, with collapsible | Template:No | Template:Yes | #ccf, overridable | Template:Yes | {{Dilbert}} |
{{NavigationBox}} | Template:No | Template:Yes2 Yes, right to both header and body | Template:No | #ccf, overridable | Template:No | {{GermanPresidents}} |
{{NavigationBox}} | Broken | |||||
{{Dynamic navigation box}} | Template:Yes2 Yes, with NavFrame | Template:No | Template:No | #ccccff, overridable | Template:No | |
{{Dynamic navigation box with image}} | Template:Yes2 Yes, with NavFrame | Template:Yes2 Yes, resizable, upper left | Template:No | #efefef, overridable | Template:No |
autocollapse logic | custom initial state | hide/show button position | |
---|---|---|---|
NavFrame | 4 or more of the same | Template:No | Right |
collapsible | 2 or more of the same | Template:Yes | Left |
{{NavigationBox}} (Image breaks titlebar; template deprecated? David Kernow (talk) 02:23, 29 November 2006 (UTC))