Difference between revisions of "Template:Unit stats"

From PSU Cyril Wiki
Jump to: navigation, search
m
m (Categorizing a few things to help me clean up articles.)
 
(14 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 unit icon}}
 
|Arm= {{Arm unit icon}}
 
|Body= {{Body unit icon}}
 
|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}}
 
|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|}}}
|#default= ?}} {{#switch: {{{Type|}}}
+
|Head= Ment.
 +
|Arm= Acc.
 +
|Body= Eva.
 +
|Extra=
 +
|#default= ?}}''' {{!}}{{!}} {{#switch: {{{Type|}}}
 +
|Head= {{#if: {{{Ment.|}}}|{{{Ment.}}}|?}}
 +
|Arm= {{#if: {{{Acc.|}}}|{{{Acc.}}}|?}}
 +
|Body= {{#if: {{{Eva.|}}}|{{{Eva.}}}|?}}
 
|Extra=  
 
|Extra=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} {{#switch: {{{Type|}}}
+
|#default= ?}}}} {{#switch: {{{Type|}}}
|Head= '''Ment.'''
+
|Body= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Resist''' {{!}}{{!}} {{#switch: {{{Resistance|}}}
|Arm= '''Acc.'''
+
|None= No resistances
|Body= '''Eva.'''
+
|#default= {{#if: {{{Resistance|}}}|{{{Resistance}}}|Unknown [[Category:Unconfirmed resistances]]}}}}
|#default= -}} {{!}}{{!}} {{#switch: {{{Type|}}}
+
|#default= }}
|Head= {{{Ment.}}}
+
|}</includeonly><noinclude>
|Arm= {{{Acc.}}}
+
== Template parameters ==
|Body= {{{Eva.}}}
+
* '''Type''': Enter the unit type here; ''Head'', ''Arm'', ''Body'' or ''Extra''.
|#default= -}}
+
* '''Mfr''': Use ''G'', ''Y'', ''T'' or ''K'' to identify the unit's manufacturer.
}}  
+
* '''Rarity''': Enter the unit's numeric rarity here.
|}</includeonly>
+
* '''Ver.''':  Identify the version of the game the unit is from with ''PSU'', ''AOTI'' or ''AOTI GAC''.
<noinclude>== Parameter values ==
+
* '''Stat abbreviation''': Enter the unit's stats in each of the applicable fields.  Any unnecessary fields can be deleted.
'''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/>
+
* '''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.
'''Rarity:'''  Enter the unit's rarity in this blank.<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'' here. This field can be deleted for head, arm and extra units.
'''Mfr.:''' Use ''G'', ''Y'' or ''T'' to identify the manufacturer of this unit.<br/>
+
 
'''Ver.:'''  Enter either ''PSU'' or ''AOTI'' to identify the version of the game this unit is from.<br/>
+
* '''In the case of unknown values, leave the field blank! Do not enter question marks!'''
'''Att.:'''  If applicable, enter the unit's attack power value here.<br/>
 
'''Acc.:''' If applicable, enter the unit's attack accuracy value here.<br/>
 
'''Def.:'''  If applicable, enter the unit's defense value here.<br/>
 
'''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.
 
  
== To do ==
+
== Resistance icons ==
* Make an icon for extra units.
+
* 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 test
+
<pre>{{Unit stats
 
|Type=  
 
|Type=  
 +
|Mfr.=
 
|Rarity=  
 
|Rarity=  
|Mfr.=
 
 
|Ver.=  
 
|Ver.=  
 
|Att.=  
 
|Att.=  
 
|Acc.=  
 
|Acc.=  
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
 
== Examples ==
 
=== Head unit ===
 
<pre>{{Unit stats test
 
|Type= Head
 
|Rarity= 7
 
|Mfr.= Y
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.= 126
 
|Ment.= 567
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Head
 
|Rarity= 7
 
|Mfr.= Y
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.= 126
 
|Ment.= 567
 
|End.=
 
}}
 
 
=== Arm unit ===
 
<pre>{{Unit stats test
 
|Type= Arm
 
|Rarity= 4
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.= 622
 
|Acc.= 12
 
|Def.=
 
|Eva.=
 
 
|Tech.=  
 
|Tech.=  
 
|Ment.=  
 
|Ment.=  
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Arm
 
|Rarity= 4
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.= 622
 
|Acc.= 12
 
 
|Def.=  
 
|Def.=  
 
|Eva.=  
 
|Eva.=  
|Tech.=
 
|Ment.=
 
|End.=
 
}}
 
 
=== Body unit ===
 
<pre>{{Unit stats test
 
|Type= Body
 
|Rarity= 10
 
|Mfr.= T
 
|Ver.= PSU
 
|Att.=
 
|Acc.=
 
|Def.= 411
 
|Eva.= -52
 
|Tech.=
 
|Ment.=
 
|End.=
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Body
 
|Rarity= 10
 
|Mfr.= T
 
|Ver.= PSU
 
|Att.=
 
|Acc.=
 
|Def.= 411
 
|Eva.= -52
 
|Tech.=
 
|Ment.=
 
 
|End.=  
 
|End.=  
}}
+
|Special effect=  
 
+
|Special effect 2=  
=== Extra unit ===
+
|Special effect 3=  
<pre>{{Unit stats test
+
|Resistance= }}</pre>
|Type= Extra
 
|Rarity= 13
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.=  
 
|Acc.=  
 
|Def.=  
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.= 1
 
}}</pre>
 
...produces...
 
{{Unit stats test
 
|Type= Extra
 
|Rarity= 13
 
|Mfr.= G
 
|Ver.= AOTI
 
|Att.=
 
|Acc.=
 
|Def.=
 
|Eva.=
 
|Tech.=
 
|Ment.=
 
|End.= 1
 
}}
 
  
== 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= }}