Difference between revisions of "Template:Kerbal"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Swap Jeb's image for a better one. Add {{lc:}}, for case insensitive names passed as {{{1}}})
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[File:{{#switch:{{lc:{{{1|}}}}}
 
[[File:{{#switch:{{lc:{{{1|}}}}}
 
  | jeb
 
  | jeb
  | jebediah  = Jeb portrait.png
+
  | jebediah  = Jeb portait.png
 
  | bill      = Bill in CommandPod.jpeg
 
  | bill      = Bill in CommandPod.jpeg
 
  | bob      = Bob Kerman.png
 
  | bob      = Bob Kerman.png
 +
| val
 +
| valentina = Valentina Kerman portrait.01.png
 
  | wernher  = Wernher von Kerman portrait.01.png
 
  | wernher  = Wernher von Kerman portrait.01.png
 
  | gene      = Gene Kerman in-editor.png
 
  | gene      = Gene Kerman in-editor.png
Line 13: Line 15:
 
  | kirrim    = Kirrim Kerman portrait.01.png
 
  | kirrim    = Kirrim Kerman portrait.01.png
 
  | #default  = Image needed.svg
 
  | #default  = Image needed.svg
}} | {{{2|{{{size|25px}}}}}} | link={{#switch:{{{link|}}}
+
}} | {{#if:{{{align|}}}|{{{align}}} {{!}} }}{{{2|{{{size|25px}}}}}} | link={{#switch:{{{link|}}}
 
  | yes={{ucfirst:{{#switch:{{lc:{{{1}}}}}
 
  | yes={{ucfirst:{{#switch:{{lc:{{{1}}}}}
 
   | jeb      = Jebediah
 
   | jeb      = Jebediah

Latest revision as of 11:25, 2 November 2015

Image needed.svg 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 Image needed.svg
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