Difference between revisions of "Template:Infobox/Kerbonaut"
From Kerbal Space Program Wiki
m (Use dict, move documentation) |
|||
(15 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Infobox/Kerbal | + | <includeonly>{{Infobox/Kerbal |
+ | |name={{{name|}}} | ||
|file={{{file|}}} | |file={{{file|}}} | ||
− | |||
|hovertext={{{hovertext|}}} | |hovertext={{{hovertext|}}} | ||
− | |occupation | + | |occupation={{Infobox/Kerbal/Dict|Kerbonaut}} |
− | |||
|lines= | |lines= | ||
− | {{ | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|Specialisation}}|{{#switch: {{{special}}} |
− | + | |p={{Infobox/Kerbal/Dict|Pilot}} | |
− | {{Infobox/Line|{{ | + | |s={{Infobox/Kerbal/Dict|Scientist}} |
− | {{Infobox/Line|{{ | + | |e={{Infobox/Kerbal/Dict|Engineer}} |
− | {{Infobox/Line|{{ | + | |#default={{Dict|Unknown}} |
− | }}< | + | }}}}{{if||{{{extra occupations|}}}| |
− | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|Other}}|{{{extra occupations}}}}}}} | |
− | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|ID}}|{{{id|{{Dict|Unknown}}}}}}} | |
− | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|Courage}}|{{Infobox/Kerbonaut/bar|{{{brave|0}}}}}}} | |
− | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|Stupidity}}|{{Infobox/Kerbonaut/bar|{{{dumb|0}}}}}}} | |
− | + | {{Infobox/Line|{{Infobox/Kerbal/Dict|Badass}}|{{Boolean|{{{badass}}}|{{No}}}}}} | |
− | + | }}</includeonly><noinclude> | |
− | + | {{Documentation}} | |
− | + | </noinclude> | |
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 14:46, 22 September 2024
John Kerman | ||
Occupation | Kerbonaut | |
Specialisation | Pilot | |
Other occupations | Manufacturer | |
KSC ID# | 0015 | |
Courage | | |
Stupidity | | |
Badass | Yes |
Shows an infobox for Kerbonauts. If it is about a Kerbal use {{Infobox/Kerbal}} instead.
# | Optional | Description | Default |
---|---|---|---|
name | Yes | The name of the Kerbonaut, including nicknames. | Infobox |
file | Yes | An image of the Kerbonaut. | File:Image needed.svg |
hovertext | Yes | The image's hovertext and subtitle. | Not set/Hidden |
special | Yes | The specialisation of the Kerbonaut. Suppported values are:
If the value is not known, shows Unknown. |
Unknown |
extra occupations | Yes | Extra occupation besides Kerbonaut, like Manufacturer. | Not set/Hidden |
id | Yes | Identification number (from promo vid "Selection Process"). | Unknown |
brave | Yes | The courage of the Kerbonaut with a value between 0 and 1. | 0 |
dumb | Yes | The stupidity of the Kerbonaut with a value between 0 and 1. | 0 |
badass | Yes | Wether the Kerbonaut is a badass. Set to y if the badass flag is set. | No |
The above documentation is transcluded from Template:Infobox/Kerbonaut/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |