Difference between revisions of "Template:Kerbals/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Actually, on second thoughts I didn't much care for that HTML either, so "none" instead. Some days I think MediaWiki actively tries to set records for deepest unnecessary nesting of <div> tags…)
m (sync: Link department names for KSC staff. Tweak padding.)
Line 94: Line 94:
 
  | oddstyle        = {{Navbox style|color=green|child|odd}}
 
  | oddstyle        = {{Navbox style|color=green|child|odd}}
  
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
+
  | colheaderstyle  = {{Navbox style|color=green|child|above}} padding: 0.25em;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
  | colfooterstyle  = {{Navbox style|color=green|child|below}} font-weight: normal;
+
  | colfooterstyle  = {{Navbox style|color=green|child|below}} padding: 0.25em; font-weight: normal;
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
  
Line 104: Line 104:
 
  }}
 
  }}
 
  | col1 = {{Kerbal|wernher|align=none|size=122px|link=yes}}
 
  | col1 = {{Kerbal|wernher|align=none|size=122px|link=yes}}
  | col1footer = {{lang|
+
  | col1footer = {{if lang link
   | en = Research & Development
+
   | en = Research and Development
 
  }}
 
  }}
  
Line 113: Line 113:
 
  }}
 
  }}
 
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
 
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
  | col2footer = {{lang
+
  | col2footer = {{if lang link
 
   | en = Mission Control
 
   | en = Mission Control
 
  }}
 
  }}
Line 122: Line 122:
 
  }}
 
  }}
 
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
 
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
  | col3footer = {{lang
+
  | col3footer = [[Strategies{{if lang}}#Finances|{{lang
 
   | en = Finances
 
   | en = Finances
  }}
+
  }}]]
  
 
  | col4header = {{if lang link|Linus Kerman
 
  | col4header = {{if lang link|Linus Kerman
Line 131: Line 131:
 
  }}
 
  }}
 
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
 
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
  | col4footer = {{lang
+
  | col4footer = [[Strategies{{if lang}}#Science|{{lang
 
   | en = Science
 
   | en = Science
  }}
+
  }}]]
  
 
  | col5header = {{if lang link|Walt Kerman
 
  | col5header = {{if lang link|Walt Kerman
Line 140: Line 140:
 
  }}
 
  }}
 
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
 
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
  | col5footer = {{lang
+
  | col5footer = [[Strategies{{if lang}}#Public Relations|{{lang
 
   | en = Public Relations
 
   | en = Public Relations
  }}
+
  }}]]
  
 
  | col6header = {{if lang link|Gus Kerman
 
  | col6header = {{if lang link|Gus Kerman
Line 149: Line 149:
 
  }}
 
  }}
 
  | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
 
  | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
  | col6footer = {{lang
+
  | col6footer = [[Strategies{{if lang}}#Operations|{{lang
 
   | en = Operations
 
   | en = Operations
  }}
+
  }}]]
  
 
}}
 
}}
Line 170: Line 170:
 
  | oddstyle        = {{Navbox style|color=green|child|odd}}
 
  | oddstyle        = {{Navbox style|color=green|child|odd}}
  
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
+
  | colheaderstyle  = {{Navbox style|color=green|child|above}} padding: 0.25em;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
  | colfooterstyle  = {{Navbox style|color=green|child|below}} font-weight: normal;
+
  | colfooterstyle  = {{Navbox style|color=green|child|below}} padding: 0.25em; font-weight: normal;
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
  

Revision as of 05:40, 10 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