Difference between revisions of "Template:Navigation templates"
From Kerbal Space Program Wiki
m (Add new local examples. Remove "/sandbox" from local examples which are now in use.) |
m (Update template) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{En-WP attribution notice}} | + | <noinclude>{{En-WP attribution notice}}</noinclude> |
− | </noinclude>{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" | + | {| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" |
|+ <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;" | ||
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 44: | 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]] | ||
− | + | {{convert to use Navbox}}</noinclude> | |
− | </noinclude> |
Revision as of 14:53, 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. |