Difference between revisions of "Template:Unit stats"

From PSU Cyril Wiki
Jump to: navigation, search
m (Categorizing a few things to help me clean up articles.)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{| class="wikitable" style="text-align:center"
 
<includeonly>{| class="wikitable" style="text-align:center"
 +
| colspan="6" style="background:#e8e8e8" | '''Unit stats'''
 +
|-
 +
| style="background:#f2f2f2" | '''Type''' || {{#if: {{{Type|}}}|{{{{{Type}}} unit icon}}|?}} || style="background:#f2f2f2" | '''Mfr.''' || {{#if: {{{Mfr.|}}}|{{Logo-{{{Mfr.}}}}}|?}} || {{#switch: {{{Type|}}}
 +
|Body= rowspan="2"
 +
|#default= rowspan="3"}} style="background:#f2f2f2" | '''Sp.<br/>effect''' || {{#switch: {{{Type|}}}
 +
|Body= rowspan="2"
 +
|#default= rowspan="3"}} | {{#switch: {{{Special effect|}}}
 +
|None= No special effects
 +
|#default= {{#if: {{{Special effect|}}}|{{{Special effect}}}|Unknown [[Category:Unconfirmed special effects]]}}}}{{#if: {{{Special effect 2|}}}|<br/>{{{Special effect 2}}}|}}{{#if: {{{Special effect 3|}}}|<br/>{{{Special effect 3}}}|}}
 
|-
 
|-
| colspan="4" style="background:#e8e8e8"| '''Stats'''
 
|- style="background:#f9f9f9"
 
| style="background:#f2f2f2" | '''Type''' || {{#switch: {{{Type|}}}
 
|Head= [[Head units|Head]]
 
|Arm= [[Arm units|Arm]]
 
|Body= [[Body units|Body]]
 
|Extra= [[Extra units|Extra]]
 
|#default= ?}} || style="background:#f2f2f2" | '''Mfr.''' || {{#switch: {{{Mfr.|}}}
 
|G= {{Logo-G}}
 
|Y= {{Logo-Y}}
 
|T= {{Logo-T}}
 
|#default= ?}}
 
|- style="background:#f9f9f9"
 
 
| style="background:#f2f2f2" | '''Rarity''' || {{#switch: {{{Rarity|}}}
 
| style="background:#f2f2f2" | '''Rarity''' || {{#switch: {{{Rarity|}}}
|1= {{Color-C}}
+
|1|2|3= {{Color-C}}
|2= {{Color-C}}
+
|4|5|6= {{Color-B}}
|3= {{Color-C}}
+
|7|8|9= {{Color-A}}
|4= {{Color-B}}
+
|10|11|12= {{Color-S}}
|5= {{Color-B}}
+
|13|14|15= {{Color-S2}}
|6= {{Color-B}}
+
|#default= }} | {{#if: {{{Rarity|}}}|{{{Rarity}}}|?}}★ || {{#switch: {{{Type|}}}
|7= {{Color-A}}
+
|Extra= rowspan="2"
|8= {{Color-A}}
+
|#default= }} style="background:#f2f2f2" | '''{{#switch: {{{Type|}}}
|9= {{Color-A}}
+
|Head= Tech.
|10= {{Color-S}}
+
|Arm= Att.
|11= {{Color-S}}
+
|Body= Def.
|12= {{Color-S}}
+
|Extra= End.
|13= {{Color-S2}}
+
|#default= ?}}''' || {{#switch: {{{Type|}}}
|14= {{Color-S2}}
+
|Extra= rowspan="2"
|15= {{Color-S2}}
+
|#default= }} | {{#switch: {{{Type|}}}
|#default= }} | {{{Rarity}}}|| style="background:#f2f2f2" | '''Tech.''' ||  
+
|Head= {{#if: {{{Tech.|}}}|{{{Tech.}}}|?}}
|- style="background:#f9f9f9"
+
|Arm= {{#if: {{{Att.|}}}|{{{Att.}}}|?}}
| style="background:#f2f2f2" | '''Ver.''' || {{#switch: {{{Ver.|}}}
+
|Body= {{#if: {{{Def.|}}}|{{{Def.}}}|?}}
|PSU= {{PSU version}}
+
|Extra= {{#if: {{{End.|}}}|{{{End.}}}|?}}
|AOTI= {{AotI version}}
+
|#default= ?}}
|#default= ?}} || style="background:#f2f2f2" | '''Ment.''' ||  
+
|-
|}</includeonly>
+
| style="background:#f2f2f2" | '''Ver.''' || {{#if: {{{Ver.|}}}|{{{{{Ver.}}} version}}|?}} {{#switch: {{{Type|}}}
<noinclude>== Blank template ==
+
|Extra=  
<pre>{{Unit stats test
+
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''{{#switch: {{{Type|}}}
|Type=
+
|Head= Ment.
|Rarity=
+
|Arm= Acc.
|Mfr.=
+
|Body= Eva.
|Ver.=
+
|Extra=
|Att.=
+
|#default= ?}}''' {{!}}{{!}} {{#switch: {{{Type|}}}
|Acc.=
+
|Head= {{#if: {{{Ment.|}}}|{{{Ment.}}}|?}}
|Def.=
+
|Arm= {{#if: {{{Acc.|}}}|{{{Acc.}}}|?}}
|Eva.=
+
|Body= {{#if: {{{Eva.|}}}|{{{Eva.}}}|?}}
|Tech.=
+
|Extra=
|Ment.=
+
|#default= ?}}}} {{#switch: {{{Type|}}}
|End.=
+
|Body= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Resist''' {{!}}{{!}} {{#switch: {{{Resistance|}}}
}}</pre>
+
|None= No resistances
 +
|#default= {{#if: {{{Resistance|}}}|{{{Resistance}}}|Unknown [[Category:Unconfirmed resistances]]}}}}
 +
|#default= }}
 +
|}</includeonly><noinclude>
 +
== Template parameters ==
 +
* '''Type''':  Enter the unit type here; ''Head'', ''Arm'', ''Body'' or ''Extra''.
 +
* '''Mfr''':  Use ''G'', ''Y'', ''T'' or ''K'' to identify the unit's manufacturer.
 +
* '''Rarity''':  Enter the unit's numeric rarity here.
 +
* '''Ver.''':  Identify the version of the game the unit is from with ''PSU'', ''AOTI'' or ''AOTI GAC''.
 +
* '''Stat abbreviation''':  Enter the unit's stats in each of the applicable fields.  Any unnecessary fields can be deleted.
 +
* '''Special effect''':  If the unit has any special effects (details on its second tab in-game), enter them here, using the ''Special effect 2'' and ''Special effect 3'' parameters for multiple effects. For upgrades and downgrades (shown by a red or blue arrow), you can use the [[Template:Upgrade|upgrade]] and [[Template:Downgrade|downgrade]] templates in conjunction with what you type here.
 +
* '''Resistance''':  For body units, if they have a particular status effect resistance, enter it here using the relevant effect icon template. If the unit does not feature a resistance, enter ''None'' here. This field can be deleted for head, arm and extra units.
  
== Examples ==
+
* '''In the case of unknown values, leave the field blank!  Do not enter question marks!'''
=== Head unit ===
 
<pre>{{Unit stats test
 
|Type= Head
 
|Rarity= 7
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Head
 
|Rarity= 7
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
  
=== Arm unit ===
+
== Resistance icons ==
<pre>{{Unit stats test
+
* Use the following icon templates for the resistance parameter.
|Type= Arm
 
|Rarity= 4
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Arm
 
|Rarity= 4
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
  
=== Body unit ===
+
{| class="wikitable" style="text-align:center"
<pre>{{Unit stats test
+
! Template
|Type= Body
+
| <nowiki>{{Burn icon}}</nowiki> || <nowiki>{{Poison icon}}</nowiki> || <nowiki>{{Infection icon}}</nowiki> || <nowiki>{{Shock icon}}</nowiki> || <nowiki>{{Silence icon}}</nowiki> || <nowiki>{{Freeze icon}}</nowiki>
|Rarity= 10
+
|-
|Mfr.=
+
! Icon
|Ver.=
+
| {{Burn icon}} || {{Poison icon}} || {{Infection icon}} || {{Shock icon}} || {{Silence icon}} || {{Freeze icon}}
|Att.=
+
|-
|Acc.=
+
! Template
|Def.=
+
| <nowiki>{{Sleep icon}}</nowiki> || <nowiki>{{Stun icon}}</nowiki> || <nowiki>{{Confuse icon}}</nowiki> || <nowiki>{{Incapacitation icon}}</nowiki> || <nowiki>{{Stat up icon}}</nowiki> || <nowiki>{{Stat down icon}}</nowiki>
|Eva.=
+
|-
|Tech.=
+
! Icon
|Ment.=
+
| {{Sleep icon}} || {{Stun icon}} || {{Confuse icon}} || {{Incapacitation icon}} || {{Stat up icon}} || {{Stat down icon}}
|End.=
+
|}
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Body
 
|Rarity= 10
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
  
=== Extra unit ===
+
== Blank template ==
<pre>{{Unit stats test
+
<pre>{{Unit stats
|Type= Extra
+
|Type=  
|Rarity= 13
 
 
|Mfr.=  
 
|Mfr.=  
 +
|Rarity=
 
|Ver.=  
 
|Ver.=  
 
|Att.=  
 
|Att.=  
 
|Acc.=  
 
|Acc.=  
|Def.=
 
|Eva.=
 
 
|Tech.=  
 
|Tech.=  
 
|Ment.=  
 
|Ment.=  
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Extra
 
|Rarity= 13
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
 
|Def.=  
 
|Def.=  
 
|Eva.=  
 
|Eva.=  
|Tech.=
 
|Ment.=
 
 
|End.=  
 
|End.=  
}}
+
|Special effect=
 +
|Special effect 2=
 +
|Special effect 3=
 +
|Resistance= }}</pre>
  
== Empty template ==
+
[[Category:Article templates]]</noinclude>
<pre>{{Unit stats test
 
|Type=
 
|Rarity=
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type=
 
|Rarity=
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</noinclude>
 

Latest revision as of 16:56, 9 November 2011

Template parameters

  • Type: Enter the unit type here; Head, Arm, Body or Extra.
  • Mfr: Use G, Y, T or K to identify the unit's manufacturer.
  • Rarity: Enter the unit's numeric rarity here.
  • Ver.: Identify the version of the game the unit is from with PSU, AOTI or AOTI GAC.
  • Stat abbreviation: Enter the unit's stats in each of the applicable fields. Any unnecessary fields can be deleted.
  • Special effect: If the unit has any special effects (details on its second tab in-game), enter them here, using the Special effect 2 and Special effect 3 parameters for multiple effects. For upgrades and downgrades (shown by a red or blue arrow), you can use the upgrade and downgrade templates in conjunction with what you type here.
  • Resistance: For body units, if they have a particular status effect resistance, enter it here using the relevant effect icon template. If the unit does not feature a resistance, enter None here. This field can be deleted for head, arm and extra units.
  • In the case of unknown values, leave the field blank! Do not enter question marks!

Resistance icons

  • Use the following icon templates for the resistance parameter.
Template {{Burn icon}} {{Poison icon}} {{Infection icon}} {{Shock icon}} {{Silence icon}} {{Freeze icon}}
Icon Burn Poison Infection Shock Silence Freeze
Template {{Sleep icon}} {{Stun icon}} {{Confuse icon}} {{Incapacitation icon}} {{Stat up icon}} {{Stat down icon}}
Icon Sleep Stun Confusion Incapacitation Status upgrade Status downgrade

Blank template

{{Unit stats
|Type= 
|Mfr.= 
|Rarity= 
|Ver.= 
|Att.= 
|Acc.= 
|Tech.= 
|Ment.= 
|Def.= 
|Eva.= 
|End.= 
|Special effect= 
|Special effect 2= 
|Special effect 3= 
|Resistance= }}