Difference between revisions of "Template:Unit stats"

From PSU Cyril Wiki
Jump to: navigation, search
m (as a precaution)
m (Categorizing a few things to help me clean up articles.)
 
(7 intermediate revisions by 2 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 unit icon}}
 
|Arm= {{Arm unit icon}}
 
|Body= {{Body unit icon}}
 
|Extra= {{Extra unit icon}}
 
|#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}}
 
|8= {{Color-A}}
 
|9= {{Color-A}}
 
|10= {{Color-S}}
 
|11= {{Color-S}}
 
|12= {{Color-S}}
 
|13= {{Color-S2}}
 
|14= {{Color-S2}}
 
|15= {{Color-S2}}
 
|#default= }} | {{#if: {{{Rarity|}}}|{{{Rarity}}}|?}}★ || style="background:#f2f2f2" {{#switch: {{{Type|}}}
 
 
|Extra= rowspan="2"
 
|Extra= rowspan="2"
|#default= }} | {{#switch: {{{Type|}}}
+
|#default= }} style="background:#f2f2f2" | '''{{#switch: {{{Type|}}}
|Head= '''Tech.'''
+
|Head= Tech.
|Arm= '''Att.'''
+
|Arm= Att.
|Body= '''Def.'''
+
|Body= Def.
|Extra= '''End.'''
+
|Extra= End.
|#default= '''-'''}} || {{#switch: {{{Type|}}}
+
|#default= ?}}''' || {{#switch: {{{Type|}}}
 
|Extra= rowspan="2"
 
|Extra= rowspan="2"
 
|#default= }} | {{#switch: {{{Type|}}}
 
|#default= }} | {{#switch: {{{Type|}}}
|Head= {{{Tech.}}}
+
|Head= {{#if: {{{Tech.|}}}|{{{Tech.}}}|?}}
|Arm= {{{Att.}}}
+
|Arm= {{#if: {{{Att.|}}}|{{{Att.}}}|?}}
|Body= {{{Def.}}}
+
|Body= {{#if: {{{Def.|}}}|{{{Def.}}}|?}}
|Extra= {{{End.}}}
+
|Extra= {{#if: {{{End.|}}}|{{{End.}}}|?}}
|#default= '''-'''}}
+
|#default= ?}}
|- style="background:#f9f9f9"
+
|-
| style="background:#f2f2f2" | '''Ver.''' || {{#switch: {{{Ver.|}}}
+
| style="background:#f2f2f2" | '''Ver.''' || {{#if: {{{Ver.|}}}|{{{{{Ver.}}} version}}|?}} {{#switch: {{{Type|}}}
|PSU= {{PSU version}}
+
|Extra=
|AotI= {{AOTI version}}
+
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''{{#switch: {{{Type|}}}
|AOTI= {{AOTI version}}
+
|Head= Ment.
|PSP= {{PSP version}}
+
|Arm= Acc.
|#default= ?}} {{#switch: {{{Type|}}}
+
|Body= Eva.
 
|Extra=  
 
|Extra=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} {{#switch: {{{Type|}}}
+
|#default= ?}}''' {{!}}{{!}} {{#switch: {{{Type|}}}
|Head= '''Ment.'''
+
|Head= {{#if: {{{Ment.|}}}|{{{Ment.}}}|?}}
|Arm= '''Acc.'''
+
|Arm= {{#if: {{{Acc.|}}}|{{{Acc.}}}|?}}
|Body= '''Eva.'''
+
|Body= {{#if: {{{Eva.|}}}|{{{Eva.}}}|?}}
|#default= -}} {{!}}{{!}} {{#switch: {{{Type|}}}
+
|Extra=
|Head= {{{Ment.}}}
+
|#default= ?}}}} {{#switch: {{{Type|}}}
|Arm= {{{Acc.}}}
+
|Body= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Resist''' {{!}}{{!}} {{#switch: {{{Resistance|}}}
|Body= {{{Eva.}}}
+
|None= No resistances
|#default= -}}
+
|#default= {{#if: {{{Resistance|}}}|{{{Resistance}}}|Unknown [[Category:Unconfirmed resistances]]}}}}
}}  
+
|#default= }}
|}</includeonly>
+
|}</includeonly><noinclude>
<noinclude>== Parameter values ==
+
== Template parameters ==
'''Type:'''  Enter the unit type here, first letter capitalized.  ''Head'', ''Arm'', ''Body'' or ''Extra''. Having the correct type listed will ensure that the appropriate stat cells appear in the final table.<br/>
+
* '''Type''': Enter the unit type here; ''Head'', ''Arm'', ''Body'' or ''Extra''.
'''Rarity:'''  Enter the unit's rarity in this blank.<br/>
+
* '''Mfr''': Use ''G'', ''Y'', ''T'' or ''K'' to identify the unit's manufacturer.
'''Mfr.:'''  Use ''G'', ''Y'' or ''T'' to identify the manufacturer of this unit.<br/>
+
* '''Rarity''': Enter the unit's numeric rarity here.
'''Ver.:'''  Enter either ''PSU'' or ''AOTI'' to identify the version of the game this unit is from.<br/>
+
* '''Ver.''':  Identify the version of the game the unit is from with ''PSU'', ''AOTI'' or ''AOTI GAC''.
'''Att.:''' If applicable, enter the unit's attack power value here.<br/>
+
* '''Stat abbreviation''': Enter the unit's stats in each of the applicable fields.  Any unnecessary fields can be deleted.
'''Acc.:''' If applicable, enter the unit's attack accuracy value here.<br/>
+
* '''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.
'''Def.:'''  If applicable, enter the unit's defense value here.<br/>
+
* '''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'' hereThis field can be deleted for head, arm and extra units.
'''Eva.:'''  If applicable, enter the unit's evasion value here.<br/>
 
'''Tech.:'''  If applicable, enter the unit's TECHNIC power value here.<br/>
 
'''Ment.:'''  If applicable, enter the unit's mental strength value here.<br/>
 
'''End.:''' If applicable, enter the unit's endurance value here.
 
  
'''In the case of an unknown value, leave the field blank!  Do not enter question marks!'''
+
* '''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.
 +
 
 +
{| class="wikitable" style="text-align:center"
 +
! Template
 +
| <nowiki>{{Burn icon}}</nowiki> || <nowiki>{{Poison icon}}</nowiki> || <nowiki>{{Infection icon}}</nowiki> || <nowiki>{{Shock icon}}</nowiki> || <nowiki>{{Silence icon}}</nowiki> || <nowiki>{{Freeze icon}}</nowiki>
 +
|-
 +
! Icon
 +
| {{Burn icon}} || {{Poison icon}} || {{Infection icon}} || {{Shock icon}} || {{Silence icon}} || {{Freeze icon}}
 +
|-
 +
! Template
 +
| <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>
 +
|-
 +
! Icon
 +
| {{Sleep icon}} || {{Stun icon}} || {{Confuse icon}} || {{Incapacitation icon}} || {{Stat up icon}} || {{Stat down icon}}
 +
|}
  
 
== Blank template ==
 
== Blank template ==
 
<pre>{{Unit stats
 
<pre>{{Unit stats
 
|Type=  
 
|Type=  
 +
|Mfr.=
 
|Rarity=  
 
|Rarity=  
|Mfr.=
 
 
|Ver.=  
 
|Ver.=  
 
|Att.=  
 
|Att.=  
 
|Acc.=  
 
|Acc.=  
|Def.=
 
|Eva.=
 
 
|Tech.=  
 
|Tech.=  
 
|Ment.=  
 
|Ment.=  
|End.=
 
}}</pre>
 
 
== Examples ==
 
=== Head unit ===
 
<pre>{{Unit stats
 
|Type= Head
 
|Rarity= 7
 
|Mfr.= Y
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
 
|Def.=  
 
|Def.=  
 
|Eva.=  
 
|Eva.=  
|Tech.= 126
 
|Ment.= 567
 
 
|End.=  
 
|End.=  
}}</pre>
+
|Special effect=  
...produces...
+
|Special effect 2=  
{{Unit stats
+
|Special effect 3=  
|Type= Head
+
|Resistance= }}</pre>
|Rarity= 7
 
|Mfr.= Y
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.= 126
 
|Ment.= 567
 
|End.=
 
}}
 
  
=== Arm unit ===
+
[[Category:Article templates]]</noinclude>
<pre>{{Unit stats
 
|Type= Arm
 
|Rarity= 4
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.= 622
 
|Acc.= 12
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats
 
|Type= Arm
 
|Rarity= 4
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.= 622
 
|Acc.= 12
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
 
 
=== Body unit ===
 
<pre>{{Unit stats
 
|Type= Body
 
|Rarity= 10
 
|Mfr.= T
 
|Ver.= PSU
 
|Att.=
 
|Acc.=
 
|Def.= 411
 
|Eva.= -52
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats
 
|Type= Body
 
|Rarity= 10
 
|Mfr.= T
 
|Ver.= PSU
 
|Att.=
 
|Acc.=
 
|Def.= 411
 
|Eva.= -52
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
 
 
=== Extra unit ===
 
<pre>{{Unit stats
 
|Type= Extra
 
|Rarity= 13
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.= 1
 
}}</pre>
 
...produces...
 
{{Unit stats
 
|Type= Extra
 
|Rarity= 13
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.= 1
 
}}
 
 
 
== Empty template ==
 
<pre>{{Unit stats
 
|Type=
 
|Rarity=
 
|Mfr.=
 
|Ver.=
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats
 
|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= }}