Difference between revisions of "Template:Kerbals/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Fix for MW adding unnecessary, unwanted, and unhelpful <p> wrapper around the images. It was adding extra vertical space I didn't like, so suppressed via "centre" on the images, and can controllably pad via style if need be.)
(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…)
Line 45: Line 45:
  
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
  | colstyle        = {{Navbox style|color=green|child|list}}
+
  | 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}} font-weight: normal;
 
  | colwidth = 25%
 
  | colwidth = 25%
Line 53: Line 53:
 
   | ru = Джебедайя Карман
 
   | ru = Джебедайя Карман
 
  }}
 
  }}
  | col1 = {{Kerbal|jebediah|align=center|size=150px|link=yes}}
+
  | col1 = {{Kerbal|jebediah|align=none|size=150px|link=yes}}
 
  | col1footer = {{if lang link|Pilot}}
 
  | col1footer = {{if lang link|Pilot}}
  
Line 60: Line 60:
 
   | ru = Билл Карман
 
   | ru = Билл Карман
 
  }}
 
  }}
  | col2 = {{Kerbal|bill|align=center|size=150px|link=yes}}
+
  | col2 = {{Kerbal|bill|align=none|size=150px|link=yes}}
 
  | col2footer = {{if lang link|Engineer}}
 
  | col2footer = {{if lang link|Engineer}}
  
Line 67: Line 67:
 
   | ru = Боб Керман
 
   | ru = Боб Керман
 
  }}
 
  }}
  | col3 = {{Kerbal|bob|align=center|size=150px|link=yes}}
+
  | col3 = {{Kerbal|bob|align=none|size=150px|link=yes}}
 
  | col3footer = {{if lang link|Scientist}}
 
  | col3footer = {{if lang link|Scientist}}
  
Line 74: Line 74:
 
   | ru = Валентина Керман
 
   | ru = Валентина Керман
 
  }}
 
  }}
  | col4 = {{Kerbal|valentina|align=center|size=120px|link=yes}}
+
  | col4 = {{Kerbal|valentina|align=none|size=120px|link=yes}}
 
  | col4footer = {{if lang link|Pilot}}
 
  | col4footer = {{if lang link|Pilot}}
  
Line 95: Line 95:
  
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
  | colstyle        = {{Navbox style|color=green|child|list}}
+
  | 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}} font-weight: normal;
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
Line 103: Line 103:
 
   | ru = Вернер фон Керман
 
   | ru = Вернер фон Керман
 
  }}
 
  }}
  | col1 = {{Kerbal|wernher|align=center|size=122px|link=yes}}
+
  | col1 = {{Kerbal|wernher|align=none|size=122px|link=yes}}
 
  | col1footer = {{lang|
 
  | col1footer = {{lang|
 
   | en = Research & Development
 
   | en = Research & Development
Line 112: Line 112:
 
   | ru = Джин Керман
 
   | ru = Джин Керман
 
  }}
 
  }}
  | col2 = {{Kerbal|gene|align=center|size=120px|link=yes}}
+
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
 
  | col2footer = {{lang
 
  | col2footer = {{lang
 
   | en = Mission Control
 
   | en = Mission Control
Line 121: Line 121:
 
   | ru = Мортимер Керман
 
   | ru = Мортимер Керман
 
  }}
 
  }}
  | col3 = {{Kerbal|mortimer|align=center|size=120px|link=yes}}
+
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
 
  | col3footer = {{lang
 
  | col3footer = {{lang
 
   | en = Finances
 
   | en = Finances
Line 130: Line 130:
 
   | ru = Линус Карман
 
   | ru = Линус Карман
 
  }}
 
  }}
  | col4 = {{Kerbal|linus|align=center|size=120px|link=yes}}
+
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
 
  | col4footer = {{lang
 
  | col4footer = {{lang
 
   | en = Science
 
   | en = Science
Line 139: Line 139:
 
   | ru = Уолт Керман
 
   | ru = Уолт Керман
 
  }}
 
  }}
  | col5 = {{Kerbal|walt|align=center|size=120px|link=yes}}
+
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
 
  | col5footer = {{lang
 
  | col5footer = {{lang
 
   | en = Public Relations
 
   | en = Public Relations
Line 148: Line 148:
 
   | ru = Гас Керман
 
   | ru = Гас Керман
 
  }}
 
  }}
  | col6 = {{Kerbal|gus|align=center|size=120px|link=yes}}
+
  | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
 
  | col6footer = {{lang
 
  | col6footer = {{lang
 
   | en = Operations
 
   | en = Operations
Line 171: Line 171:
  
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
  | colstyle        = {{Navbox style|color=green|child|list}}
+
  | 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}} font-weight: normal;
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
 
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
Line 179: Line 179:
 
   | ru = Бобак Керман
 
   | ru = Бобак Керман
 
  }}
 
  }}
  | col1 = {{Kerbal|bobak|align=center|size=120px|link=yes}}
+
  | col1 = {{Kerbal|bobak|align=none|size=120px|link=yes}}
  
 
  | col2header = {{if lang link|Dawton Kerman
 
  | col2header = {{if lang link|Dawton Kerman
Line 185: Line 185:
 
   | ru = Дьютон Карман
 
   | ru = Дьютон Карман
 
  }}
 
  }}
  | col2 = {{Kerbal|dawton|align=center|size=120px|link=yes}}
+
  | col2 = {{Kerbal|dawton|align=none|size=120px|link=yes}}
  
 
  | col3header = {{if lang link|Dinkelstein Kerman
 
  | col3header = {{if lang link|Dinkelstein Kerman
Line 191: Line 191:
 
   | ru = Динкельштейн Карман
 
   | ru = Динкельштейн Карман
 
  }}
 
  }}
  | col3 = {{Kerbal|dinkelstein|align=center|size=120px|link=yes}}
+
  | col3 = {{Kerbal|dinkelstein|align=none|size=120px|link=yes}}
  
 
  | col4header = {{if lang link|Eumon Kerman
 
  | col4header = {{if lang link|Eumon Kerman
Line 197: Line 197:
 
   | ru = Эмон Карман
 
   | ru = Эмон Карман
 
  }}
 
  }}
  | col4 = {{Kerbal|eumon|align=center|size=120px|link=yes}}
+
  | col4 = {{Kerbal|eumon|align=none|size=120px|link=yes}}
  
 
  | col5header = {{if lang link|Kirrim Kerman
 
  | col5header = {{if lang link|Kirrim Kerman
Line 203: Line 203:
 
   | ru = Киррим Карман
 
   | ru = Киррим Карман
 
  }}
 
  }}
  | col5 = {{Kerbal|kirrim|align=center|size=120px|link=yes}}
+
  | col5 = {{Kerbal|kirrim|align=none|size=120px|link=yes}}
  
 
  | col6header = {{if lang link|Kurt Kerman
 
  | col6header = {{if lang link|Kurt Kerman
 
   | en = Kurt Kerman
 
   | en = Kurt Kerman
 
  }}
 
  }}
  | col6 = {{Kerbal|kurt|align=center|size=120px|link=yes}}
+
  | col6 = {{Kerbal|kurt|align=none|size=120px|link=yes}}
  
 
}}
 
}}

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