Difference between revisions of "Template:Navigation templates"
From Kerbal Space Program Wiki
m (Link to a good example on WP, {{Universe navboxes}}) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
| collapsible || style="background: #ccf;" | navbox | | collapsible || style="background: #ccf;" | navbox | ||
| Left/right of body || Yes || Yes || | | Left/right of body || Yes || Yes || | ||
− | * {{ | + | * {{tl|Demo parts}} |
− | * {{ | + | * {{tl|Stock craft}} |
− | * {{ | + | * {{tl|Versions}} |
− | * {{ | + | * {{tl|sister=w|Solar System}} |
+ | * {{tl|sister=w|Governance of Greater London}} | ||
|- | |- | ||
| style="text-align: left;" | {{tl|Navbox with collapsible groups}} | | style="text-align: left;" | {{tl|Navbox with collapsible groups}} | ||
| collapsible || style="background: #ccf;" | navbox | | collapsible || style="background: #ccf;" | navbox | ||
| Left/right of body and/or in each list || Yes || Yes || | | Left/right of body and/or in each list || Yes || Yes || | ||
− | * {{ | + | * {{tl|Kerbals}} |
− | * {{ | + | * {{tl|Parts}} |
− | * {{ | + | * {{tl|sister=w|Universe navboxes}} |
− | * {{ | + | * {{tl|sister=w|Scouting}} |
+ | * {{tl|sister=w|University of Michigan}} | ||
|- | |- | ||
| style="text-align: left;" | {{tl|Navbox with columns}} | | style="text-align: left;" | {{tl|Navbox with columns}} | ||
| collapsible || style="background: #ccf;" | navbox | | collapsible || style="background: #ccf;" | navbox | ||
| Left/right of columns || No || Yes || | | Left/right of columns || No || Yes || | ||
− | * {{ | + | * {{tl|Celestial Bodies}} |
− | * {{ | + | * {{tl|Kerbals}} |
+ | * {{tl|sister=w|Current U.S. Senators}} | ||
+ | * {{tl|sister=w|Historical regions of the Czech Republic}} | ||
|} | |} | ||
Line 40: | Line 44: | ||
| 2 or more autocollapse on page || Yes || Yes | | 2 or more autocollapse on page || Yes || Yes | ||
|}<noinclude> | |}<noinclude> | ||
− | + | {{documentation}} | |
[[Category:Navigational boxes| ]] | [[Category:Navigational boxes| ]] | ||
[[Category:Documentation shared content templates]] | [[Category:Documentation shared content templates]] | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 14:55, 17 March 2018
![]() |
This template uses material from the Wikipedia template Template:Navigation templates, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
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 |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |