Difference between revisions of "Template:Infobox/Kerbal"

From Kerbal Space Program Wiki
Jump to: navigation, search
(-new lines; +occupation translation;)
(+a bit of text;)
Line 6: Line 6:
 
{{if||{{{hovertext|}}}|{{ Infobox/Line|style=text-align:center; font-style:italic;|{{{hovertext}}}}}}}
 
{{if||{{{hovertext|}}}|{{ Infobox/Line|style=text-align:center; font-style:italic;|{{{hovertext}}}}}}}
 
{{Infobox/Line|{{lang|en=Occupation|de=Tätigkeit}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}
 
{{Infobox/Line|{{lang|en=Occupation|de=Tätigkeit}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}
}}<noinclude>
+
}}<noinclude>Shows an infobox for any [[kerbal]]. For [[kerbonaut]]s use {{Tl|Infobox/Kerbonaut}} instead.
{{Parameter Table|parameters=
+
 
 +
The {{{occupation}}} should always be in the native language (so usually English). To translate it, use instead the {{{occupation trans}}} parameter.
 +
 
 +
{{Parameter Table|name=text|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.svg]]}}
 
{{Parameter Row|file|An image of the kerbal.|[[:File:Image needed.svg]]}}

Revision as of 11:56, 14 March 2014

Infobox
Image needed.svg
Occupation {{{occupation}}}
Shows an infobox for any kerbal. For kerbonauts use {{Infobox/Kerbonaut}} instead.

The {{{occupation}}} should always be in the native language (so usually English). To translate it, use instead the {{{occupation trans}}} parameter.

Template:Parameter Table