Difference between revisions of "Template:Celestial Bodies/sandbox"
From Kerbal Space Program Wiki
(ust trying this out with {{Navbox with columns}}. Not really sure if it's the right tool for the job, but it's worth a try. Need to spend some time fiddling with style and other options.) |
(Remove temporary CSS workaround. Add control of default collapsible state.) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Navbox with columns{{\sandbox}} | |
− | {{Navbox with columns | ||
| name = Celestial Bodies | | name = Celestial Bodies | ||
− | | title = | + | | title = {{if lang link|Kerbol System |
− | |en=Kerbol System | + | | en = Kerbol System |
− | |fr=Système de Kerbol | + | | fr = Système de Kerbol |
− | |hr=Kerbolov sustav | + | | hr = Kerbolov sustav |
− | |zh-cn=Kerbol恒星系 | + | | zh-cn = Kerbol恒星系 |
− | |de=Kerbolsystem | + | | de = Kerbolsystem |
− | |ru=Система Кербола | + | | ru = Система Кербола |
− | |pl=Układ Kerbolski | + | | pl = Układ Kerbolski |
− | |nl=Kerbolstelsel | + | | nl = Kerbolstelsel |
− | |ko=커볼계 | + | | ko = 커볼계 |
− | |it=Sistema di Kerbol | + | | it = Sistema di Kerbol |
− | |hu=Kerbol Rendszer | + | | hu = Kerbol Rendszer |
− | |pt=Sistema Kerbol | + | | pt = Sistema Kerbol |
− | |ja=Kerbol系 | + | | ja = Kerbol系 |
− | }} | + | }} |
− | | | + | | coltablestyle = padding: 0.25em 1em; |
− | + | | colheaderstyle = background: transparent; padding: 0px; padding-left:4px; text-align: left; font-size: larger; line-height: 2em; white-space: nowrap; | |
− | | | + | | colstyle = padding-left:24px; |
+ | | colwidth = 12.5% | ||
+ | | listclass = plainlist | ||
+ | | state = {{{state|{{{1|}}}}}} | ||
− | | col1header = [[File:TinyKerbol.png|16px | + | | col1header = |
− | | col1 = | + | [[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]] |
− | |en=The Sun | + | {{resize|larger|{{Celestial Bodies/Link|Kerbol}}}} |
− | |fr=Le Soleil | + | | col1style = padding-left:16px; |
− | |pl=Słońce | + | | col1 = {{resize|larger|({{if lang link|Kerbol |
− | |nl=De zon | + | | en = The Sun |
− | |ru=Солнце | + | | fr = Le Soleil |
− | |hr=Sunce | + | | pl = Słońce |
− | |de=Die Sonne | + | | nl = De zon |
− | |it=Il Sole | + | | ru = Солнце |
− | |zh-cn=太阳 | + | | hr = Sunce |
− | |ko=태양 | + | | de = Die Sonne |
− | |hu=A Nap | + | | it = Il Sole |
− | |pt=O Sol | + | | zh-cn = 太阳 |
− | |ja=太陽 | + | | ko = 태양 |
− | }}) | + | | hu = A Nap |
+ | | pt = O Sol | ||
+ | | ja = 太陽 | ||
+ | }})}} | ||
− | | col2header = [[File:TinyMoho.png |16px]] {{Celestial Bodies/Link|Moho}} | + | | col2header = |
− | | col2 = | + | [[File:TinyMoho.png |16px|baseline|link=Moho{{if lang}}]] |
− | + | {{Celestial Bodies/Link|Moho}} | |
+ | | col2 = | ||
− | | col3header = [[File:TinyEve.png |16px]] {{Celestial Bodies/Link|Eve}} | + | | col3header = |
− | | col3 = | + | [[File:TinyEve.png |16px|baseline|link=Eve{{if lang}}]] |
+ | {{Celestial Bodies/Link|Eve}} | ||
+ | | col3 = | ||
* {{Celestial Bodies/Link|Gilly}} | * {{Celestial Bodies/Link|Gilly}} | ||
− | | col4header = [[File:TinyKerbin.png|16px]] {{Celestial Bodies/Link|Kerbin}} | + | | col4header = |
− | | col4 = | + | [[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]] |
+ | {{Celestial Bodies/Link|Kerbin}} | ||
+ | | col4 = | ||
* {{Celestial Bodies/Link|Mun}} | * {{Celestial Bodies/Link|Mun}} | ||
* {{Celestial Bodies/Link|Minmus}} | * {{Celestial Bodies/Link|Minmus}} | ||
− | | col5header = [[File:TinyDuna.png |16px]] {{Celestial Bodies/Link|Duna}} | + | | col5header = |
− | | col5 = | + | [[File:TinyDuna.png |16px|baseline|link=Duna{{if lang}}]] |
+ | {{Celestial Bodies/Link|Duna}} | ||
+ | | col5 = | ||
* {{Celestial Bodies/Link|Ike}} | * {{Celestial Bodies/Link|Ike}} | ||
− | | col6header = [[File:TinyDres.png |16px]] {{Celestial Bodies/Link|Dres}} | + | | col6header = |
− | | col6 = | + | [[File:TinyDres.png |16px|baseline|link=Dres{{if lang}}]] |
− | + | {{Celestial Bodies/Link|Dres}} | |
+ | | col6 = | ||
− | | col7header = [[File:TinyJool.png |16px]] {{Celestial Bodies/Link|Jool}} | + | | col7header = |
− | | col7 = | + | [[File:TinyJool.png |16px|baseline|link=Jool{{if lang}}]] |
+ | {{Celestial Bodies/Link|Jool}} | ||
+ | | col7 = | ||
* {{Celestial Bodies/Link|Laythe}} | * {{Celestial Bodies/Link|Laythe}} | ||
* {{Celestial Bodies/Link|Vall}} | * {{Celestial Bodies/Link|Vall}} | ||
Line 67: | Line 82: | ||
* {{Celestial Bodies/Link|Pol}} | * {{Celestial Bodies/Link|Pol}} | ||
− | | col8header = [[File:TinyEeloo.png |16px]] {{Celestial Bodies/Link|Eeloo}} | + | | col8header = |
− | | col8 = | + | [[File:TinyEeloo.png |16px|baseline|link=Eeloo{{if lang}}]] |
− | + | {{Celestial Bodies/Link|Eeloo}} | |
+ | | col8 = | ||
}}<noinclude> | }}<noinclude> | ||
− | {{Documentation | + | {{Documentation}} |
− | + | <!-- Add categories to the /doc subpage, not here! --> | |
+ | </noinclude> |
Latest revision as of 13:41, 11 June 2015
This is the template sandbox page for Template:Celestial Bodies (diff). See also the companion subpage for test cases. |
Template documentation[view] [edit] [history] [ ]Pages that link to Template:Celestial Bodies/sandbox
Usage
Add {{Celestial Bodies}}
at the bottom of an article that is related to the Kerbol System.
Purpose
The purpose of the {{Celestial Bodies}} template is to provide a structure to ease navigation between the many celestial bodies in the Kerbol System. Feel free to restructure it to add further clarity.
Collapsible options
How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:
|state=collapsed
to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g.{{Celestial Bodies |state=collapsed}}
|state=expanded
to show the template in its expanded state, i.e. fully visible – e.g.{{Celestial Bodies |state=expanded}}
Unless set otherwise (see the |state=
parameter in the template's code), the template's default state is expanded
.
See also
|
The above documentation is transcluded from Template:Celestial Bodies/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |