Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Cat change. We now have other type of box in addition to {{Navbox}})
(Switch over to new {{Navbox}} version.)
Line 1: Line 1:
{| style="margin:auto"
+
{{Navbox with columns{{\sandbox}}
|
+
| name = Celestial Bodies
<!-- Please change the links from Celestials to Kerbol System -->
+
| title = [[Kerbol System{{if lang}}|{{lang
<div style="background: #ccc; padding: .25em; text-align: center"><strong>[[Kerbol System{{if lang}}|{{lang|en=Kerbol System|fr=Système de Kerbol|hr=Kerbolov sustav|zh-cn=Kerbol恒星系|de=Kerbolsystem|ru=Система Кербола|pl=Układ Kerbolski|nl=Kerbolstelsel|ko=커볼계|it=Sistema di Kerbol|hu=Kerbol Rendszer|pt=Sistema Kerbol|ja=Kerbol系}}]]</strong></div>
+
  |en=Kerbol System
{| style="background: #f6f6f6; border: 1px solid #ccc; padding: .25em"
+
  |fr=Système de Kerbol
|- valign=top
+
  |hr=Kerbolov sustav
 +
  |zh-cn=Kerbol恒星系
 +
  |de=Kerbolsystem
 +
  |ru=Система Кербола
 +
  |pl=Układ Kerbolski
 +
  |nl=Kerbolstelsel
 +
  |ko=커볼계
 +
  |it=Sistema di Kerbol
 +
  |hu=Kerbol Rendszer
 +
  |pt=Sistema 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
  
|style="width: .5em" rowspan="3"| ||             [[File:TinyKerbol.png|16px]]
+
| bodystyle      = {{Navbox style|body}}
|style="width:  1em" rowspan="3"| ||             [[File:TinyMoho.png  |16px]]
+
| innerstyle      = {{Navbox style|inner}}
|style="width:  1em" rowspan="3"| ||            [[File:TinyEve.png  |16px]]
+
| titlestyle      = {{Navbox style|title}}
|style="width:  1em" rowspan="3"| ||             [[File:TinyKerbin.png|16px]]
+
| abovestyle      = {{Navbox style|above}}
|style="width:  1em" rowspan="3"| ||            [[File:TinyDuna.png  |16px]]
+
| belowstyle      = {{Navbox style|below}}
|style="width:  1em" rowspan="3"| ||            [[File:TinyDres.png  |16px]]
+
| groupstyle      = {{Navbox style|group}}
|style="width:  1em" rowspan="3"| ||             [[File:TinyJool.png  |16px]]
+
| liststyle      = {{Navbox style|list}}
|style="width: .5em" rowspan="3"| ||            [[File:TinyEeloo.png |16px]]
+
| evenstyle      = {{Navbox style|even}}
|style="width: .5em" rowspan="3"|
+
| oddstyle        = {{Navbox style|odd}}
 +
| navbarstyle    = {{Navbox style|navbar}}
 +
| navbarfontstyle = {{Navbox style|navbarfont}}
  
|- valign=top
+
| col1header =
 +
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
 +
{{resize|larger|[[Kerbol{{if lang}}|{{Body data/Name|Kerbol}}]]}}
 +
| col1 = {{resize|larger|[[Kerbol{{if lang}}|({{lang
 +
  |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=太陽
 +
}})]]}}
  
|rowspan="2"| '''[[Kerbol{{if lang}}|<span style="font-size:160%">{{Body data/Name|Kerbol}}</span><br />({{lang|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=太陽}})]]'''
+
| col2header =  
|            '''{{Celestial Bodies/Link|Moho}}'''
+
[[File:TinyMoho.png  |16px|baseline|link=Moho{{if lang}}]]
|             '''{{Celestial Bodies/Link|Eve}}'''
+
{{Celestial Bodies/Link|Moho}}
|            '''{{Celestial Bodies/Link|Kerbin}}'''
+
| col2 = &nbsp;
|            '''{{Celestial Bodies/Link|Duna}}'''
 
|            '''{{Celestial Bodies/Link|Dres}}'''
 
|            '''{{Celestial Bodies/Link|Jool}}'''
 
|            '''{{Celestial Bodies/Link|Eeloo}}'''
 
  
|- valign=top style="font-size: small"
+
| col3header =  
 +
[[File:TinyEve.png  |16px|baseline|link=Eve{{if lang}}]]
 +
{{Celestial Bodies/Link|Eve}}
 +
| col3 = {{Unbulleted list
 +
| {{Celestial Bodies/Link|Gilly}}
 +
}}
  
|
+
| col4header =
| {{Celestial Bodies/Link|Gilly}}
+
[[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]]
| {{Celestial Bodies/Link|Mun}}<br />{{Celestial Bodies/Link|Minmus}}
+
{{Celestial Bodies/Link|Kerbin}}
 +
| col4 = {{Unbulleted list
 +
| {{Celestial Bodies/Link|Mun}}
 +
| {{Celestial Bodies/Link|Minmus}}
 +
}}
 +
 
 +
| col5header =
 +
[[File:TinyDuna.png  |16px|baseline|link=Duna{{if lang}}]]
 +
{{Celestial Bodies/Link|Duna}}
 +
| col5 = {{Unbulleted list
 
| {{Celestial Bodies/Link|Ike}}
 
| {{Celestial Bodies/Link|Ike}}
|
+
}}
| {{Celestial Bodies/Link|Laythe}}<br />{{Celestial Bodies/Link|Vall}}<br />{{Celestial Bodies/Link|Tylo}}<br />{{Celestial Bodies/Link|Bop}}<br />{{Celestial Bodies/Link|Pol}}
+
 
 +
| col6header =
 +
[[File:TinyDres.png  |16px|baseline|link=Dres{{if lang}}]]
 +
{{Celestial Bodies/Link|Dres}}
 +
| col6 = &nbsp;
 +
 
 +
| col7header =
 +
[[File:TinyJool.png  |16px|baseline|link=Jool{{if lang}}]]
 +
{{Celestial Bodies/Link|Jool}}
 +
| col7 = {{Unbulleted list
 +
| {{Celestial Bodies/Link|Laythe}}
 +
| {{Celestial Bodies/Link|Vall}}
 +
| {{Celestial Bodies/Link|Tylo}}
 +
| {{Celestial Bodies/Link|Bop}}
 +
| {{Celestial Bodies/Link|Pol}}
 +
}}
  
|}
+
| col8header =
|}
+
[[File:TinyEeloo.png |16px|baseline|link=Eeloo{{if lang}}]]
<noinclude>{{Box|type=error|For the language '''Dutch''': Please provide correct translations for “[[Kerbol System]]“ and add them to the English.}}
+
{{Celestial Bodies/Link|Eeloo}}
 +
| col8 = &nbsp;
  
[[Category:Translating templates]]
+
}}<noinclude>
[[Category:Navigational boxes]]</noinclude>
+
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 11:38, 8 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Celestial Bodies

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