Difference between revisions of "Template:Kerbal"

From Kerbal Space Program Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:{{#switch:{{{1|}}}|jeb|jebediah=Jebediah Kerman.png|bill=Bill_in_CommandPod.jpeg|bob=Bob Kerman.png|wernher=Wernher_von_Kerman_portrait.01.png|gene=Gene_Kerman_in-editor.png|mortimer=Mortimer_Kerman_portrait.01.png|linus=Linus_Kerman_portrait.01.png|walt=Walt_Kerman_portrait.01.png|gus=Gus_Kerman_portrait.01.png|bobak=Bobak Kerman portrait.01.png|kirrim=Kirrim_Kerman_portrait.01.png|#default=Image needed.svg}}|{{{2|{{{size|25}}}}}}px|link={{#if:{{{link|}}}|http://wiki.kerbalspaceprogram.com/wiki/{{#switch:{{{link|no}}}|yes={{#switch:{{{1|}}}|jeb|jebediah=Jebediah|bill=Bill|bob=Bob|wernher=Wernher_von|gene=Gene|mortimer=Mortimer|linus=Linus|walt=Walt|gus=Gus|bobak=Bobak|kirrim=Kirrim}}_Kerman|#default=}}|}}]]
+
[[File:{{#switch:{{lc:{{{1|}}}}}
<noinclude>
+
| jeb
 +
| jebediah = Jeb portait.png
 +
| bill     = Bill in CommandPod.jpeg
 +
| bob       = Bob Kerman.png
 +
| val
 +
| valentina = Valentina Kerman portrait.01.png
 +
| wernher   = Wernher von Kerman portrait.01.png
 +
| gene     = Gene Kerman in-editor.png
 +
| mortimer = Mortimer Kerman portrait.01.png
 +
| linus     = Linus Kerman portrait.01.png
 +
| walt     = Walt Kerman portrait.01.png
 +
| gus       = Gus Kerman portrait.01.png
 +
| bobak     = Bobak Kerman portrait.01.png
 +
| kirrim   = Kirrim Kerman portrait.01.png
 +
| #default = Image needed.svg
 +
}} | {{#if:{{{align|}}}|{{{align}}} {{!}} }}{{{2|{{{size|25px}}}}}} | link={{#switch:{{{link|}}}
 +
| yes={{ucfirst:{{#switch:{{lc:{{{1}}}}}
 +
  | jeb     = Jebediah
 +
  | wernher = Wernher von
 +
  | #default = {{{1}}}
 +
  }}}} Kerman{{if lang}}
 +
| no =  
 +
| #default = {{{link|}}}
 +
}}]]<noinclude>
 
Add a portrait of a [[Kerbal]].
 
Add a portrait of a [[Kerbal]].
 
== Usage ==
 
== Usage ==
Line 32: Line 55:
 
  | Change the size, in pixels, of the portrait
 
  | Change the size, in pixels, of the portrait
 
  | 25 pixels
 
  | 25 pixels
 +
|-
 
  | <tt>link</tt>
 
  | <tt>link</tt>
 
  | {{Yes}}
 
  | {{Yes}}

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