Difference between revisions of "Template:Infobox/Kerbal"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
m (+hu)
Line 5: Line 5:
 
|lines=
 
|lines=
 
{{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:|ru=профессия:|es=Profesión:|de=Tätigkeit:|pl=Zawód:|fr=Profession:|it=Professione:|ja={{Nowrap|職名:}}}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}{{if||{{{lines|}}}|
+
{{Infobox/Line| {{lang|en=Occupation:|ru=профессия:|es=Profesión:|de=Tätigkeit:|pl=Zawód:|fr=Profession:|it=Professione:|ja={{Nowrap|職名:|hu=Foglalkozás:}}}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}{{if||{{{lines|}}}|
 
{{{lines}}}}}
 
{{{lines}}}}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 22:40, 17 February 2015

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.

Name 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
occupation No The kerbal's role or occupation.
occupation trans Yes The kerbal's role or occupation translated. Not set
lines Yes Additional lines below the occupation. Not set/Hidden