Difference between revisions of "Template:Infobox/Kerbal"
From Kerbal Space Program Wiki
Kspjptrans (talk | contribs) |
Kspjptrans (talk | contribs) |
||
Line 4: | Line 4: | ||
|hovertext={{{hovertext|}}} | |hovertext={{{hovertext|}}} | ||
|lines= | |lines= | ||
− | {{if||{{{hovertext|}}}|{{ Infobox/Line|style=text-align:center; font-style:italic | + | {{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=職名:}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}{{if||{{{lines|}}}| | + | {{Infobox/Line| style=white-space:nowrap; {{lang|en=Occupation:|ru=профессия:|es=Profesión:|de=Tätigkeit:|pl=Zawód:|fr=Profession:|it=Professione:|ja=職名:}}|{{#if: {{{occupation trans|}}}|{{{occupation trans}}} <small>(}}{{{occupation}}}{{#if: {{{occupation trans|}}}|)</small>}}}}{{if||{{{lines|}}}| |
{{{lines}}}}} | {{{lines}}}}} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 16:52, 24 September 2014
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.