Difference between revisions of "Template:Kerbals"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Switch over to new {{Navbox}} version.)
m (Unneeded param)
 
(23 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
+
{{Navbox with collapsible groups{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
| name = Kerbals{{#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
| en = Famous Kerbals
+
  | en = Kerbals
| en = Famous Kerbals
+
  | de = Kerbals
| fr = Kerbals célèbres
+
  | es = Kerbals
| es = Kerbals famosos
+
  | fr = Kerbals
| de = Berühmte Kerbals
+
  | hu = Kerbálok
| ru = Известные Кербалы
+
  | it = Kerbal
| hu = Híres Kerbálok
+
  | ja = カーバル
 +
  | ru = Кербалы
 
  }}
 
  }}
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
+
| listclass = hlist
 +
| selected = {{{selected|{{{1|}}}}}}
  
| bodystyle      = {{Navbox style/sandbox|color=green|body}}
+
| abbr1 = kerbonauts
| innerstyle      = {{Navbox style/sandbox|color=green|inner}}
+
| state1 = <includeonly>collapsed</includeonly>
| titlestyle      = {{Navbox style/sandbox|color=green|title}}
+
| group1 = {{if lang link|Kerbonaut
| abovestyle      = {{Navbox style/sandbox|color=green|above}}
 
| belowstyle      = {{Navbox style/sandbox|color=green|below}}
 
| groupstyle      = {{Navbox style/sandbox|color=green|group}}
 
| liststyle      = {{Navbox style/sandbox|color=green|list}}
 
| evenstyle      = {{Navbox style/sandbox|color=green|even}}
 
| oddstyle        = {{Navbox style/sandbox|color=green|odd}}
 
| navbarstyle    = {{Navbox style/sandbox|color=green|navbar}}
 
| navbarfontstyle = {{Navbox style/sandbox|color=green|navbarfont}}
 
 
 
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
 
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|kerbonauts|uncollapsed|{{{state1|<includeonly>collapsed</includeonly>}}}}}
 
| title = {{if lang link|Kerbonaut
 
 
   | en = Kerbonauts
 
   | en = Kerbonauts
 +
  | de = Kerbonauten
 +
  | es = Kerbonautas
 +
  | fr = Kerbonautes
 +
  | hu = Kerbonauták
 +
  | it = Kerbonauti
 +
  | ja = 宇宙飛行士
 +
  | ru = Кербонавты
 
  }}
 
  }}
 +
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
 +
  | colstyle = text-align: center;
 +
  | colfooterstyle = font-weight: normal;
 +
  | colwidth = 25%
  
| bodystyle      = {{Navbox style/sandbox|color=green|child|body}}
+
  | col1header = {{if lang link|Jebediah Kerman
| titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
    | en = Jebediah Kerman
| abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
+
    | ja = ジェバダイア・カーマン
| belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
+
    | ru = Джебедайя Керман
| groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
+
  }}
| liststyle      = {{Navbox style/sandbox|color=green|child|list}}
+
  | col1 = {{Kerbal|jebediah|align=none|size=150px|link=yes}}
| evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
+
  | col1footer = [[Pilot{{if lang}}|{{Infobox/Kerbal/Dict|Pilot}}]]
| oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
 
  
| colwidth = 25%
+
  | col2header = {{if lang link|Bill Kerman
| colheaderstyle = {{Navbox style/sandbox|color=green|child|group}} text-align: center;
+
    | en = Bill Kerman
| colstyle = text-align: center;
+
    | ja = ビル・カーマン
 +
    | ru = Билл Керман
 +
  }}
 +
  | col2 = {{Kerbal|bill|align=none|size=150px|link=yes}}
 +
  | col2footer = [[Engineer{{if lang}}|{{Infobox/Kerbal/Dict|Engineer}}]]
  
| col1header = {{if lang link|Jebediah Kerman
+
  | col3header = {{if lang link|Bob Kerman
  |en=Jebediah Kerman
+
    | en = Bob Kerman
  |ru=Джебедайя Карман
+
    | ja = ボブ・カーマン
}}
+
    | ru = Боб Керман
| col1 = {{Kerbal|jebediah|150px|link=yes}}
+
  }}
 +
  | col3 = {{Kerbal|bob|align=none|size=150px|link=yes}}
 +
  | col3footer = [[Scientist{{if lang}}|{{Infobox/Kerbal/Dict|Scientist}}]]
  
| col2header = {{if lang link|Bill Kerman
+
  | col4header = {{if lang link|Valentina Kerman
  |en=Bill Kerman
+
    | en = Valentina Kerman
   |ru=Билл Карман
+
    | ja = ヴァレンティナ・カーマン
 +
    | ru = Валентина Керман
 +
  }}
 +
   | col4 = {{Kerbal|valentina|align=none|size=150px|link=yes}}
 +
  | col4footer = [[Pilot{{if lang}}|{{Infobox/Kerbal/Dict|Pilot}}]]
 
  }}
 
  }}
| col2 = {{Kerbal|bill|150px|link=yes}}
 
  
| col3header = {{if lang link|Bob Kerman
+
| abbr2 = ksc
   |en=Bob Kerman
+
| state2 = <includeonly>collapsed</includeonly>
   |ru=Боб Керман
+
| group2 = {{if lang link|Kerbal Space Center
 +
   | en = Kerbal Space Center Staff
 +
  | fr = Équipe du Centre Spatial Kerbal
 +
  | hu = Kerbál Űrközpont Személyzet
 +
  | it = Staff del Centro Spaziale Kerbal
 +
  | ja = カーバル宇宙センタースタッフ
 +
   | ru = Персонал Космического центра
 
  }}
 
  }}
| col3 = {{Kerbal|bob|150px|link=yes}}
+
| list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
 +
  | colheaderstyle = padding: 0.25em;
 +
  | colstyle = text-align: center;
 +
  | colfooterstyle = padding: 0.25em; font-weight: normal;
 +
  | colwidth = 16.67%  <!-- 100/6, for 6 columns -->
  
| col4header = {{if lang link|Valentina Kerman
+
  | col1header = {{if lang link|Wernher von Kerman
  |en=Valentina Kerman
+
    | en = Wernher von Kerman
  |ru=Валентина Керман
+
    | ru = Вернер фон Керман
}}
+
    | ja = ヴェルナー・フォン・カーマン
| col4 = {{Kerbal|valentina|120px|link=yes}}
+
  }}
 +
  | col1 = {{Kerbal|wernher|align=none|size=120px|link=yes}}
 +
  | col1footer = {{if lang link
 +
    | en = Research and Development
 +
    | fr = Recherche et développement
 +
    | hu = Kutatás és Fejlesztés
 +
    | it = Ricerca e Sviluppo
 +
    | ja = 研究開発センター
 +
    | ru = Научно-технический центр
 +
  }}
  
}}
+
  | col2header = {{if lang link|Gene Kerman
 +
    | en = Gene Kerman
 +
    | ru = Джин Керман
 +
    | ja = ジーン・カーマン
 +
  }}
 +
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
 +
  | col2footer = {{if lang link
 +
    | en = Mission Control
 +
    | fr = Contrôle de Mission
 +
    | hu = Küldetésirányítás
 +
    | it = Controllo Missione
 +
    | ja = ミッションコントロールセンター
 +
    | ru = Центр аэрокосмических программ
 +
  }}
  
| list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
+
  | col3header = {{if lang link|Mortimer Kerman
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|ksc|uncollapsed|{{{state2|<includeonly>collapsed</includeonly>}}}}}
+
    | en = Mortimer Kerman
| title = {{if lang link|KSC
+
    | ru = Мортимер Керман
  | en = KSC Staff
+
    | ja = モーティマー・カーマン
}}
+
  }}
 +
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
 +
  | col3footer = [[Strategies{{if lang}}#Finances|{{lang
 +
    | en = Finances
 +
    | hu = Pénzügyek
 +
    | it = Contabilità
 +
    | ja = 財務部
 +
    | ru = Финансы
 +
  }}]]
  
| bodystyle      = {{Navbox style/sandbox|color=green|child|body}}
+
  | col4header = {{if lang link|Linus Kerman
| titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
    | en = Linus Kerman
| abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
+
    | ru = Линус Керман
| belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
+
    | ja = ライナス・カーマン
| groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
+
  }}
| liststyle      = {{Navbox style/sandbox|color=green|child|list}}
+
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
| evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
+
  | col4footer = [[Strategies{{if lang}}#Science|{{lang
| oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
+
    | en = Science
 +
    | hu = Tudomány
 +
    | it = Scienza
 +
    | ja = 科学研究部
 +
    | ru = Наука
 +
  }}]]
  
| colwidth = 16.67%  <!-- 100/6, for 6 columns -->
+
  | col5header = {{if lang link|Walt Kerman
| colheaderstyle = {{Navbox style/sandbox|color=green|child|group}} text-align: center; padding-left: 0.25em; padding-right: 0.25em;
+
    | en = Walt Kerman
| colstyle = text-align: center;
+
    | ru = Уолт Керман
 +
    | ja = ウォルト・カーマン
 +
  }}
 +
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
 +
  | col5footer = [[Strategies{{if lang}}#Public Relations|{{lang
 +
    | en = Public Relations
 +
    | fr = Relations publiques
 +
    | hu = Sajtó
 +
    | it = Publiche Relationi
 +
    | ja = 広報部
 +
    | ru = Связи с общественностью
 +
  }}]]
  
| col1header = {{if lang link|Wernher von Kerman
+
  | col6header = {{if lang link|Gus Kerman
  |en=Wernher von Kerman
+
    | en = Gus Kerman
   |ru=Вернер фон Керман
+
    | ru = Гас Керман
 +
    | ja = ガス・カーマン
 +
  }}
 +
   | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
 +
  | col6footer = [[Strategies{{if lang}}#Operations|{{lang
 +
    | en = Operations
 +
    | fr = Opérations
 +
    | hu = Műveletek
 +
    | it = Operazioni
 +
    | ja = 事業部
 +
    | ru = Операции
 +
  }}]]
 
  }}
 
  }}
| col1 = {{Kerbal|wernher|122px|link=yes}}
 
  
| col2header = {{if lang link|Gene Kerman
+
| abbr3 = others
   |en=Gene Kerman
+
| state3 = <includeonly>collapsed</includeonly>
   |ru=Джин Керман
+
| group3 = {{lang
 +
  | en = Others
 +
   | fr = Autres
 +
  | hu = Mások
 +
  | it = Altri
 +
  | ja = その他
 +
   | ru = Прочие
 
  }}
 
  }}
| col2 = {{Kerbal|gene|120px|link=yes}}
+
| list3 =
 
+
* {{if lang link|Alan Kerman
| col3header = {{if lang link|Mortimer Kerman
+
   | en = Alan Kerman
   |en=Mortimer Kerman
 
  |ru=Мортимер Керман
 
 
  }}
 
  }}
| col3 = {{Kerbal|mortimer|120px|link=yes}}
+
* {{if lang link|Bobak Kerman
 
+
   | en = Bobak Kerman
| col4header = {{if lang link|Linus Kerman
+
   | ru = Бобак Керман
   |en=Linus Kerman
+
  | ja = ボバク・カーマン
   |ru=Линус Карман
 
 
  }}
 
  }}
| col4 = {{Kerbal|linus|120px|link=yes}}
+
* {{if lang link|Dawton Kerman
 
+
   | en = Dawton Kerman
| col5header = {{if lang link|Walt Kerman
+
   | ru = Дьютон Керман
   |en=Walt Kerman
+
  | ja = ドートン・カーマン
   |ru=Уолт Керман
 
 
  }}
 
  }}
| col5 = {{Kerbal|walt|120px|link=yes}}
+
* {{if lang link|Dinkelstein Kerman
 
+
   | en = Dinkelstein Kerman
| col6header = {{if lang link|Gus Kerman
+
   | ru = Динкельштейн Керман
   |en=Gus Kerman
+
  | ja = ディンケルシュタイン・カーマン
   |ru=Гас Керман
 
 
  }}
 
  }}
| col6 = {{Kerbal|gus|120px|link=yes}}
+
* {{if lang link|Eumon Kerman
 
+
  | en = Eumon Kerman
}}
+
  | ru = Эмон Керман
 
+
   | ja = イモン・カーマン
| list3 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
 
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|others|uncollapsed|{{{state3|<includeonly>collapsed</includeonly>}}}}}
 
| title = {{lang
 
   | en = Others
 
 
  }}
 
  }}
 
+
*{{if lang link|Felipe Kerman
| bodystyle      = {{Navbox style/sandbox|color=green|child|body}}
+
   | en = Felipe Kerman
| titlestyle      = {{Navbox style/sandbox|color=green|child|title}}
+
   | ru = Фелипе Керман
| abovestyle      = {{Navbox style/sandbox|color=green|child|above}}
 
| belowstyle      = {{Navbox style/sandbox|color=green|child|below}}
 
| groupstyle      = {{Navbox style/sandbox|color=green|child|group}}
 
| liststyle      = {{Navbox style/sandbox|color=green|child|list}}
 
| evenstyle      = {{Navbox style/sandbox|color=green|child|even}}
 
| oddstyle        = {{Navbox style/sandbox|color=green|child|odd}}
 
 
 
| 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;
 
| colstyle = text-align: center;
 
 
 
| col1header = {{if lang link|Bobak Kerman
 
   |en=Bobak Kerman
 
   |ru=Бобак Керман
 
 
  }}
 
  }}
| col1 = {{Kerbal|bobak|120px|link=yes}}
+
* {{if lang link|Jules Kerman
 
+
   | en = Jules Kerman
| col2header = {{if lang link|Dawton Kerman
 
   |en=Dawton Kerman
 
  |ru=Дьютон Карман
 
 
  }}
 
  }}
| col2 = {{Kerbal|dawton|120px|link=yes}}
+
* {{if lang link|Kirrim Kerman
 
+
   | en = Kirrim Kerman
| col3header = {{if lang link|Dinkelstein Kerman
+
   | ru = Киррим Керман
   |en=Dinkelstein Kerman
 
   |ru=Динкельштейн Карман
 
 
  }}
 
  }}
| col3 = {{Kerbal|dinkelstein|120px|link=yes}}
+
* {{if lang link|Kurt Kerman
 
+
   | en = Kurt Kerman
| col4header = {{if lang link|Eumon Kerman
+
   | ru = Курт Керман
   |en=Eumon Kerman
 
  |ru=Эмон Карман
 
}}
 
| col4 = {{Kerbal|eumon|120px|link=yes}}
 
 
 
| col5header = {{if lang link|Kirrim Kerman
 
  |en=Kirrim Kerman
 
   |ru=Киррим Карман
 
}}
 
| col5 = {{Kerbal|kirrim|120px|link=yes}}
 
 
 
| col6header = {{if lang link|Kurt Kerman
 
  |en=Kurt Kerman
 
 
  }}
 
  }}
| col6 = {{Kerbal|kurt|120px|link=yes}}
 
 
}}
 
  
}}<noinclude>
+
}}<includeonly>{{Main other|[[Category:Kerbals{{if lang}}]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:21, 22 September 2024

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

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 |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