Difference between revisions of "Template:Celestial Bodies/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (More fiddling with options)
(Remove temporary CSS workaround. Add control of default collapsible state.)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Celestial Bodies}}
+
{{Navbox with columns{{\sandbox}}
{{Navbox with columns
 
 
| name = Celestial Bodies
 
| name = Celestial Bodies
| title = [[Kerbol System{{if lang}}|{{lang
+
| 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系
  }}]]
+
  }}
| colwidth = 12.5% <!--(to set a default width for each column,
+
| coltablestyle = padding: 0.25em 1em;
                  preferably in a proportional unit such as 'em'*)-->
+
| 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
 
| listclass = plainlist
| no-colheaderstyle = background: transparent; padding: 0 8px 0 8px; text-align: left; font-size: larger;
+
| state = {{{state|{{{1|}}}}}}
| no-colstyle = padding: 0 8px 0 8px;
 
| colheaderstyle = background: transparent; margin: auto; padding: 0 8px; text-align: left; font-size: larger;
 
| colstyle = margin: auto; padding: 0 8px;
 
  
| col1header = &nbsp;
+
| col1header =
 +
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
 +
{{resize|larger|{{Celestial Bodies/Link|Kerbol}}}}
 +
| col1style = padding-left:16px;
 +
| col1 = {{resize|larger|({{if lang link|Kerbol
 +
  | en = The Sun
 +
  | fr = Le Soleil
 +
  | pl = Słońce
 +
  | nl = De zon
 +
  | ru = Солнце
 +
  | hr = Sunce
 +
  | de = Die Sonne
 +
  | it = Il Sole
 +
  | zh-cn = 太阳
 +
  | ko = 태양
 +
  | hu = A Nap
 +
  | pt = O Sol
 +
  | ja = 太陽
 +
}})}}
  
* [[File:TinyKerbol.png|16px]]
+
| col2header =
* {{resize|larger|[[Kerbol{{if lang}}|{{Body data/Name|Kerbol}}]]}}
+
[[File:TinyMoho.png |16px|baseline|link=Moho{{if lang}}]]
 +
{{Celestial Bodies/Link|Moho}}
 +
| col2 = &nbsp;
  
| col1 =  
+
| col3header =
{{resize|larger|[[Kerbol{{if lang}}|({{lang
+
[[File:TinyEve.png   |16px|baseline|link=Eve{{if lang}}]]
  |en=The Sun
+
{{Celestial Bodies/Link|Eve}}
  |fr=Le Soleil
+
| col3 =
  |pl=Słońce
 
  |nl=De zon
 
  |ru=Солнце
 
  |hr=Sunce
 
  |de=Die Sonne
 
  |it=Il Sole
 
  |zh-cn=太阳
 
  |ko=태양
 
  |hu=A Nap
 
  |pt=O Sol
 
  |ja=太陽
 
}})]]}}
 
 
 
| col2header = &nbsp;
 
 
 
* [[File:TinyMoho.png |16px]]
 
* {{Celestial Bodies/Link|Moho}}
 
 
 
| col2 =
 
*
 
 
 
| col3header = &nbsp;
 
 
 
* [[File:TinyEve.png  |16px]]
 
* {{Celestial Bodies/Link|Eve}}
 
 
 
| col3 =  
 
 
* {{Celestial Bodies/Link|Gilly}}
 
* {{Celestial Bodies/Link|Gilly}}
  
| col4header = &nbsp;
+
| col4header =
 
+
[[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]]
* [[File:TinyKerbin.png|16px]]
+
{{Celestial Bodies/Link|Kerbin}}
* {{Celestial Bodies/Link|Kerbin}}
+
| col4 =
 
 
| col4 =  
 
 
* {{Celestial Bodies/Link|Mun}}
 
* {{Celestial Bodies/Link|Mun}}
 
* {{Celestial Bodies/Link|Minmus}}
 
* {{Celestial Bodies/Link|Minmus}}
  
| col5header = &nbsp;
+
| col5header =
 
+
[[File:TinyDuna.png  |16px|baseline|link=Duna{{if lang}}]]
* [[File:TinyDuna.png  |16px]]
+
{{Celestial Bodies/Link|Duna}}
* {{Celestial Bodies/Link|Duna}}
+
| col5 =
 
 
| col5 =  
 
 
* {{Celestial Bodies/Link|Ike}}
 
* {{Celestial Bodies/Link|Ike}}
  
| col6header = &nbsp;
+
| col6header =
 
+
[[File:TinyDres.png  |16px|baseline|link=Dres{{if lang}}]]
* [[File:TinyDres.png  |16px]]
+
{{Celestial Bodies/Link|Dres}}
* {{Celestial Bodies/Link|Dres}}
+
| col6 = &nbsp;
 
 
| col6 =
 
*
 
 
 
| col7header = &nbsp;
 
 
 
* [[File:TinyJool.png  |16px]]
 
* {{Celestial Bodies/Link|Jool}}
 
  
| col7 =  
+
| col7header =
 +
[[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 100: Line 82:
 
* {{Celestial Bodies/Link|Pol}}
 
* {{Celestial Bodies/Link|Pol}}
  
| col8header = &nbsp;
+
| col8header =  
 
+
[[File:TinyEeloo.png |16px|baseline|link=Eeloo{{if lang}}]]
* [[File:TinyEeloo.png |16px]]
+
{{Celestial Bodies/Link|Eeloo}}
* {{Celestial Bodies/Link|Eeloo}}
+
| col8 = &nbsp;
 
 
| col8 =  
 
*
 
  
 
}}<noinclude>
 
}}<noinclude>
{{Documentation|content=Just trying this out with {{tl|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.}}
+
{{Documentation}}
[[Category:Navigational boxes]]</noinclude>
+
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 13:41, 11 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Add {{Celestial Bodies}} at the bottom of an article related to the Kerbol System.

See also