Difference between revisions of "Template:Infobox/Kerbonaut"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+hovertext; +defaults;)
m (+the hover text as subtitle;)
Line 4: Line 4:
 
|hovertext={{{hovertext|}}}
 
|hovertext={{{hovertext|}}}
 
|lines=
 
|lines=
{{Infobox/Line|{{lang|en=Bravery|de=Mut}}|{{Infobox/Kerbal/bar|{{{brave<noinclude>|0.3</noinclude>}}}}}}}
+
{{if||{{{hovertext|}}}|{{Infobox/Line|style=text-align:center; font-style:italic;|{{{hovertext}}}}}
 +
}}{{Infobox/Line|{{lang|en=Bravery|de=Mut}}|{{Infobox/Kerbal/bar|{{{brave<noinclude>|0.3</noinclude>}}}}}}}
 
{{Infobox/Line|{{lang|en=Dumbness|de=Dummheit}}|{{Infobox/Kerbal/bar|{{{dumb<noinclude>|0.6</noinclude>}}}}}}}
 
{{Infobox/Line|{{lang|en=Dumbness|de=Dummheit}}|{{Infobox/Kerbal/bar|{{{dumb<noinclude>|0.6</noinclude>}}}}}}}
 
{{Infobox/Line|Badass|{{#ifeq: {{uc:{{{badass<noinclude>|yes</noinclude>}}}}}|YES|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|Badass|{{#ifeq: {{uc:{{{badass<noinclude>|yes</noinclude>}}}}}|YES|{{Yes}}|{{No}}}}}}
Line 12: Line 13:
 
{{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.png]]}}
{{Parameter Row|hovertext|The image's hovertext.|Not set}}
+
{{Parameter Row|hovertext|The image's hovertext and subtitle.|Not set}}
 
{{Parameter Row|brave|The bravery of the kerbal with value between 0 and 1.}}
 
{{Parameter Row|brave|The bravery of the kerbal with value between 0 and 1.}}
 
{{Parameter Row|dumb|The dumbness of the kerbal with value between 0 and 1.}}
 
{{Parameter Row|dumb|The dumbness of the kerbal with value between 0 and 1.}}

Revision as of 13:42, 15 December 2013

Infobox
Image needed.svg
Bravery
Dumbness
Badass Yes

Template:Parameter Table