Difference between revisions of "Template:Kerbals/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Converted to {{Navbox with collapsible groups}})
m (Tricky stateN param. Collapsed is the default, but even null will change it to uncollapsed.)
Line 19: Line 19:
  
 
| abbr1 = kerbonauts
 
| abbr1 = kerbonauts
| state1 = <noinclude>uncollapsed</noinclude>
+
| state1 = <includeonly>collapsed</includeonly>
 
| group1 = {{if lang link|Kerbonaut
 
| group1 = {{if lang link|Kerbonaut
 
   | en = Kerbonauts
 
   | en = Kerbonauts
Line 64: Line 64:
  
 
| abbr2 = ksc
 
| abbr2 = ksc
| state2 = <noinclude>uncollapsed</noinclude>
+
| state2 = <includeonly>collapsed</includeonly>
 
| group2 = {{if lang link|Kerbal Space Center
 
| group2 = {{if lang link|Kerbal Space Center
 
   | en = Kerbal Space Center Staff
 
   | en = Kerbal Space Center Staff
Line 131: Line 131:
  
 
| abbr3 = others
 
| abbr3 = others
| state3 = <noinclude>uncollapsed</noinclude>
+
| state3 = <includeonly>collapsed</includeonly>
 
| group3 = {{lang
 
| group3 = {{lang
 
   | en = Others
 
   | en = Others

Revision as of 16:19, 11 June 2015

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

Usage

Add {{Kerbals}} at the bottom of an article that is related to a Kerbal.

Purpose

The purpose of the {{Kerbals}} template is to provide a structure to ease navigation between the well known Kerbals in KSP. Feel free to restructure it to add further clarity.

It is intended to only contain characters created by Squad (or officially recognised by them), or those with significant notability.

Collapsible options

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following names identifying the groups/sections (omit any speech or quote marks):
    • kerbonauts
    • ksc
    • others
  • For example: {{Kerbals/sandbox |kerbonauts}}

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. {{Kerbals |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Kerbals |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.

See also