Difference between revisions of "Template:Navigation templates"
From BESA® Wiki
Line 30: | Line 30: | ||
! Collapses when !! Custom<br/>initial state !! Nesting | ! Collapses when !! Custom<br/>initial state !! Nesting | ||
! Default<br/>header<br/>color !! Font size | ! Default<br/>header<br/>color !! Font size | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|align="left"| [[Wikipedia:NavFrame#Collapsible tables|Collapsible table]] | |align="left"| [[Wikipedia:NavFrame#Collapsible tables|Collapsible table]] | ||
Line 40: | Line 35: | ||
| 2 or more autocollapse on page || {{yes}} || {{yes}} | | 2 or more autocollapse on page || {{yes}} || {{yes}} | ||
|style="background:#ccccff;"| #ccccff || 90% | |style="background:#ccccff;"| #ccccff || 90% | ||
+ | |- | ||
+ | |align="left"| [[Wikipedia:NavFrame|NavFrame div]] | ||
+ | | NavFrame, NavHead, NavContent | ||
+ | | NavContent style="display:none;" || {{yes}}* || {{yes}} | ||
+ | |style="background:#ccccff;"| #ccccff || 95% | ||
|- | |- | ||
|colspan="7" style="text-align:left; font-size:smaller;"| | |colspan="7" style="text-align:left; font-size:smaller;"| |
Revision as of 15:24, 22 August 2007
Template:Tnavbar | collapsible | Header color† | Image | Groups | Style (body) parameter/s |
Example |
---|---|---|---|---|---|---|
{{Navbox}} | Template:Yes2 collapsible | navbox | Template:Yes2 Left/right of body | Template:Yes | Template:Yes | {{Apollo program}} |
{{Navbox generic}} | Template:Yes2 collapsible | navbox | Template:Yes2 Right-hand side | Template:Yes | Template:Yes | {{Dilbert}} |
{{Navbox with columns}} | Template:Yes2 collapsible | navbox | Template:Yes2 Left/right of columns | Template:No | Template:Yes | {{UK subdivisions}} |
† The background color for the header or title is inherited from the class listed below. The templates have titlestyle parameters that can be used to override the default. |
Type | CSS classes | Collapses when | Custom initial state |
Nesting | Default header color |
Font size |
---|---|---|---|---|---|---|
Collapsible table | collapsible, navbox | 2 or more autocollapse on page | Template:Yes | Template:Yes | #ccccff | 90% |
NavFrame div | NavFrame, NavHead, NavContent | NavContent style="display:none;" | Template:Yes* | Template:Yes | #ccccff | 95% |
*NavFrames have custom initial state since August 8, 2007. For the technically minded, see Common.css and Common.js. |
ja:Template:Navigational templates ro:Format:Navigational templates sq:Stampa:Stampa navigacione zh:Template:Navigational templates