Difference between revisions of "Template:Kerbal"
From Kerbal Space Program Wiki
(I'm crusading against opaque blobs of complex collapsed parser code. White space is free. This should now be much easier to understand and maintain. A few subtle enhancements as well, see /sandbox page history for more info.) |
(Swap Jeb's image for a better one. Add {{lc:}}, for case insensitive names passed as {{{1}}}) |
||
Line 1: | Line 1: | ||
− | [[File:{{#switch:{{{1|}}} | + | [[File:{{#switch:{{lc:{{{1|}}}}} |
| jeb | | jeb | ||
− | | jebediah = | + | | jebediah = Jeb portrait.png |
− | | bill = | + | | bill = Bill in CommandPod.jpeg |
| bob = Bob Kerman.png | | bob = Bob Kerman.png | ||
− | | wernher = | + | | wernher = Wernher von Kerman portrait.01.png |
− | | gene = | + | | gene = Gene Kerman in-editor.png |
− | | mortimer = | + | | mortimer = Mortimer Kerman portrait.01.png |
− | | linus = | + | | linus = Linus Kerman portrait.01.png |
− | | walt = | + | | walt = Walt Kerman portrait.01.png |
− | | gus = | + | | gus = Gus Kerman portrait.01.png |
| bobak = Bobak Kerman portrait.01.png | | bobak = Bobak Kerman portrait.01.png | ||
− | | kirrim = | + | | kirrim = Kirrim Kerman portrait.01.png |
| #default = Image needed.svg | | #default = Image needed.svg | ||
}} | {{{2|{{{size|25px}}}}}} | link={{#switch:{{{link|}}} | }} | {{{2|{{{size|25px}}}}}} | link={{#switch:{{{link|}}} | ||
− | | yes={{ucfirst:{{#switch:{{{1}}} | + | | yes={{ucfirst:{{#switch:{{lc:{{{1}}}}} |
| jeb = Jebediah | | jeb = Jebediah | ||
| wernher = Wernher von | | wernher = Wernher von |
Revision as of 21:50, 8 June 2015
Add a portrait of a Kerbal.
Usage
- Available Kerbals
- jeb or jebediah
- bill
- bob
- wernher
- gene
- mortimer
- linus
- walt
- gus
- bobak
- kirrim
#/Name | Optional | Description | Default |
---|---|---|---|
1 | No | First name of the Kerbal, without caps | |
2 or size | Yes | Change the size, in pixels, of the portrait | 25 pixels |
link | Yes | Use yes or no value. Toggle link on picture click. | no |