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