Difference between revisions of "Template:Infobox/Kerbonaut"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+Specialisation;)
m (Update logic)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|occupation trans={{lang|en=|ru=Кербанавт|es=Kerbonaut|de=Kerbonaut|pl=Kerbonautą|fr=Kerbonaute|it=Astronauta|ja=宇宙飛行士|hu=Kerbonauta}}
 
|occupation trans={{lang|en=|ru=Кербанавт|es=Kerbonaut|de=Kerbonaut|pl=Kerbonautą|fr=Kerbonaute|it=Astronauta|ja=宇宙飛行士|hu=Kerbonauta}}
 
|lines=
 
|lines=
{{Infobox/Line|{{lang|en=Specialisation|de=Spezilisierung}}|{{#switch: {{{special<noinclude>|p</noinclude>}}}
+
{{Infobox/Line|{{lang|en=Specialisation|de=Spezilisierung|hu=Szakterület|tr=Uzmanlık alanı}}|{{#switch: {{{special<noinclude>|p</noinclude>}}}
|p={{lang|en=Pilot|de=Pilot/in}}
+
|p={{lang|en=Pilot|de=Pilot/in|hu=Pilóta}}
|s={{lang|en=Scientist|de=Wissenschaftler/in}}
+
|s={{lang|en=Scientist|de=Wissenschaftler/in|hu=Tudós|tr=Bilim Adamı}}
|e={{lang|en=Engineer|de=Ingineur/in}}
+
|e={{lang|en=Engineer|de=Ingineur/in|hu=Mérnök|tr=Mühendis}}
 
}}}}
 
}}}}
{{if||{{{extra occupations|}}}|{{Infobox/Line|{{lang|en=Other occupations:|de=Andere Tätigkeiten:|pl=Inne zawody:|ru=Другие занятия:|ja=副職:|hu=További szakma}}|{{{extra occupations}}}}}
+
{{if||{{{extra occupations|}}}|{{Infobox/Line|{{lang|en=Other occupations:|de=Andere Tätigkeiten:|pl=Inne zawody:|ru=Другие занятия:|ja=副職:|hu=További szakma|tr=Diğer meslekleri:}}|{{{extra occupations}}}}}
 
}}{{Infobox/Line|{{lang|en=KSC ID#:}}|{{if||{{{id|}}}|{{{id}}}|{{Dict|Unknown}}}}}}
 
}}{{Infobox/Line|{{lang|en=KSC ID#:}}|{{if||{{{id|}}}|{{{id}}}|{{Dict|Unknown}}}}}}
 
{{Infobox/Line|{{if lang link|Courage|ru=Смелость|es=Valentía|de=Mut|pl=Odwaga|fr=Courage|it=Coraggio|hu=Bátorság}}|{{Infobox/Kerbonaut/bar|{{{brave<noinclude>|0.3</noinclude>}}}}}}}
 
{{Infobox/Line|{{if lang link|Courage|ru=Смелость|es=Valentía|de=Mut|pl=Odwaga|fr=Courage|it=Coraggio|hu=Bátorság}}|{{Infobox/Kerbonaut/bar|{{{brave<noinclude>|0.3</noinclude>}}}}}}}
 
{{Infobox/Line|{{if lang link|Stupidity|ru=Глупость|es=Estupidez|de=Dummheit|pl=Głupota|fr=Stupidité|it=Stupidità|hu=Butaság}}|{{Infobox/Kerbonaut/bar|{{{dumb<noinclude>|0.6</noinclude>}}}}}}}
 
{{Infobox/Line|{{if lang link|Stupidity|ru=Глупость|es=Estupidez|de=Dummheit|pl=Głupota|fr=Stupidité|it=Stupidità|hu=Butaság}}|{{Infobox/Kerbonaut/bar|{{{dumb<noinclude>|0.6</noinclude>}}}}}}}
{{Infobox/Line|{{lang|en=Badass|ru=Задира|es=Badass|de=Badass|pl=Twardziel|fr=Dur à cuire|it=Cazzuto|hu=Fenegyerek}}|{{#ifeq: {{uc:{{{badass<noinclude>|yes</noinclude>}}}}}|YES|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang|en=Badass|ru=Задира|es=Badass|de=Badass|pl=Twardziel|fr=Dur à cuire|it=Cazzuto|hu=Fenegyerek|tr=Sert adam}}|{{Boolean|{{{badass<noinclude>|y</noinclude>}}}|{{No}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
An infobox for [[kerbonaut]]s. If it is about a Kerbal use {{Tl|Infobox/Kerbal}} instead.
 
An infobox for [[kerbonaut]]s. If it is about a Kerbal use {{Tl|Infobox/Kerbal}} instead.
Line 28: Line 28:
 
{{Parameter row|brave|The courage of the kerbal with value between 0 and 1.}}
 
{{Parameter row|brave|The courage of the kerbal with value between 0 and 1.}}
 
{{Parameter row|dumb|The stupidity of the kerbal with value between 0 and 1.}}
 
{{Parameter row|dumb|The stupidity of the kerbal with value between 0 and 1.}}
{{Parameter row|badass|Set to <tt>yes</tt> if the badass flag is set.}}
+
{{Parameter row|badass|Set to <tt>yes</tt> if the badass flag is set.|{{No}}}}
 
}}
 
}}
  
 
[[Category:Infobox templates|Kerbal]]</noinclude>
 
[[Category:Infobox templates|Kerbal]]</noinclude>

Latest revision as of 09:00, 17 September 2024

Infobox
Image needed.svg
Occupation: Kerbonaut
Specialisation Pilot
KSC ID#: Unknown
Courage
Stupidity
Badass Yes

An infobox for kerbonauts. If it is about a Kerbal use {{Infobox/Kerbal}} instead.

# Optional Description Default
name Yes The name of the kerbal, including nicknames. The name of the article
file Yes An image of the kerbal. File:Image needed.svg
hovertext Yes The image's hovertext and subtitle. Not set
special No The specialisation of this kerbonaut. Must be either p (pilot), s (scientist) or e (engineer).
extra occupations Yes Extra occupation besides Kerbonaut, like Manufacturer Not set
id Yes Identification number (from promo vid "Selection Process") Unknown
brave No The courage of the kerbal with value between 0 and 1.
dumb No The stupidity of the kerbal with value between 0 and 1.
badass Yes Set to yes if the badass flag is set. No