Template:Navigation templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser
Removed Template:Navigation no hide, lack of usage & desire to eliminate/merge
meta>Dispenser
Default Header color by class not by navbox, make it more clear that it is class dependent
Line 6: Line 6:
|align="left"| {{tl|Navigation}}
|align="left"| {{tl|Navigation}}
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|OPEC}}
| {{no}}  || inherit || {{no}}  || {{tl|OPEC}}
|-
|-
|align="left"| {{tl|Navigation with image}}
|align="left"| {{tl|Navigation with image}}
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Left/right of body
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Left/right of body
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|Cetaceans}}
| {{no}}  || inherit || {{no}}  || {{tl|Cetaceans}}
|-
|-
|align="left"| {{tl|Navigation with columns}}
|align="left"| {{tl|Navigation with columns}}
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{yes2}} <tt>NavFrame</tt>    || {{no}}
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  ||  
| {{no}}  || inherit || {{no}}  ||  
|-
|-
|align="left"| {{tl|Dynamic navigation box}}
|align="left"| {{tl|Dynamic navigation box}}
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{no}}  ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|CSUHeads}}
| {{no}}  || inherit || {{yes}} || {{tl|CSUHeads}}
|-
|-
|align="left"| {{tl|Dynamic navigation box with image}}
|align="left"| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  || {{tl|SlovakPMs}}
| {{no}}  || inherit || {{no}}  || {{tl|SlovakPMs}}
|-
|-
|align="left"| {{tl|Navbox generic}}
|align="left"| {{tl|Navbox generic}}
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|Dilbert}}
| {{yes}} || inherit || {{yes}} || {{tl|Dilbert}}
|-
|-
|align="left"| {{tl|Navbox generic with image}}
|align="left"| {{tl|Navbox generic with image}}
| {{yes2}} <tt>collapsible</tt> || {{yes2}} Right-hand side
| {{yes2}} <tt>collapsible</tt> || {{yes2}} Right-hand side
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} ||  
| {{yes}} || inherit || {{yes}} ||  
|-
|-
|align="left"| {{tl|NavigationBox}}
|align="left"| {{tl|NavigationBox}}
Line 48: Line 48:
|align="left"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
|align="left"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{yes2}} <tt>NavFrame</tt>    || {{yes2}} Upper left
| {{no}}  ||style="background-color:#efefef;"| #efefef || {{no}}  ||
| {{no}}  || inherit || {{no}}  ||
|}
|}


Line 54: Line 54:
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
! CSS class
! CSS class
! collapses when<sup>†</sup> !! custom initial&nbsp;state !! Nesting  
! collapses when<sup>†</sup> !! custom initial&nbsp;state !! Default header color !! Nesting  
|-
|-
|align="left"| <tt>NavFrame</tt>
|align="left"| <tt>NavFrame</tt>
| [[Wikipedia:NavFrame|NavFrame]]
| [[Wikipedia:NavFrame|NavFrame]]
| 3+ of the same || {{no}}  || {{yes}}
| 3+ of the same || {{no}}  ||style="background-color:#efefef;"| #efefef || {{yes}}
|-
|-
|align="left"| <tt>collapsible</tt>
|align="left"| <tt>collapsible</tt>
| navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]]
| navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]]
| 2+ of the same || {{yes}} || {{no}}
| 2+ of the same || {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{no}}
|-
|-
|colspan="5" align="left"| <small>† For the technically minded, see [[MediaWiki:Common.js]].</small>
|colspan="5" align="left"| <small>† For the technically minded, see [[MediaWiki:Common.js]].</small>

Revision as of 07:08, 19 February 2007

Template:Tnavbar collapsible Image Groups Default header color Style parameter Example
{{Navigation}} NavFrame No No inherit No {{OPEC}}
{{Navigation with image}} NavFrame Left/right of body No inherit No {{Cetaceans}}
{{Navigation with columns}} NavFrame No No inherit No
{{Dynamic navigation box}} collapsible No No inherit Yes {{CSUHeads}}
{{Dynamic navigation box with image}} NavFrame Upper left No inherit No {{SlovakPMs}}
{{Navbox generic}} collapsible No Yes inherit Yes {{Dilbert}}
{{Navbox generic with image}} collapsible Right-hand side Yes inherit Yes
{{NavigationBox}} No Right of title+body No #ccccff No {{EPA}}
{{Commons:NavigationBox}} No Right of title+body No #ccccff No
{{Commons:Dynamic navigation box}} NavFrame No No #ccccff No
{{Commons:Dynamic navigation box with image}}  NavFrame Upper left No inherit No
Template:Tnavbar CSS class collapses when custom initial state Default header color Nesting
NavFrame NavFrame 3+ of the same No #efefef Yes
collapsible navbox, collapsible 2+ of the same Yes #ccccff No
† For the technically minded, see MediaWiki:Common.js.