Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Added italian translation for Kerbol system)
m (Make navboxes uniform)
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| style="margin:auto"
+
{{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
|
+
| name = Celestial Bodies{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
<!-- Please change the links from Celestials to Kerbol System -->
+
| state = {{{state|}}}
<div style="background: #ccc; padding: .25em; text-align: center"><strong>[[Kerbol System{{if lang}}|{{lang|en=Kerbol System|zh-cn=Kerbol恒星系|de=Kerbolsystem|ru=Система Кербол|pl=Układ Kerbolski|nl=Kerbolstelsel|ko=커볼계|it=Sitema di Kerbol}}]]</strong></div>
+
| title = {{if lang link|Kerbol System
{| style="background: #f6f6f6; border: 1px solid #ccc; padding: .25em"
+
  | en = Kerbol System
|- valign=top
+
  | cs = Kerbolí soustava
 +
  | de = Kerbol-System
 +
  | es = Sistema Kerbol
 +
  | fr = Système Kerbol
 +
  | hr = Kerbolov sustav
 +
  | hu = Kerbol Rendszer
 +
  | it = Sistema di Kerbol
 +
  | ja = Kerbol系
 +
  | ko = 커볼계
 +
  | nl = Kerbol systeem
 +
  | pl = Układ Kerbolski
 +
  | pt = Sistema Kerbol
 +
  | ru = Кербольская система
 +
  | th = ระบบ Kerbol
 +
  | tr = Kerbol Sistemi
 +
  | zh-cn = Kerbol 星系
 +
}}
 +
| listclass = plainlist
 +
| 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%
  
|style="width: .5em" rowspan="3"| ||            [[File:TinyKerbol.png|16px]]
+
| col1header =
|style="width:  1em" rowspan="3"| ||             [[File:TinyMoho.png  |16px]]
+
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
|style="width:  1em" rowspan="3"| ||             [[File:TinyEve.png   |16px]]
+
{{resize|larger|{{Celestial Bodies/Link|Kerbol}}}}
|style="width:  1em" rowspan="3"| ||             [[File:TinyKerbin.png|16px]]
+
| col1style = padding-left:16px;
|style="width:  1em" rowspan="3"| ||             [[File:TinyDuna.png  |16px]]
+
| col1 = {{resize|larger|({{if lang link|Kerbol
|style="width:  1em" rowspan="3"| ||            [[File:TinyDres.png  |16px]]
+
   | en = The Sun
|style="width:  1em" rowspan="3"| ||            [[File:TinyJool.png  |16px]]
+
  | cs = Slunce
|style="width: .5em" rowspan="3"| ||            [[File:TinyEeloo.png |16px]]
+
  | de = Die Sonne
|style="width: .5em" rowspan="3"|
+
  | es = El Sol
 +
  | fr = Le Soleil
 +
  | hr = Sunce
 +
  | hu = A Nap
 +
  | it = Il Sole
 +
  | ja = 太陽
 +
  | ko = 태양
 +
  | nl = De zon
 +
  | pl = Słońce
 +
  | pt = O Sol
 +
  | ru = Солнце
 +
  | tr = Güneş
 +
  | zh-cn = 太阳
 +
}})}}
  
|- valign=top
+
| col2header =
 +
[[File:TinyMoho.png|16px|baseline|link=Moho{{if lang}}]]
 +
{{Celestial Bodies/Link|Moho}}
 +
| col2 = &nbsp;
  
|rowspan="2"| '''[[Kerbol{{if lang}}|<span style="font-size:160%">{{BodyData/Name|Kerbol}}</span><br />({{lang|en=The Sun|pl=Słońce|nl=De zon|ru=Солнце|de=Die Sonne|it=Il Sole|zh-cn=太阳|ko=태양}})]]'''
+
| col3header =
|            '''{{Celestial Bodies/Link|Moho}}'''
+
[[File:TinyEve.png|16px|baseline|link=Eve{{if lang}}]]
|            '''{{Celestial Bodies/Link|Eve}}'''
+
{{Celestial Bodies/Link|Eve}}
|             '''{{Celestial Bodies/Link|Kerbin}}'''
+
| col3 =
|            '''{{Celestial Bodies/Link|Duna}}'''
+
* {{Celestial Bodies/Link|Gilly}}
|            '''{{Celestial Bodies/Link|Dres}}'''
 
|            '''{{Celestial Bodies/Link|Jool}}'''
 
|            '''{{Celestial Bodies/Link|Eeloo}}'''
 
  
|- valign=top style="font-size: small"
+
| col4header =
 +
[[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]]
 +
{{Celestial Bodies/Link|Kerbin}}
 +
| col4 =
 +
* {{Celestial Bodies/Link|Mun}}
 +
* {{Celestial Bodies/Link|Minmus}}
  
|
+
| col5header =
| {{Celestial Bodies/Link|Gilly}}
+
[[File:TinyDuna.png|16px|baseline|link=Duna{{if lang}}]]
| {{Celestial Bodies/Link|Mun}}<br />{{Celestial Bodies/Link|Minmus}}
+
{{Celestial Bodies/Link|Duna}}
| {{Celestial Bodies/Link|Ike}}
+
| col5 =
|
+
* {{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}}]]
<noinclude>{{Box|TinyKerbol.png|For the language '''Dutch''': Please provide correct translations for “[[Kerbol System]]“ and add them to the English.|#EE5555}}
+
{{Celestial Bodies/Link|Dres}}
 +
| col6 = &nbsp;
  
[[Category:Templates|Celestial Bodies]]</noinclude>
+
| col7header =
 +
[[File:TinyJool.png|16px|baseline|link=Jool{{if lang}}]]
 +
{{Celestial Bodies/Link|Jool}}
 +
| col7 =
 +
* {{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}}]]
 +
{{Celestial Bodies/Link|Eeloo}}
 +
| col8 = &nbsp;
 +
 
 +
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 20:28, 22 September 2024

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