Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Center the table.)
m (Make navboxes uniform)
 
(54 intermediate revisions by 24 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}}}}
<div style="background: #ccc; padding: .25em; text-align: center"><strong>[[Celestials | Celestial Bodies]]</strong></div>
+
| state = {{{state|}}}
<div style="background: #f6f6f6; border: 1px solid #ccc; padding: .25em">
+
| title = {{if lang link|Kerbol System
{|
+
  | 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"| ||colspan="2"| [[File:TinyJool.png  |16px]]
+
   | en = The Sun
|style="width: .5em" rowspan="3"|
+
  | cs = Slunce
 +
  | de = Die Sonne
 +
  | 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 | <span style="font-size:160%"> Kerbol </span><br /> (The Sun)]]'''
+
| col3header =
|             '''[[Moho]]'''
+
[[File:TinyEve.png|16px|baseline|link=Eve{{if lang}}]]
|             '''[[Eve]]'''
+
{{Celestial Bodies/Link|Eve}}
|             '''[[Kerbin]]'''
+
| col3 =
|             '''[[Duna]]'''
+
* {{Celestial Bodies/Link|Gilly}}
|colspan="2"| '''[[Jool]]'''
 
  
|- 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 =
| [[Gilly]]
+
[[File:TinyDuna.png|16px|baseline|link=Duna{{if lang}}]]
| [[Mun]]<br />[[Minmus]]
+
{{Celestial Bodies/Link|Duna}}
| [[Ike]]
+
| col5 =
| [[Laythe]]<br />[[Vall]]
+
* {{Celestial Bodies/Link|Ike}}
| [[Tylo]]<br />[[Bop]]
 
  
|}
+
| col6header =
</div>
+
[[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 =
 +
* {{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