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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Don't you just hate it when something that should be a nav link takes you to a File: page? And, fiddled with the formatting, I think this is an improvement now.)
m (Trim the old version off the top, and generally tidy up the source)
Line 1: Line 1:
<noinclude>{{Celestial Bodies}}</noinclude>
 
 
{{Navbox with columns{{\sandbox}}
 
{{Navbox with columns{{\sandbox}}
 
| name = Celestial Bodies
 
| name = Celestial Bodies
Line 20: Line 19:
 
| 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% <!--(to set a default width for each column,
+
| colwidth = 12.5%
                  preferably in a proportional unit such as 'em'*)-->
 
 
| listclass = plainlist
 
| listclass = plainlist
  
Line 58: Line 56:
 
[[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 = {{Unbulleted list
+
| col2 = &nbsp;
| &nbsp;
 
}}
 
  
 
| col3header =  
 
| col3header =  
Line 87: Line 83:
 
[[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 = {{Unbulleted list
+
| col6 = &nbsp;
| &nbsp;
 
}}
 
  
 
| col7header =  
 
| col7header =  
Line 105: Line 99:
 
[[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 = {{Unbulleted list
+
| col8 = &nbsp;
| &nbsp;
 
}}
 
  
 
}}<noinclude>
 
}}<noinclude>
{{Documentation|content=Just trying this out with {{tl|Navbox with columns}}.  Not really sure if it's the right tool for the job, but it's worth a try.  Need to spend some time fiddling with style and other options.}}
+
{{Documentation}}
[[Category:Navigational boxes]]</noinclude>
+
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 11:24, 8 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