Difference between revisions of "Template:LS slot info"

From PSU Cyril Wiki
Jump to: navigation, search
m (<_<)
m
Line 5: Line 5:
 
| '''Head''' || '''Arm''' || '''Body''' || '''Extra'''  
 
| '''Head''' || '''Arm''' || '''Body''' || '''Extra'''  
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| {{#if: {{{Head|}}}|{{Head unit icon}}|-}} || {{#if: {{{Arm|}}}|{{Arm unit icon}}|-}} || {{#if: {{{Body|}}}|{{Body unit icon}}|-}} || {{#if: {{{Extra|}}}|{{Extra unit icon}}|-}}
+
| {{#switch: {{{Head|}}}
 +
|o= {{Head unit icon}}
 +
|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Arm|}}}
 +
|o= {{Arm unit icon}}
 +
|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Body|}}}
 +
|o= {{Body unit icon}}
 +
|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Extra|}}}
 +
|o= {{Extra unit icon}}
 +
|x= -
 +
|?= ?
 +
|#default= -}}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>== Parameter values ==
 
<noinclude>== Parameter values ==

Revision as of 14:07, 22 April 2008

Parameter values

Blank template

{{LS slot info
|Head= 
|Arm= 
|Body= 
|Extra= }}

Examples

{{LS slot info
|Head= o
|Arm= 
|Body= o
|Extra= o}}

...produces...

Slot information
Head Arm Body Extra
Head units
-
Body units
Extra units