Difference between revisions of "Template:Infobox/Kerbonaut"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*it is displayed as courage ingame; +link to courage;)
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Infobox
+
{{Infobox/Kerbal
 
|file={{{file|}}}
 
|file={{{file|}}}
 
|name={{{name|}}}
 
|name={{{name|}}}
 
|hovertext={{{hovertext|}}}
 
|hovertext={{{hovertext|}}}
 +
|occupation=Kerbonaut
 +
|occupation trans={{lang|en=|ru=Кербанавт|es=Kerbonaut|de=Kerbonaut|pl=Kerbonautą|fr=Kerbonaute|it=Astronauta|ja=宇宙飛行士|hu=Kerbonauta}}
 
|lines=
 
|lines=
{{if||{{{hovertext|}}}|{{Infobox/Line|style=text-align:center; font-style:italic;|{{{hovertext}}}}}
+
{{Infobox/Line|{{lang|en=Specialisation|de=Spezilisierung|hu=Szakterület|tr=Uzmanlık alanı}}|{{#switch: {{{special<noinclude>|p</noinclude>}}}
}}{{Infobox/Line|{{if lang link|Courage|de=Mut}}|{{Infobox/Kerbal/bar|{{{brave<noinclude>|0.3</noinclude>}}}}}}}
+
|p={{lang|en=Pilot|de=Pilot/in|hu=Pilóta}}
{{Infobox/Line|{{lang|en=Dumbness|de=Dummheit}}|{{Infobox/Kerbal/bar|{{{dumb<noinclude>|0.6</noinclude>}}}}}}}
+
|s={{lang|en=Scientist|de=Wissenschaftler/in|hu=Tudós|tr=Bilim Adamı}}
{{Infobox/Line|Badass|{{#ifeq: {{uc:{{{badass<noinclude>|yes</noinclude>}}}}}|YES|{{Yes}}|{{No}}}}}}
+
|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|tr=Diğer meslekleri:}}|{{{extra occupations}}}}}
 +
}}{{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|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|tr=Sert adam}}|{{#ifeq: {{uc:{{{badass<noinclude>|yes</noinclude>}}}}}|YES|{{Yes}}|{{No}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 +
An infobox for [[kerbonaut]]s. If it is about a Kerbal use {{Tl|Infobox/Kerbal}} instead.
  
{{Parameter Table|parameters=
+
{{Parameter table|parameters=
{{Parameter Row|name|The name of the kerbal, including nicknames.|The name of the article}}
+
{{Parameter row|name|The name of the kerbal, including nicknames.|The name of the article}}
{{Parameter Row|file|An image of the kerbal.|[[:File:Image-needed.png]]}}
+
{{Parameter row|file|An image of the kerbal.|[[:File:Image needed.svg]]}}
{{Parameter Row|hovertext|The image's hovertext and subtitle.|Not set}}
+
{{Parameter row|hovertext|The image's hovertext and subtitle.|Not set}}
{{Parameter Row|brave|The bravery/courage of the kerbal with value between 0 and 1.}}
+
{{Parameter row|special|The specialisation of this kerbonaut. Must be either p (pilot), s (scientist) or e (engineer).}}
{{Parameter Row|dumb|The dumbness of the kerbal with value between 0 and 1.}}
+
{{Parameter row|extra occupations|Extra occupation besides Kerbonaut, like Manufacturer|Not set}}
{{Parameter Row|badass|Set to <tt>yes</tt> if the badass flag is set.}}
+
{{Parameter row|id|Identification number (from promo vid "Selection Process")|<tt>Unknown</tt>}}
 +
{{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|badass|Set to <tt>yes</tt> if the badass flag is set.}}
 
}}
 
}}
  
[[Category:Infobox templates]]</noinclude>
+
[[Category:Infobox templates|Kerbal]]</noinclude>

Latest revision as of 22:34, 11 January 2019

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 No Set to yes if the badass flag is set.