Template:Navigation templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Dinoguy1000 mNo edit summary |
meta>Zyxw NavHead background color was changed to #ccccff as of 18 March 2007 update to MediaWiki:Common.css - this only applies to Wikipedia templates - Commons NavHead still uses #efefef |
||
Line 6: | Line 6: | ||
|- | |- | ||
|style="text-align:left;"| {{tl|Navigation}} | |style="text-align:left;"| {{tl|Navigation}} | ||
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:# | | {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead | ||
| {{no}} || {{no}} || {{no}} || {{tl|OPEC}} | | {{no}} || {{no}} || {{no}} || {{tl|OPEC}} | ||
|- | |- | ||
|style="text-align:left;"| {{tl|Navigation with image}} | |style="text-align:left;"| {{tl|Navigation with image}} | ||
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:# | | {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead | ||
| {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|HolmesNovels}} | | {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|HolmesNovels}} | ||
|- | |- | ||
|style="text-align:left;"| {{tl|Navigation with columns}} | |style="text-align:left;"| {{tl|Navigation with columns}} | ||
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:# | | {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead | ||
| {{no}} || {{no}} || {{no}} || | | {{no}} || {{no}} || {{no}} || | ||
|- | |- | ||
Line 22: | Line 22: | ||
|- | |- | ||
|style="text-align:left;"| {{tl|Dynamic navigation box with image}} | |style="text-align:left;"| {{tl|Dynamic navigation box with image}} | ||
| {{yes2}} <tt>NavFrame</tt> ||style="background-color:# | | {{yes2}} <tt>NavFrame</tt> ||style="background-color:#ccccff;"| NavHead | ||
| {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}} | | {{yes2}} Upper left || {{no}} || {{no}} || {{tl|SlovakPMs}} | ||
|- | |- |
Revision as of 06:08, 28 March 2007
Template:Tnavbar | collapsible | Header color† | Image | Groups | Style parameter |
Example |
---|---|---|---|---|---|---|
{{Navigation}} | NavFrame | NavHead | No | No | No | {{OPEC}} |
{{Navigation with image}} | NavFrame | NavHead | Left/right of body | No | No | {{HolmesNovels}} |
{{Navigation with columns}} | NavFrame | NavHead | No | No | No | |
{{Dynamic navigation box}} | collapsible | navbox | No | No | Yes | {{CSUHeads}} |
{{Dynamic navigation box with image}} | NavFrame | NavHead | Upper left | No | No | {{SlovakPMs}} |
{{Navbox generic}} | collapsible | navbox | Right-hand side | Yes | Yes | {{Dilbert}} |
{{Navbox generic with image}} | collapsible | navbox | Right-hand side | Yes | Yes | {{Jewish life}} |
{{NavigationBox}} | No | navbox | Right of title+body | No | No | {{EPA}} |
{{Commons:NavigationBox}} | No | #ccccff | Right of title+body | No | No | |
{{Commons:Dynamic navigation box}} | NavFrame | #ccccff | No | No | No | |
{{Commons:Dynamic navigation box with image}} | NavFrame | NavHead | Upper left | No | No | |
† The background color for the header or title is inherited from the class listed below. The templates have color parameters that override the default. |
Type | CSS classes | Collapses when | Custom initial state |
Nesting | Header color |
Font size |
---|---|---|---|---|---|---|
NavFrame div | NavFrame, NavHead, NavContent | 3+ of the same | No | Yes | #efefef | 95% |
Collapsible table | collapsible, navbox | 2+ of the same | Yes | No | #ccccff | 90% |
For the technically minded, see Common.css and Common.js. |