Difference between revisions of "Template:Unit stats"

From PSU Cyril Wiki
Jump to: navigation, search
m (Saving a base to work with.)
 
m (Categorizing a few things to help me clean up articles.)
 
(24 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'''
 
|-
 
|-
| colspan="4" style="background:#e8e8e8"| '''Stats'''
+
| style="background:#f2f2f2" | '''Type''' || {{#if: {{{Type|}}}|{{{{{Type}}} unit icon}}|?}} || style="background:#f2f2f2" | '''Mfr.''' || {{#if: {{{Mfr.|}}}|{{Logo-{{{Mfr.}}}}}|?}} || {{#switch: {{{Type|}}}
|-style="background:#f9f9f9"
+
|Body= rowspan="2"
| style="background:#f2f2f2" | '''Type''' || [[Head units | Head]] || style="background:#f2f2f2" | '''Maker''' || {{Logo-Y}}  
+
|#default= rowspan="3"}} style="background:#f2f2f2" | '''Sp.<br/>effect''' || {{#switch: {{{Type|}}}
|-style="background:#f9f9f9"
+
|Body= rowspan="2"
| style="background:#f2f2f2" | '''Rarity''' || {{Color-C}} | 1★ || style="background:#f2f2f2" | '''Tech.''' || 18
+
|#default= rowspan="3"}} | {{#switch: {{{Special effect|}}}
|-style="background:#f9f9f9"
+
|None= No special effects
| style="background:#f2f2f2" | '''Ver.''' || {{PSU version}} || style="background:#f2f2f2" | '''Ment.''' || 0
+
|#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}}}|}}
|}</includeonly>
+
|-
<noinclude>== Blank template ==
+
| style="background:#f2f2f2" | '''Rarity''' || {{#switch: {{{Rarity|}}}
<pre>{{Unit stats test
+
|1|2|3= {{Color-C}}
 +
|4|5|6= {{Color-B}}
 +
|7|8|9= {{Color-A}}
 +
|10|11|12= {{Color-S}}
 +
|13|14|15= {{Color-S2}}
 +
|#default= }} | {{#if: {{{Rarity|}}}|{{{Rarity}}}|?}}★ || {{#switch: {{{Type|}}}
 +
|Extra= rowspan="2"
 +
|#default= }} style="background:#f2f2f2" | '''{{#switch: {{{Type|}}}
 +
|Head= Tech.
 +
|Arm= Att.
 +
|Body= Def.
 +
|Extra= End.
 +
|#default= ?}}''' || {{#switch: {{{Type|}}}
 +
|Extra= rowspan="2"
 +
|#default= }} | {{#switch: {{{Type|}}}
 +
|Head= {{#if: {{{Tech.|}}}|{{{Tech.}}}|?}}
 +
|Arm= {{#if: {{{Att.|}}}|{{{Att.}}}|?}}
 +
|Body= {{#if: {{{Def.|}}}|{{{Def.}}}|?}}
 +
|Extra= {{#if: {{{End.|}}}|{{{End.}}}|?}}
 +
|#default= ?}}
 +
|-
 +
| style="background:#f2f2f2" | '''Ver.''' || {{#if: {{{Ver.|}}}|{{{{{Ver.}}} version}}|?}} {{#switch: {{{Type|}}}
 +
|Extra=
 +
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''{{#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=
 +
|#default= ?}}}} {{#switch: {{{Type|}}}
 +
|Body= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Resist''' {{!}}{{!}} {{#switch: {{{Resistance|}}}
 +
|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.
 +
 
 +
* '''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 ==
 +
<pre>{{Unit stats
 
|Type=  
 
|Type=  
 +
|Mfr.=
 
|Rarity=  
 
|Rarity=  
|Mfr.=
 
 
|Ver.=  
 
|Ver.=  
 
|Att.=  
 
|Att.=  
 
|Acc.=  
 
|Acc.=  
 +
|Tech.=
 +
|Ment.=
 
|Def.=  
 
|Def.=  
 
|Eva.=  
 
|Eva.=  
|Tech.=
 
|Ment.=
 
 
|End.=  
 
|End.=  
}}</pre>
+
|Special effect=  
 
+
|Special effect 2=  
== Examples ==
+
|Special effect 3=  
=== Head unit ===
+
|Resistance= }}</pre>
 
 
=== Arm unit ===
 
 
 
=== Body unit ===
 
  
=== Extra unit ===</noinclude>
+
[[Category:Article templates]]</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= }}