Difference between revisions of "Template:Celestial Bodies/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Trim the old version off the top, and generally tidy up the source)
m (sync: Convert a couple of cases to {{if lang link}}. Generous dusting of white space for better source readability.)
Line 1: Line 1:
 
{{Navbox with columns{{\sandbox}}
 
{{Navbox with columns{{\sandbox}}
 
| name = Celestial Bodies
 
| name = Celestial Bodies
| title = [[Kerbol System{{if lang}}|{{lang
+
| title = {{if lang link|Kerbol System
   |en=Kerbol System
+
   | en = Kerbol System
   |fr=Système de Kerbol
+
   | fr = Système de Kerbol
   |hr=Kerbolov sustav
+
   | hr = Kerbolov sustav
   |zh-cn=Kerbol恒星系
+
   | zh-cn = Kerbol恒星系
   |de=Kerbolsystem
+
   | de = Kerbolsystem
   |ru=Система Кербола
+
   | ru = Система Кербола
   |pl=Układ Kerbolski
+
   | pl = Układ Kerbolski
   |nl=Kerbolstelsel
+
   | nl = Kerbolstelsel
   |ko=커볼계
+
   | ko = 커볼계
   |it=Sistema di Kerbol
+
   | it = Sistema di Kerbol
   |hu=Kerbol Rendszer
+
   | hu = Kerbol Rendszer
   |pt=Sistema Kerbol
+
   | pt = Sistema Kerbol
   |ja=Kerbol系
+
   | ja = Kerbol系
  }}]]
+
  }}
 
| 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;
Line 36: Line 36:
 
| col1header =  
 
| col1header =  
 
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
 
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
{{resize|larger|[[Kerbol{{if lang}}|{{Body data/Name|Kerbol}}]]}}
+
{{resize|larger|{{Celestial Bodies/Link|Kerbol}}}}
| col1 = {{resize|larger|[[Kerbol{{if lang}}|({{lang
+
| col1style = padding-left:16px;
   |en=The Sun
+
| col1 = {{resize|larger|({{if lang link|Kerbol
   |fr=Le Soleil
+
   | en = The Sun
   |pl=Słońce
+
   | fr = Le Soleil
   |nl=De zon
+
   | pl = Słońce
   |ru=Солнце
+
   | nl = De zon
   |hr=Sunce
+
   | ru = Солнце
   |de=Die Sonne
+
   | hr = Sunce
   |it=Il Sole
+
   | de = Die Sonne
   |zh-cn=太阳
+
   | it = Il Sole
   |ko=태양
+
   | zh-cn = 太阳
   |hu=A Nap
+
   | ko = 태양
   |pt=O Sol
+
   | hu = A Nap
   |ja=太陽
+
   | pt = O Sol
  }})]]}}
+
   | ja = 太陽
 +
  }})}}
  
 
| col2header =  
 
| col2header =  

Revision as of 13:48, 9 June 2015

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

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