Difference between revisions of "Template:Kerbals"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Link department names for KSC staff. Tweak padding.)
m (added Italian translation)
 
(15 intermediate revisions by 10 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
+
  | fr = Kerbals
  | fr = Kerbals célèbres
+
  | es = Kerbals
  | es = Kerbals famosos
+
  | de = Kerbals
  | de = Berühmte Kerbals
+
  | ru = Кербалы
  | ru = Известные Кербалы
+
  | hu = Kerbálok
  | hu = Híres Kerbálok
+
| it = Kerbal
 +
| ja = カーバル
 
  }}
 
  }}
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
+
| listclass = hlist
 +
| selected = {{{selected|{{{1|}}}}}}
  
| bodystyle      = {{Navbox style|color=green|body}}
+
| titlestyle      = {{Navbox style{{\sandbox}}|color=green|title}}
| innerstyle      = {{Navbox style|color=green|inner}}
+
| abovestyle      = {{Navbox style{{\sandbox}}|color=green|above}}
| titlestyle      = {{Navbox style|color=green|title}}
+
| belowstyle      = {{Navbox style{{\sandbox}}|color=green|below}}
| abovestyle      = {{Navbox style|color=green|above}}
+
| groupstyle      = {{Navbox style{{\sandbox}}|color=green|group}}
| belowstyle      = {{Navbox style|color=green|below}}
 
| groupstyle      = {{Navbox style|color=green|group}}
 
| liststyle      = {{Navbox style|color=green|list}}
 
| evenstyle      = {{Navbox style|color=green|even}}
 
| oddstyle        = {{Navbox style|color=green|odd}}
 
| navbarstyle    = {{Navbox style|color=green|navbar}}
 
| navbarfontstyle = {{Navbox style|color=green|navbarfont}}
 
  
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
+
| abbr1 = kerbonauts
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|kerbonauts|uncollapsed|{{{state1|<includeonly>collapsed</includeonly>}}}}}
+
| state1 = <includeonly>collapsed</includeonly>
| title = {{if lang link|Kerbonaut
+
| group1 = {{if lang link|Kerbonaut
 
   | en = Kerbonauts
 
   | en = Kerbonauts
 
   | fr = Kerbonautes
 
   | fr = Kerbonautes
 
   | es = Kerbonautas
 
   | es = Kerbonautas
 
   | de = Kerbonauten
 
   | de = Kerbonauten
   | ru = Кербанавт
+
   | ru = Кербонавты
 +
  | hu = Kerbonauták
 +
  | it = Kerbonauti
 +
  | ja = 宇宙飛行士
 
  }}
 
  }}
 
+
| list1 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
| bodystyle      = {{Navbox style|color=green|child|body}}
+
  | colheaderstyle  = {{Navbox style{{\sandbox}}|color=green|child|above}}
| titlestyle      = {{Navbox style|color=green|child|title}}
+
  | colstyle        = text-align: center;
| abovestyle      = {{Navbox style|color=green|child|above}}
+
  | colfooterstyle  = {{Navbox style{{\sandbox}}|color=green|child|below}} font-weight: normal;
| belowstyle      = {{Navbox style|color=green|child|below}}
 
| groupstyle      = {{Navbox style|color=green|child|group}}
 
| liststyle      = {{Navbox style|color=green|child|list}}
 
| evenstyle      = {{Navbox style|color=green|child|even}}
 
| oddstyle        = {{Navbox style|color=green|child|odd}}
 
 
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}}
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
 
  | colfooterstyle  = {{Navbox style|color=green|child|below}} font-weight: normal;
 
 
  | colwidth = 25%
 
  | colwidth = 25%
  
 
  | col1header = {{if lang link|Jebediah Kerman
 
  | col1header = {{if lang link|Jebediah Kerman
 
   | en = Jebediah Kerman
 
   | en = Jebediah Kerman
   | ru = Джебедайя Карман
+
   | ru = Джебедайя Керман
 +
  | ja = ジェバダイア・カーマン
 
  }}
 
  }}
 
  | col1 = {{Kerbal|jebediah|align=none|size=150px|link=yes}}
 
  | col1 = {{Kerbal|jebediah|align=none|size=150px|link=yes}}
  | col1footer = {{if lang link|Pilot}}
+
  | col1footer = {{if lang link|Pilot
 +
    | en = Pilot
 +
    | fr = Pilote
 +
    | ru = Пилот
 +
    | it = Pilota
 +
}}
  
 
  | col2header = {{if lang link|Bill Kerman
 
  | col2header = {{if lang link|Bill Kerman
 
   | en = Bill Kerman
 
   | en = Bill Kerman
   | ru = Билл Карман
+
   | ru = Билл Керман
 +
  | ja = ビル・カーマン
 
  }}
 
  }}
 
  | col2 = {{Kerbal|bill|align=none|size=150px|link=yes}}
 
  | col2 = {{Kerbal|bill|align=none|size=150px|link=yes}}
  | col2footer = {{if lang link|Engineer}}
+
  | col2footer = {{if lang link|Engineer
 +
    | en = Engineer
 +
    | fr = Ingénieur
 +
    | ru = Инженер
 +
    | it = Ingegnere
 +
}}
  
 
  | col3header = {{if lang link|Bob Kerman
 
  | col3header = {{if lang link|Bob Kerman
 
   | en = Bob Kerman
 
   | en = Bob Kerman
 
   | ru = Боб Керман
 
   | ru = Боб Керман
 +
  | ja = ボブ・カーマン
 
  }}
 
  }}
 
  | col3 = {{Kerbal|bob|align=none|size=150px|link=yes}}
 
  | col3 = {{Kerbal|bob|align=none|size=150px|link=yes}}
  | col3footer = {{if lang link|Scientist}}
+
  | col3footer = {{if lang link|Scientist
 +
    | en = Scientist
 +
    | fr = Scientifique
 +
    | ru = Учёный
 +
    | it = Scienziato
 +
}}
  
 
  | col4header = {{if lang link|Valentina Kerman
 
  | col4header = {{if lang link|Valentina Kerman
 
   | en = Valentina Kerman
 
   | en = Valentina Kerman
 
   | ru = Валентина Керман
 
   | ru = Валентина Керман
 +
  | ja = ヴァレンティナ・カーマン
 
  }}
 
  }}
  | col4 = {{Kerbal|valentina|align=none|size=120px|link=yes}}
+
  | col4 = {{Kerbal|valentina|align=none|size=150px|link=yes}}
  | col4footer = {{if lang link|Pilot}}
+
  | col4footer = {{if lang link|Pilot
 +
    | en = Pilot
 +
    | fr = Pilote
 +
    | ru = Пилот
 +
    | it = Pilota
 +
}}
  
 
}}
 
}}
  
| list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
+
| abbr2 = ksc
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|ksc|uncollapsed|{{{state2|<includeonly>collapsed</includeonly>}}}}}
+
| state2 = <includeonly>collapsed</includeonly>
| title = {{if lang link|Kerbal Space Center
+
| group2 = {{if lang link|Kerbal Space Center
 
   | en = Kerbal Space Center Staff
 
   | 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 = Персонал Космического центра
 
  }}
 
  }}
 
+
| list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
| bodystyle      = {{Navbox style|color=green|child|body}}
+
  | colheaderstyle  = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em;
| titlestyle      = {{Navbox style|color=green|child|title}}
+
  | colstyle        = text-align: center;
| abovestyle      = {{Navbox style|color=green|child|above}}
+
  | colfooterstyle  = {{Navbox style{{\sandbox}}|color=green|child|below}} padding: 0.25em; font-weight: normal;
| belowstyle      = {{Navbox style|color=green|child|below}}
 
| groupstyle      = {{Navbox style|color=green|child|group}}
 
| liststyle      = {{Navbox style|color=green|child|list}}
 
| evenstyle      = {{Navbox style|color=green|child|even}}
 
| oddstyle        = {{Navbox style|color=green|child|odd}}
 
 
 
  | colheaderstyle  = {{Navbox style|color=green|child|above}} padding: 0.25em;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
 
  | 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 102: Line 111:
 
   | en = Wernher von Kerman
 
   | en = Wernher von Kerman
 
   | ru = Вернер фон Керман
 
   | ru = Вернер фон Керман
 +
  | ja = ヴェルナー・フォン・カーマン
 
  }}
 
  }}
  | col1 = {{Kerbal|wernher|align=none|size=122px|link=yes}}
+
  | col1 = {{Kerbal|wernher|align=none|size=120px|link=yes}}
 
  | col1footer = {{if lang link
 
  | col1footer = {{if lang link
 
   | en = Research and Development
 
   | en = Research and Development
 +
  | fr = Recherche et développement
 +
  | hu = Kutatás és Fejlesztés
 +
  | it = Ricerca e Sviluppo
 +
  | ja = 研究開発センター
 +
  | ru = Научно-технический центр
 
  }}
 
  }}
  
Line 111: Line 126:
 
   | en = Gene Kerman
 
   | en = Gene Kerman
 
   | ru = Джин Керман
 
   | ru = Джин Керман
 +
  | ja = ジーン・カーマン
 
  }}
 
  }}
 
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
 
  | col2 = {{Kerbal|gene|align=none|size=120px|link=yes}}
 
  | col2footer = {{if lang link
 
  | col2footer = {{if lang link
 
   | en = Mission Control
 
   | en = Mission Control
 +
  | fr = Contrôle de Mission
 +
  | hu = Küldetésirányítás
 +
  | it = Controllo Missione
 +
  | ja = ミッションコントロールセンター
 +
  | ru = Центр аэрокосмических программ
 
  }}
 
  }}
  
Line 120: Line 141:
 
   | en = Mortimer Kerman
 
   | en = Mortimer Kerman
 
   | ru = Мортимер Керман
 
   | ru = Мортимер Керман
 +
  | ja = モーティマー・カーマン
 
  }}
 
  }}
 
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
 
  | col3 = {{Kerbal|mortimer|align=none|size=120px|link=yes}}
 
  | col3footer = [[Strategies{{if lang}}#Finances|{{lang
 
  | col3footer = [[Strategies{{if lang}}#Finances|{{lang
 
   | en = Finances
 
   | en = Finances
 +
  | hu = Pénzügyek
 +
  | it = Contabilità
 +
  | ja = 財務部
 +
  | ru = Финансы
 
  }}]]
 
  }}]]
  
 
  | col4header = {{if lang link|Linus Kerman
 
  | col4header = {{if lang link|Linus Kerman
 
   | en = Linus Kerman
 
   | en = Linus Kerman
   | ru = Линус Карман
+
   | ru = Линус Керман
 +
  | ja = ライナス・カーマン
 
  }}
 
  }}
 
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
 
  | col4 = {{Kerbal|linus|align=none|size=120px|link=yes}}
 
  | col4footer = [[Strategies{{if lang}}#Science|{{lang
 
  | col4footer = [[Strategies{{if lang}}#Science|{{lang
 
   | en = Science
 
   | en = Science
 +
  | hu = Tudomány
 +
  | it = Scienza
 +
  | ja = 科学研究部
 +
  | ru = Наука
 
  }}]]
 
  }}]]
  
Line 138: Line 169:
 
   | en = Walt Kerman
 
   | en = Walt Kerman
 
   | ru = Уолт Керман
 
   | ru = Уолт Керман
 +
  | ja = ウォルト・カーマン
 
  }}
 
  }}
 
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
 
  | col5 = {{Kerbal|walt|align=none|size=120px|link=yes}}
 
  | col5footer = [[Strategies{{if lang}}#Public Relations|{{lang
 
  | col5footer = [[Strategies{{if lang}}#Public Relations|{{lang
 
   | en = Public Relations
 
   | en = Public Relations
 +
  | fr = Relations publiques
 +
  | hu = Sajtó
 +
  | it = Publiche Relationi
 +
  | ja = 広報部
 +
  | ru = Связи с общественностью
 
  }}]]
 
  }}]]
  
Line 147: Line 184:
 
   | en = Gus Kerman
 
   | en = Gus Kerman
 
   | ru = Гас Керман
 
   | ru = Гас Керман
 +
  | ja = ガス・カーマン
 
  }}
 
  }}
 
  | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
 
  | col6 = {{Kerbal|gus|align=none|size=120px|link=yes}}
 
  | col6footer = [[Strategies{{if lang}}#Operations|{{lang
 
  | col6footer = [[Strategies{{if lang}}#Operations|{{lang
 
   | en = Operations
 
   | en = Operations
 +
  | fr = Opérations
 +
  | hu = Műveletek
 +
  | it = Operazioni
 +
  | ja = 事業部
 +
  | ru = Операции
 
  }}]]
 
  }}]]
  
 
}}
 
}}
  
| list3 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
+
| abbr3 = others
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|others|uncollapsed|{{{state3|<includeonly>collapsed</includeonly>}}}}}
+
| state3 = <includeonly>collapsed</includeonly>
| title = {{lang
+
| group3 = {{lang
 
   | en = Others
 
   | en = Others
 +
  | fr = Autres
 +
  | hu = Mások
 +
  | it = Altri
 +
  | ja = その他
 +
  | ru = Прочие
 +
}}
 +
| list3style = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em;
 +
| list3 = <!-- Just using a simple list for now, while the server's image handling is very broken -->
 +
* {{if lang link|Bobak Kerman
 +
  | en = Bobak Kerman
 +
  | ru = Бобак Керман
 +
  | ja = ボバク・カーマン
 +
}}
 +
* {{if lang link|Dawton Kerman
 +
  | en = Dawton Kerman
 +
  | ru = Дьютон Керман
 +
  | ja = ドートン・カーマン
 +
}}
 +
* {{if lang link|Dinkelstein Kerman
 +
  | en = Dinkelstein Kerman
 +
  | ru = Динкельштейн Керман
 +
  | ja = ディンケルシュタイン・カーマン
 +
}}
 +
* {{if lang link|Eumon Kerman
 +
  | en = Eumon Kerman
 +
  | ru = Эмон Керман
 +
  | ja = イモン・カーマン
 +
}}
 +
* {{if lang link|Kirrim Kerman
 +
  | en = Kirrim Kerman
 +
  | ru = Киррим Керман
 +
}}
 +
* {{if lang link|Kurt Kerman
 +
  | en = Kurt Kerman
 +
  | ru = Курт Керман
 
  }}
 
  }}
 
+
*{{if lang link|Felipe Kerman
| bodystyle      = {{Navbox style|color=green|child|body}}
+
  | en = Felipe Kerman
| titlestyle      = {{Navbox style|color=green|child|title}}
+
  | ru = Фелипе Керман
| abovestyle      = {{Navbox style|color=green|child|above}}
+
}}
| belowstyle      = {{Navbox style|color=green|child|below}}
+
<!-- Navbox will just ignore "not-list3", so it's really just a comment,
| groupstyle      = {{Navbox style|color=green|child|group}}
+
    but holds the full version with broken images -->
| liststyle      = {{Navbox style|color=green|child|list}}
+
| not-list3 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child
| evenstyle      = {{Navbox style|color=green|child|even}}
+
  | colheaderstyle  = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em;
| oddstyle        = {{Navbox style|color=green|child|odd}}
+
  | colstyle        = text-align: center;
 
+
  | colfooterstyle  = {{Navbox style{{\sandbox}}|color=green|child|below}} padding: 0.25em; font-weight: normal;
  | colheaderstyle  = {{Navbox style|color=green|child|above}} padding: 0.25em;
 
  | colstyle        = {{Navbox style|color=green|child|list}} text-align: center;
 
  | 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 178: Line 253:
 
   | en = Bobak Kerman
 
   | en = Bobak Kerman
 
   | ru = Бобак Керман
 
   | ru = Бобак Керман
 +
  | ja = ボバク・カーマン
 
  }}
 
  }}
 
  | col1 = {{Kerbal|bobak|align=none|size=120px|link=yes}}
 
  | col1 = {{Kerbal|bobak|align=none|size=120px|link=yes}}
Line 183: Line 259:
 
  | col2header = {{if lang link|Dawton Kerman
 
  | col2header = {{if lang link|Dawton Kerman
 
   | en = Dawton Kerman
 
   | en = Dawton Kerman
   | ru = Дьютон Карман
+
   | ru = Дьютон Керман
 +
  | ja = ドートン・カーマン
 
  }}
 
  }}
 
  | col2 = {{Kerbal|dawton|align=none|size=120px|link=yes}}
 
  | col2 = {{Kerbal|dawton|align=none|size=120px|link=yes}}
Line 189: Line 266:
 
  | col3header = {{if lang link|Dinkelstein Kerman
 
  | col3header = {{if lang link|Dinkelstein Kerman
 
   | en = Dinkelstein Kerman
 
   | en = Dinkelstein Kerman
   | ru = Динкельштейн Карман
+
   | ru = Динкельштейн Керман
 +
  | ja = ディンケルシュタイン・カーマン
 
  }}
 
  }}
 
  | col3 = {{Kerbal|dinkelstein|align=none|size=120px|link=yes}}
 
  | col3 = {{Kerbal|dinkelstein|align=none|size=120px|link=yes}}
Line 195: Line 273:
 
  | col4header = {{if lang link|Eumon Kerman
 
  | col4header = {{if lang link|Eumon Kerman
 
   | en = Eumon Kerman
 
   | en = Eumon Kerman
   | ru = Эмон Карман
+
   | ru = Эмон Керман
 +
  | ja = イモン・カーマン
 
  }}
 
  }}
 
  | col4 = {{Kerbal|eumon|align=none|size=120px|link=yes}}
 
  | col4 = {{Kerbal|eumon|align=none|size=120px|link=yes}}
Line 201: Line 280:
 
  | col5header = {{if lang link|Kirrim Kerman
 
  | col5header = {{if lang link|Kirrim Kerman
 
   | en = Kirrim Kerman
 
   | en = Kirrim Kerman
   | ru = Киррим Карман
+
   | ru = Киррим Керман
 
  }}
 
  }}
 
  | col5 = {{Kerbal|kirrim|align=none|size=120px|link=yes}}
 
  | col5 = {{Kerbal|kirrim|align=none|size=120px|link=yes}}
Line 207: Line 286:
 
  | col6header = {{if lang link|Kurt Kerman
 
  | col6header = {{if lang link|Kurt Kerman
 
   | en = Kurt Kerman
 
   | en = Kurt Kerman
 +
  | ru = Курт Керман
 
  }}
 
  }}
 
  | col6 = {{Kerbal|kurt|align=none|size=120px|link=yes}}
 
  | col6 = {{Kerbal|kurt|align=none|size=120px|link=yes}}

Latest revision as of 13:00, 12 January 2022

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