Difference between revisions of "Template:Infobox/Kerbal"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+ready for English, Russian, Spanish, German, Polish, French, and Italian)
(-new line; +additional lines;)
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:}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}
+
{{Infobox/Line|{{lang|en=Occupation:|ru=профессия:|es=Profesión:|de=Tätigkeit:|pl=Zawód:|fr=Profession:|it=Professione:}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}{{if||{{{lines|}}}|
}}
+
{{{lines}}}}}
<noinclude>Shows an infobox for any [[kerbal]]. For [[kerbonaut]]s use {{Tl|Infobox/Kerbonaut}} instead.
+
}}<noinclude>
 +
 
 +
Shows an infobox for any [[kerbal]]. For [[kerbonaut]]s use {{Tl|Infobox/Kerbonaut}} instead.
  
 
The {{{occupation}}} should always be in the native language (so usually English). To translate it, use instead the {{{occupation trans}}} parameter.
 
The {{{occupation}}} should always be in the native language (so usually English). To translate it, use instead the {{{occupation trans}}} parameter.
Line 17: Line 19:
 
{{Parameter Row|occupation|The kerbal's role or occupation.}}
 
{{Parameter Row|occupation|The kerbal's role or occupation.}}
 
{{Parameter Row|occupation trans|The kerbal's role or occupation translated.|Not set}}
 
{{Parameter Row|occupation trans|The kerbal's role or occupation translated.|Not set}}
 +
{{Parameter Row|lines|Additional lines below the occupation.|Not set/Hidden}}
 
}}
 
}}
  
 
[[Category:Infobox templates|Kerbal]]</noinclude>
 
[[Category:Infobox templates|Kerbal]]</noinclude>

Revision as of 11:56, 2 April 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