Difference between revisions of "Template:Celestial Bodies"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Convert a couple of cases to {{if lang link}}. Generous dusting of white space for better source readability.)
(Remove temporary CSS workaround. Add control of default collapsible state. Remaining embedded style is needed to create the desired appearance.)
Line 21: Line 21:
 
| colwidth = 12.5%
 
| colwidth = 12.5%
 
| listclass = plainlist
 
| listclass = plainlist
 +
| state = {{{state|{{{1|}}}}}}
  
| bodystyle      = {{Navbox style|body}}
+
| col1header =
| innerstyle      = {{Navbox style|inner}}
 
| titlestyle      = {{Navbox style|title}}
 
| abovestyle      = {{Navbox style|above}}
 
| belowstyle      = {{Navbox style|below}}
 
| groupstyle      = {{Navbox style|group}}
 
| liststyle      = {{Navbox style|list}}
 
| evenstyle      = {{Navbox style|even}}
 
| oddstyle        = {{Navbox style|odd}}
 
| navbarstyle    = {{Navbox style|navbar}}
 
| navbarfontstyle = {{Navbox style|navbarfont}}
 
 
 
| col1header =  
 
 
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
 
[[File:TinyKerbol.png|16px|baseline|link=Kerbol{{if lang}}]]
 
{{resize|larger|{{Celestial Bodies/Link|Kerbol}}}}
 
{{resize|larger|{{Celestial Bodies/Link|Kerbol}}}}
Line 54: Line 43:
 
  }})}}
 
  }})}}
  
| 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 = {{Unbulleted list
+
| col3 =
| {{Celestial Bodies/Link|Gilly}}
+
* {{Celestial Bodies/Link|Gilly}}
}}
 
  
| col4header =  
+
| col4header =
 
[[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]]
 
[[File:TinyKerbin.png|16px|baseline|link=Kerbin{{if lang}}]]
 
{{Celestial Bodies/Link|Kerbin}}
 
{{Celestial Bodies/Link|Kerbin}}
| col4 = {{Unbulleted list
+
| col4 =
| {{Celestial Bodies/Link|Mun}}
+
* {{Celestial Bodies/Link|Mun}}
| {{Celestial Bodies/Link|Minmus}}
+
* {{Celestial Bodies/Link|Minmus}}
}}
 
  
| 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 = {{Unbulleted list
+
| col5 =
| {{Celestial Bodies/Link|Ike}}
+
* {{Celestial Bodies/Link|Ike}}
}}
 
  
| 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 = {{Unbulleted list
+
| col7 =
| {{Celestial Bodies/Link|Laythe}}
+
* {{Celestial Bodies/Link|Laythe}}
| {{Celestial Bodies/Link|Vall}}
+
* {{Celestial Bodies/Link|Vall}}
| {{Celestial Bodies/Link|Tylo}}
+
* {{Celestial Bodies/Link|Tylo}}
| {{Celestial Bodies/Link|Bop}}
+
* {{Celestial Bodies/Link|Bop}}
| {{Celestial Bodies/Link|Pol}}
+
* {{Celestial Bodies/Link|Pol}}
}}
 
  
 
| col8header =  
 
| col8header =  

Revision as of 14:03, 11 June 2015

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