Template:Navigation templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw background colors for collapsible tables also inherited (from class=navbox), fix incorrect colors, show default font sizes |
meta>David Kernow commenting-out template still under development |
||
| Line 13: | Line 13: | ||
| {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|Cetaceans}} | | {{yes2}} Left/right of body || {{no}} || {{no}} || {{tl|Cetaceans}} | ||
|- | |- | ||
| align="left"| {{tl|Navigation with columns}} | <!--| align="left"| {{tl|Navigation with columns}} | ||
| {{yes2}} <tt>NavFrame</tt> || style="background-color:#efefef;" | NavHead | | {{yes2}} <tt>NavFrame</tt> || style="background-color:#efefef;" | NavHead | ||
| {{no}} || {{no}} || {{no}} || | | {{no}} || {{no}} || {{no}} || | ||
|- | |- --> | ||
| align="left" | {{tl|Dynamic navigation box}} | | align="left" | {{tl|Dynamic navigation box}} | ||
| {{yes2}} <tt>collapsible</tt> || style="background-color:#ccccff;" | navbox | | {{yes2}} <tt>collapsible</tt> || style="background-color:#ccccff;" | navbox | ||
Revision as of 16:53, 21 February 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 | {{Cetaceans}} |
| {{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 | No | 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 CSS class: navbox uses #ccf and NavHead uses #efefef (as defined in Common.css). All the current navigation templates have a color parameter that will override these defaults. | ||||||
| Template:Tnavbar | Classes used | Collapses when | Custom initial state | Nesting | Header color | Font size |
|---|---|---|---|---|---|---|
| NavFrame div | NavFrame, NavHead, NavContent | 3+ of the same | No | Yes | #efefef | NavFrame: 95% NavHead: 100% NavContent: 100% |
| Collapsible table | collapsible, navbox | 2+ of the same | Yes | No | #ccccff | navbox: 90% |
| Note: CSS classes are defined in Common.css and JavaScript for collapsible templates is located in Common.js. | ||||||