Difference between revisions of "Template:LS slot info"

From PSU Cyril Wiki
Jump to: navigation, search
m (<_<)
m
 
(5 intermediate revisions by 2 users not shown)
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|}}}
 +
|Y|o= {{#switch: {{NAMESPACE}}
 +
|PSP= {{Head unit icon | PSP}}
 +
|#default= {{Head unit icon}}}}
 +
|N|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Arm|}}}
 +
|Y|o= {{#switch: {{NAMESPACE}}
 +
|PSP= {{Arm unit icon | PSP}}
 +
|#default= {{Arm unit icon}}}}
 +
|N|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Body|}}}
 +
|Y|o= {{#switch: {{NAMESPACE}}
 +
|PSP= {{Body unit icon | PSP}}
 +
|#default= {{Body unit icon}}}}
 +
|N|x= -
 +
|?= ?
 +
|#default= -}} || {{#switch: {{{Extra|}}}
 +
|Y|o= {{#switch: {{NAMESPACE}}
 +
|PSP= {{Extra unit icon | PSP}}
 +
|#default= {{Extra unit icon}}}}
 +
|N|x= -
 +
|?= ?
 +
|#default= -}}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>== Parameter values ==
 
<noinclude>== Parameter values ==
 +
'''Head:'''  If a head slot exists in this line shield, enter a lowercase ''o'' (or ''Y'').  Otherwise, leave it blank or enter a lowercase ''x'' (or ''N'').  If the existence of this slot is unknown, enter a question mark.<br/>
 +
'''Arm:'''  If an arm slot exists in this line shield, enter a lowercase ''o'' (or ''Y'').  Otherwise, leave it blank or enter a lowercase ''x'' (or ''N'').  If the existence of this slot is unknown, enter a question mark.<br/>
 +
'''Body:'''  If a body slot exists in this line shield, enter a lowercase ''o'' (or ''Y'').  Otherwise, leave it blank or enter a lowercase ''x'' (or ''N'').  If the existence of this slot is unknown, enter a question mark.<br/>
 +
'''Extra:'''  If an extra slot exists in this line shield, enter a lowercase ''o'' (or ''Y'').  Otherwise, leave it blank or enter a lowercase ''x'' (or ''N'').  If the existence of this slot is unknown, enter a question mark.<br/>
  
 
== Blank template ==
 
== Blank template ==
Line 17: Line 45:
  
 
== Examples ==
 
== Examples ==
 +
=== Various slots ===
 
<pre>{{LS slot info
 
<pre>{{LS slot info
|Head= o
+
|Head= Y
 
|Arm=  
 
|Arm=  
|Body= o
+
|Body= Y
|Extra= o}}</pre>
+
|Extra= Y}}</pre>
 
...produces...
 
...produces...
 
{{LS slot info
 
{{LS slot info
|Head= o
+
|Head= Y
 
|Arm=  
 
|Arm=  
|Body= o
+
|Body= Y
|Extra= o}}
+
|Extra= Y}}
 +
 
 +
=== Slots unknown ===
 +
<pre>{{LS slot info
 +
|Head= ?
 +
|Arm= ?
 +
|Body= ?
 +
|Extra= ?}}</pre>
 +
...produces...
 +
{{LS slot info
 +
|Head= ?
 +
|Arm= ?
 +
|Body= ?
 +
|Extra= ?}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:46, 10 June 2010

Parameter values

Head: If a head slot exists in this line shield, enter a lowercase o (or Y). Otherwise, leave it blank or enter a lowercase x (or N). If the existence of this slot is unknown, enter a question mark.
Arm: If an arm slot exists in this line shield, enter a lowercase o (or Y). Otherwise, leave it blank or enter a lowercase x (or N). If the existence of this slot is unknown, enter a question mark.
Body: If a body slot exists in this line shield, enter a lowercase o (or Y). Otherwise, leave it blank or enter a lowercase x (or N). If the existence of this slot is unknown, enter a question mark.
Extra: If an extra slot exists in this line shield, enter a lowercase o (or Y). Otherwise, leave it blank or enter a lowercase x (or N). If the existence of this slot is unknown, enter a question mark.

Blank template

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

Examples

Various slots

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

...produces...

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


Slots unknown

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

...produces...

Slot information
Head Arm Body Extra
 ?  ?  ?  ?