Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Remove temporary CSS workaround. Add control of default collapsible state. Remaining embedded style is needed to create the desired appearance.)
m (Make navboxes uniform)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox with columns{{\sandbox}}
+
{{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| name = Celestial Bodies
+
| name = Celestial Bodies{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 +
| state = {{{state|}}}
 
| title = {{if lang link|Kerbol System
 
| title = {{if lang link|Kerbol System
 
   | en = Kerbol System
 
   | en = Kerbol System
   | fr = Système de Kerbol
+
  | cs = Kerbolí soustava
 +
  | de = Kerbol-System
 +
  | es = Sistema Kerbol
 +
   | fr = Système Kerbol
 
   | hr = Kerbolov sustav
 
   | hr = Kerbolov sustav
   | zh-cn = Kerbol恒星系
+
   | hu = Kerbol Rendszer
   | de = Kerbolsystem
+
   | it = Sistema di Kerbol
   | ru = Система Кербола
+
   | ja = Kerbol系
 +
  | ko = 커볼계
 +
  | nl = Kerbol systeem
 
   | pl = Układ Kerbolski
 
   | pl = Układ Kerbolski
  | nl = Kerbolstelsel
 
  | ko = 커볼계
 
  | it = Sistema di Kerbol
 
  | hu = Kerbol Rendszer
 
 
   | pt = Sistema Kerbol
 
   | pt = Sistema Kerbol
   | ja = Kerbol系
+
   | ru = Кербольская система
 +
  | th = ระบบ Kerbol
 +
  | tr = Kerbol Sistemi
 +
  | zh-cn = Kerbol 星系
 
  }}
 
  }}
 +
| listclass = plainlist
 
| coltablestyle = padding: 0.25em 1em;
 
| 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;
 
| colheaderstyle = background: transparent; padding: 0px; padding-left:4px; text-align: left; font-size: larger; line-height: 2em; white-space: nowrap;
 
| colstyle = padding-left:24px;
 
| colstyle = padding-left:24px;
 
| colwidth = 12.5%
 
| colwidth = 12.5%
| listclass = plainlist
 
| state = {{{state|{{{1|}}}}}}
 
  
 
| col1header =
 
| col1header =
Line 29: Line 33:
 
| col1 = {{resize|larger|({{if lang link|Kerbol
 
| col1 = {{resize|larger|({{if lang link|Kerbol
 
   | en = The Sun
 
   | en = The Sun
 +
  | cs = Slunce
 +
  | de = Die Sonne
 +
  | es = El Sol
 
   | fr = Le Soleil
 
   | fr = Le Soleil
  | pl = Słońce
 
  | nl = De zon
 
  | ru = Солнце
 
 
   | hr = Sunce
 
   | hr = Sunce
   | de = Die Sonne
+
   | hu = A Nap
 
   | it = Il Sole
 
   | it = Il Sole
   | zh-cn = 太阳
+
   | ja = 太陽
 
   | ko = 태양
 
   | ko = 태양
   | hu = A Nap
+
   | nl = De zon
 +
  | pl = Słońce
 
   | pt = O Sol
 
   | pt = O Sol
   | ja = 太陽
+
   | ru = Солнце
 +
  | tr = Güneş
 +
  | zh-cn = 太阳
 
  }})}}
 
  }})}}
  
 
| col2header =
 
| col2header =
[[File:TinyMoho.png |16px|baseline|link=Moho{{if lang}}]]
+
[[File:TinyMoho.png|16px|baseline|link=Moho{{if lang}}]]
 
{{Celestial Bodies/Link|Moho}}
 
{{Celestial Bodies/Link|Moho}}
 
| col2 =  
 
| col2 =  
  
 
| col3header =
 
| col3header =
[[File:TinyEve.png   |16px|baseline|link=Eve{{if lang}}]]
+
[[File:TinyEve.png|16px|baseline|link=Eve{{if lang}}]]
 
{{Celestial Bodies/Link|Eve}}
 
{{Celestial Bodies/Link|Eve}}
 
| col3 =
 
| col3 =
Line 62: Line 69:
  
 
| col5header =
 
| col5header =
[[File:TinyDuna.png |16px|baseline|link=Duna{{if lang}}]]
+
[[File:TinyDuna.png|16px|baseline|link=Duna{{if lang}}]]
 
{{Celestial Bodies/Link|Duna}}
 
{{Celestial Bodies/Link|Duna}}
 
| col5 =
 
| col5 =
Line 68: Line 75:
  
 
| col6header =
 
| col6header =
[[File:TinyDres.png |16px|baseline|link=Dres{{if lang}}]]
+
[[File:TinyDres.png|16px|baseline|link=Dres{{if lang}}]]
 
{{Celestial Bodies/Link|Dres}}
 
{{Celestial Bodies/Link|Dres}}
 
| col6 =  
 
| col6 =  
  
 
| col7header =
 
| col7header =
[[File:TinyJool.png |16px|baseline|link=Jool{{if lang}}]]
+
[[File:TinyJool.png|16px|baseline|link=Jool{{if lang}}]]
 
{{Celestial Bodies/Link|Jool}}
 
{{Celestial Bodies/Link|Jool}}
 
| col7 =
 
| col7 =
Line 82: Line 89:
 
* {{Celestial Bodies/Link|Pol}}
 
* {{Celestial Bodies/Link|Pol}}
  
| col8header =  
+
| col8header =
[[File:TinyEeloo.png |16px|baseline|link=Eeloo{{if lang}}]]
+
[[File:TinyEeloo.png|16px|baseline|link=Eeloo{{if lang}}]]
 
{{Celestial Bodies/Link|Eeloo}}
 
{{Celestial Bodies/Link|Eeloo}}
 
| col8 =  
 
| col8 =  
Line 89: Line 96:
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
 
 
</noinclude>
 
</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