Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Make navboxes uniform)
 
(35 intermediate revisions by 16 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>{{lang|en=[[Kerbol System{{#if: {{{force|}}}|/{{{force}}}|{{if lang}}}}|{{lang|en=Kerbol System|zh-cn=Kerbol恒星系}}]]|ru=[[Celestials/ru | Астрономические объекты]]|pl=[[Celestials/pl | Ciała niebieskie]]|nl=[[Celestials/nl | Hemellichamen]]}}</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"| '''{{if lang link|Kerbol|2= <span style="font-size:160%"> {{lang|en=Kerbol|ru=Кербол}} </span><br /> ({{lang|en=The Sun|pl=Słońce|nl=De zon|ru=Солнце|de=Die Sonne|zh-cn=太阳}})|force={{{force|}}}}}'''
+
| col3header =
|            '''{{if lang link|Moho|{{lang|en=Moho|ru=Мохо}}|force={{{force|}}}}}'''
+
[[File:TinyEve.png|16px|baseline|link=Eve{{if lang}}]]
|            '''{{if lang link|Eve|{{lang|en=Eve|ru=Ив}}|force={{{force|}}}}}'''
+
{{Celestial Bodies/Link|Eve}}
|            '''{{if lang link|Kerbin|{{lang|en=Kerbin|ru=Кербин}}|force={{{force|}}}}}'''
+
| col3 =
|            '''{{if lang link|Duna|{{lang|en=Duna|ru=Дюна}}|force={{{force|}}}}}'''
+
* {{Celestial Bodies/Link|Gilly}}
|             '''{{if lang link|Dres|{{lang|en=Dres|ru=Дрес}}|force={{{force|}}}}}'''
 
|            '''{{if lang link|Jool|{{lang|en=Jool|ru=Джул}}|force={{{force|}}}}}'''
 
|            '''{{if lang link|Eeloo|{{lang|en=Eeloo|ru=Иилу}}|force={{{force|}}}}}'''
 
  
|- 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 =
| {{if lang link|Gilly|{{lang|en=Gilly|ru=Джилли}}|force={{{force|}}}}}
+
[[File:TinyDuna.png|16px|baseline|link=Duna{{if lang}}]]
| {{if lang link|Mun|{{lang|en=Mun|ru=Мун}}|force={{{force|}}}}}<br />{{if lang link|Minmus|{{lang|en=Minmus|ru=Минмус}}|force={{{force|}}}}}
+
{{Celestial Bodies/Link|Duna}}
| {{if lang link|Ike|{{lang|en=Ike|ru=Айк}}|force={{{force|}}}}}
+
| col5 =
|
+
* {{Celestial Bodies/Link|Ike}}
| {{if lang link|Laythe|{{lang|en=Laythe|ru=Лейс}}|force={{{force|}}}}}<br />{{if lang link|Vall|{{lang|en=Vall|ru=Валл}}|force={{{force|}}}}}<br />{{if lang link|Tylo|{{lang|en=Tylo|ru=Тайло}}|force={{{force|}}}}}<br />{{if lang link|Bop|{{lang|en=Bop|ru=Боп}}|force={{{force|}}}}}<br />{{if lang link|Pol|{{lang|en=Pol|ru=Пол}}|force={{{force|}}}}}
 
  
|}
+
| col6header =
|}
+
[[File:TinyDres.png|16px|baseline|link=Dres{{if lang}}]]
<noinclude>{{Box|TinyKerbol.png|For the languages '''Russian''', '''Polish''' and '''Dutch''': Please provide translations for “[[Kerbol System]]“ and add them to the English.|#EE5555}}
+
{{Celestial Bodies/Link|Dres}}
 +
| col6 = &nbsp;
  
To enforce a specific language use {{{force}}} (by default not set).
+
| 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}}
  
[[Category:Templates|Celestial Bodies]]</noinclude>
+
| 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