Difference between revisions of "Template:Kerbals/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (sync: "Kerbonaut" translations adapted from User:Mowaw/kerbal/kerbonaut)
m (sync: Main version of {{Navbox style}}, not sandbox)
Line 1: Line 1:
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| name = Kerbals/sandbox <!-- {{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} -->
+
| name = Kerbals{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
| state = {{{state|}}}
 
| state = {{{state|}}}
 
| title = {{if lang link|Kerbal
 
| title = {{if lang link|Kerbal
Line 13: Line 13:
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
  
| bodystyle      = {{Navbox style/sandbox|color=green|body}}  
+
| bodystyle      = {{Navbox style|color=green|body}}  
| innerstyle      = {{Navbox style/sandbox|color=green|inner}}
+
| innerstyle      = {{Navbox style|color=green|inner}}
| titlestyle      = {{Navbox style/sandbox|color=green|title}}
+
| titlestyle      = {{Navbox style|color=green|title}}
| abovestyle      = {{Navbox style/sandbox|color=green|above}}
+
| abovestyle      = {{Navbox style|color=green|above}}
| belowstyle      = {{Navbox style/sandbox|color=green|below}}
+
| belowstyle      = {{Navbox style|color=green|below}}
| groupstyle      = {{Navbox style/sandbox|color=green|group}}
+
| groupstyle      = {{Navbox style|color=green|group}}
| liststyle      = {{Navbox style/sandbox|color=green|list}}
+
| liststyle      = {{Navbox style|color=green|list}}
| evenstyle      = {{Navbox style/sandbox|color=green|even}}
+
| evenstyle      = {{Navbox style|color=green|even}}
| oddstyle        = {{Navbox style/sandbox|color=green|odd}}
+
| oddstyle        = {{Navbox style|color=green|odd}}
| navbarstyle    = {{Navbox style/sandbox|color=green|navbar}}
+
| navbarstyle    = {{Navbox style|color=green|navbar}}
| navbarfontstyle = {{Navbox style/sandbox|color=green|navbarfont}}
+
| navbarfontstyle = {{Navbox style|color=green|navbarfont}}
  
 
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
 
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
Line 35: Line 35:
 
  }}
 
  }}
  
  | bodystyle      = {{Navbox style/sandbox|color=green|child|body}}  
+
  | bodystyle      = {{Navbox style|color=green|child|body}}  
  | titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
  | titlestyle      = {{Navbox style|color=green|child|title}}
  | abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
+
  | abovestyle      = {{Navbox style|color=green|child|above}}
  | belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
+
  | belowstyle      = {{Navbox style|color=green|child|below}}
  | groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
+
  | groupstyle      = {{Navbox style|color=green|child|group}}
  | liststyle      = {{Navbox style/sandbox|color=green|child|list}}
+
  | liststyle      = {{Navbox style|color=green|child|list}}
  | evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
+
  | evenstyle      = {{Navbox style|color=green|child|even}}
  | oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
+
  | oddstyle        = {{Navbox style|color=green|child|odd}}
  
 
  | colwidth = 25%
 
  | colwidth = 25%
  | colheaderstyle = {{Navbox style/sandbox|color=green|child|group}} text-align: center;
+
  | colheaderstyle = {{Navbox style|color=green|child|group}} text-align: center;
 
  | colstyle = text-align: center;
 
  | colstyle = text-align: center;
  
Line 80: Line 80:
 
  }}
 
  }}
  
  | bodystyle      = {{Navbox style/sandbox|color=green|child|body}}  
+
  | bodystyle      = {{Navbox style|color=green|child|body}}  
  | titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
  | titlestyle      = {{Navbox style|color=green|child|title}}
  | abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
+
  | abovestyle      = {{Navbox style|color=green|child|above}}
  | belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
+
  | belowstyle      = {{Navbox style|color=green|child|below}}
  | groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
+
  | groupstyle      = {{Navbox style|color=green|child|group}}
  | liststyle      = {{Navbox style/sandbox|color=green|child|list}}
+
  | liststyle      = {{Navbox style|color=green|child|list}}
  | evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
+
  | evenstyle      = {{Navbox style|color=green|child|even}}
  | oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
+
  | oddstyle        = {{Navbox style|color=green|child|odd}}
  
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
  | colheaderstyle = {{Navbox style/sandbox|color=green|child|group}} text-align: center; padding-left: 0.25em; padding-right: 0.25em;
+
  | colheaderstyle = {{Navbox style|color=green|child|group}} text-align: center; padding-left: 0.25em; padding-right: 0.25em;
 
  | colstyle = text-align: center;
 
  | colstyle = text-align: center;
  
Line 137: Line 137:
 
  }}
 
  }}
  
  | bodystyle      = {{Navbox style/sandbox|color=green|child|body}}  
+
  | bodystyle      = {{Navbox style|color=green|child|body}}  
  | titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
  | titlestyle      = {{Navbox style|color=green|child|title}}
  | abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
+
  | abovestyle      = {{Navbox style|color=green|child|above}}
  | belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
+
  | belowstyle      = {{Navbox style|color=green|child|below}}
  | groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
+
  | groupstyle      = {{Navbox style|color=green|child|group}}
  | liststyle      = {{Navbox style/sandbox|color=green|child|list}}
+
  | liststyle      = {{Navbox style|color=green|child|list}}
  | evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
+
  | evenstyle      = {{Navbox style|color=green|child|even}}
  | oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
+
  | oddstyle        = {{Navbox style|color=green|child|odd}}
  
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
  | colheaderstyle = {{Navbox style/sandbox|color=green|child|group}} text-align: center; padding-left: 0.25em; padding-right: 0.25em;
+
  | colheaderstyle = {{Navbox style|color=green|child|group}} text-align: center; padding-left: 0.25em; padding-right: 0.25em;
 
  | colstyle = text-align: center;
 
  | colstyle = text-align: center;
  

Revision as of 14:56, 9 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