Template:Navigation templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser
m provided more documentation
meta>David Kernow
formatting, some rephrasing
Line 1: Line 1:
{|class="wikitable" style="margin-left:auto; margin-right:auto; width: auto; font-size: 90%;"
{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;"
!style="text-align:left;"| {{tnavbar|Navigational_templates|plain=1}} !! collapsible!! Image !! Groups !! Default Header Color !! Style Parameter !! Real Example
!style="text-align:left;"| {{tnavbar|Navigational_templates|plain=1}}
! collapsible !! Image
! Groups !! Default header color !! Style parameter !! Example
|-
|-
| {{tl|Navigation}}
|align="left"| {{tl|Navigation}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} <tt>NavFrame</tt>   || {{no}}
| {{no}}
| {{no}} ||style="background-color:#efefef;"| #efefef || {{no}} || {{tl|OPEC}}
| {{no}}
|style="background-color: #efefef;"| #efefef
| {{no}}
| {{tl|OPEC}}
|-
|-
| {{tl|Navigation with image}}
|align="left"| {{tl|Navigation with image}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} <tt>NavFrame</tt>   || {{yes2}} Left/right of body
| {{yes2}} Left/right to the body
| {{no}} ||style="background-color:#efefef;"| #efefef || {{no}} || {{tl|Cetaceans}}
| {{no}}
|style="background-color: #efefef;"| #efefef
| {{no}}
| {{tl|Arab League}}
|-
|-
| {{tl|Dynamic navigation box}}
|align="left"| {{tl|Dynamic navigation box}}
| {{yes2}} <tt>collapsible</tt>
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{no}}
| {{no}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|CSUHeads}}
| {{no}}
|style="background-color: #ccf;"| #ccccff
| {{yes}}
| {{tl|CSUHeads}}
|-
|-
| {{tl|Dynamic navigation box with image}}
|align="left"| {{tl|Dynamic navigation box with image}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} <tt>NavFrame</tt>   || {{yes2}} Upper left
| {{yes2}} Upper left
| {{no}} ||style="background-color:#efefef;"| #efefef || {{no}} || {{tl|SPDHeads}}
| {{no}}
|style="background-color: #efefef;"| #efefef
| {{no}}
| {{tl|SPDHeads}}
|-
|-
| {{tl|Navbox generic}}
|align="left"| {{tl|Navbox generic}}
| {{yes2}} <tt>collapsible</tt>
| {{yes2}} <tt>collapsible</tt> || {{no}}
| {{no}}
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} || {{tl|Dilbert}}
| {{yes}}
|style="background-color: #ccccff;"| #ccccff
| {{yes}}
| {{tl|Dilbert}}
|-
|-
| {{tl|Navbox generic with image}}
|align="left"| {{tl|Navbox generic with image}}
| {{yes2}} <tt>collapsible</tt>
| {{yes2}} <tt>collapsible</tt> || {{yes2}} Right-hand side
| {{yes2}} Right-hand side
| {{yes}} ||style="background-color:#ccccff;"| #ccccff || {{yes}} ||  
| {{yes}}  
|style="background-color: #ccccff;"| #ccccff
| {{yes}}
|
|-
|-
| {{tl|NavigationBox}}
|align="left"| {{tl|NavigationBox}}
| {{no}}
| {{no}}                       || {{yes2}} Right of header+body
| {{yes2}} Right to both header and body
| {{no}} ||style="background-color:#ccccff;"| #ccccff || {{no}} || {{tl|EPA}}
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
| {{tl|GermanPresidents}}
|-
|-
|{{tl|Navigation no hide}}
|align="left"| {{tl|Navigation no hide}}
| {{no}}
| {{no}}                       || {{no}}
| {{no}}
| {{no}} ||style="background-color:#eee;"   | #eee   || {{no}} ||  
| {{no}}
|style="background-color: #eee;"| #eee
| {{no}}
|
|-
|-
|
|colspan="7"|  
|colspan="7"|
|-
|-
| {{[[commons:Template:NavigationBox|Commons:NavigationBox]]}}
|align="left"| {{[[Commons:Template:NavigationBox|Commons:NavigationBox]]}}
| {{no}}
| {{no}}                       || {{yes2}} Right of header+body
| {{yes2}} Right to both header and body
| {{no}} ||style="background-color:#ccccff;"| #ccccff || {{no}} ||
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
|
|-
|-
| {{[[commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
|align="left"| {{[[Commons:Template:Dynamic navigation box|Commons:Dynamic navigation box]]}}
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} <tt>NavFrame</tt>   || {{no}}
| {{no}}
| {{no}} ||style="background-color:#ccccff;"| #ccccff || {{no}} ||
| {{no}}
|style="background-color: #ccccff;"| #ccccff
| {{no}}
|
|-
|-
| {{[[commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}
|align="left"| {{[[Commons:Template:Dynamic navigation box with image|Commons:Dynamic navigation box with image]]}}&nbsp;
| {{yes2}} <tt>NavFrame</tt>
| {{yes2}} <tt>NavFrame</tt>   || {{yes2}} Upper left
| {{yes2}} Upper left
| {{no}} ||style="background-color:#efefef;"| #efefef || {{no}} ||
| {{no}}
|style="background-color: #efefef;" | #efefef
| {{no}}
|
|}
|}
{|class="wikitable" style="margin-left:auto; margin-right:auto; font-size: 90%;"
 
!   !! CSS Class!! collapses when† !! custom initial state !! Nesting  
{|class="wikitable" style="margin-left:auto; margin-right:auto; text-align:center; font-size:90%;"
!
! CSS class
! collapses when<sup>†</sup> !! custom initial&nbsp;state !! Nesting  
|-
|-
| <tt>NavFrame</tt> || [[Wikipedia:NavFrame|NavFrame]] || 3+ of the same || {{no}} || {{yes}}
|align="left"| <tt>NavFrame</tt>
| [[Wikipedia:NavFrame|NavFrame]]
| 3+ of the same || {{no}} || {{yes}}
|-
|-
| <tt>collapsible</tt> || navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]] || 2+ of the same || {{yes}} || {{no}}
|align="left"| <tt>collapsible</tt>
|}
| navbox, [[Wikipedia:NavFrame#Collapsible tables|collapsible]]
† For the technical minded, see [[MediaWiki:Common.js]].<noinclude>
| 2+ of the same || {{yes}} || {{no}}
|-
|colspan="5" align="left"| <small>† For the technical minded, see [[MediaWiki:Common.js]].</small>
|}<noinclude>


[[Category:Navigational templates| {{PAGENAME}}]]
[[Category:Navigational templates| {{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 23:23, 5 January 2007

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