Difference between revisions of "Template:Navigation templates"
From BESA® Wiki
(class hlist, not flatlist) |
m (150 revisions) |
||
| (20 intermediate revisions by 19 users not shown) | |||
| Line 2: | Line 2: | ||
|+ <span style="font-size: 130%;">Navigation templates comparison</span> | |+ <span style="font-size: 130%;">Navigation templates comparison</span> | ||
|- style="line-height: 10pt;" | |- style="line-height: 10pt;" | ||
| − | ! style="text-align: left; padding-left: 4px;" | {{Navbar|Navigation templates|plain=1}} | + | ! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}} |
! Collapsible !! Header color | ! Collapsible !! Header color | ||
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples | ! Image !! Groups !! Style (body) <br /> parameter/s !! Examples | ||
| Line 10: | Line 10: | ||
| Left/right of body || Yes || Yes || | | Left/right of body || Yes || Yes || | ||
* {{tl|Solar System}} | * {{tl|Solar System}} | ||
| − | * {{tl| | + | * {{tl|Governance of Greater London}} |
|- | |- | ||
| style="text-align: left;" | {{tl|Navbox with collapsible groups}} | | style="text-align: left;" | {{tl|Navbox with collapsible groups}} | ||
| Line 23: | Line 23: | ||
* {{tl|Current U.S. Senators}} | * {{tl|Current U.S. Senators}} | ||
* {{tl|Historical regions of the Czech Republic}} | * {{tl|Historical regions of the Czech Republic}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
| Line 33: | Line 28: | ||
|+ <span style="font-size: 130%;">Collapsible attributes</span> | |+ <span style="font-size: 130%;">Collapsible attributes</span> | ||
|- style="line-height: 10pt;" | |- style="line-height: 10pt;" | ||
| − | ! Type !! CSS classes !! | + | ! Type !! CSS classes !! JavaScript !! Collapses when !! Custom <br /> initial state !! Nesting |
|- | |- | ||
| − | | | + | | style="text-align:left;" | [[Help:Collapsing|Collapsible tables]] |
| collapsible | | collapsible | ||
| Defined in [[MediaWiki:Common.js|Common.js]] | | Defined in [[MediaWiki:Common.js|Common.js]] | ||
| Line 42: | Line 37: | ||
[[Category:Navigational boxes| ]] | [[Category:Navigational boxes| ]] | ||
| + | [[Category:Documentation shared content templates]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:23, 8 April 2016
| Script error | Collapsible | Header color | Image | Groups | Style (body) parameter/s |
Examples |
|---|---|---|---|---|---|---|
| {{Navbox}} | collapsible | navbox | Left/right of body | Yes | Yes | |
| {{Navbox with collapsible groups}} | collapsible | navbox | Left/right of body and/or in each list | Yes | Yes |
|
| {{Navbox with columns}} | collapsible | navbox | Left/right of columns | No | Yes |
| Type | CSS classes | JavaScript | Collapses when | Custom initial state |
Nesting |
|---|---|---|---|---|---|
| Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |