Difference between revisions of "Template:Unit stats"
From PSU Cyril Wiki
m (Forgot to update the examples after moving the template.) |
m (Categorizing a few things to help me clean up articles.) |
||
(11 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}}}|}} | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| style="background:#f2f2f2" | '''Rarity''' || {{#switch: {{{Rarity|}}} | | style="background:#f2f2f2" | '''Rarity''' || {{#switch: {{{Rarity|}}} | ||
− | |1 | + | |1|2|3= {{Color-C}} |
− | |2 | + | |4|5|6= {{Color-B}} |
− | |3= {{Color-C}} | + | |7|8|9= {{Color-A}} |
− | |4 | + | |10|11|12= {{Color-S}} |
− | |5 | + | |13|14|15= {{Color-S2}} |
− | |6= {{Color-B}} | + | |#default= }} | {{#if: {{{Rarity|}}}|{{{Rarity}}}|?}}★ || {{#switch: {{{Type|}}} |
− | |7 | ||
− | |8 | ||
− | |9= {{Color-A}} | ||
− | |10 | ||
− | |11 | ||
− | |12= {{Color-S}} | ||
− | |13 | ||
− | |14 | ||
− | |15= {{Color-S2}} | ||
− | |#default= }} | {{#if: {{{Rarity|}}}|{{{Rarity}}}|?}}★ || | ||
|Extra= rowspan="2" | |Extra= rowspan="2" | ||
− | |#default= }} | {{#switch: {{{Type|}}} | + | |#default= }} style="background:#f2f2f2" | '''{{#switch: {{{Type|}}} |
− | |Head= | + | |Head= Tech. |
− | |Arm= | + | |Arm= Att. |
− | |Body= | + | |Body= Def. |
− | |Extra= | + | |Extra= End. |
− | |#default= ''' | + | |#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:#f2f2f2" | '''Ver.''' || {{# | + | | style="background:#f2f2f2" | '''Ver.''' || {{#if: {{{Ver.|}}}|{{{{{Ver.}}} version}}|?}} {{#switch: {{{Type|}}} |
− | | | + | |Extra= |
− | | | + | |#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''{{#switch: {{{Type|}}} |
− | |#default= | + | |Head= Ment. |
+ | |Arm= Acc. | ||
+ | |Body= Eva. | ||
|Extra= | |Extra= | ||
− | |#default= | + | |#default= ?}}''' {{!}}{{!}} {{#switch: {{{Type|}}} |
− | |Head= | + | |Head= {{#if: {{{Ment.|}}}|{{{Ment.}}}|?}} |
− | |Arm= | + | |Arm= {{#if: {{{Acc.|}}}|{{{Acc.}}}|?}} |
− | |Body= | + | |Body= {{#if: {{{Eva.|}}}|{{{Eva.}}}|?}} |
− | |#default= | + | |Extra= |
− | | | + | |#default= ?}}}} {{#switch: {{{Type|}}} |
− | | | + | |Body= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Resist''' {{!}}{{!}} {{#switch: {{{Resistance|}}} |
− | | | + | |None= No resistances |
− | |#default= | + | |#default= {{#if: {{{Resistance|}}}|{{{Resistance}}}|Unknown [[Category:Unconfirmed resistances]]}}}} |
− | }} | + | |#default= }} |
− | |}</includeonly> | + | |}</includeonly><noinclude> |
− | <noinclude>== | + | == Template parameters == |
− | '''Type | + | * '''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 == | == Blank template == | ||
<pre>{{Unit stats | <pre>{{Unit stats | ||
|Type= | |Type= | ||
+ | |Mfr.= | ||
|Rarity= | |Rarity= | ||
− | |||
|Ver.= | |Ver.= | ||
|Att.= | |Att.= | ||
|Acc.= | |Acc.= | ||
− | |||
− | |||
|Tech.= | |Tech.= | ||
|Ment.= | |Ment.= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Def.= | |Def.= | ||
|Eva.= | |Eva.= | ||
− | |||
− | |||
|End.= | |End.= | ||
− | + | |Special effect= | |
− | + | |Special effect 2= | |
− | + | |Special effect 3= | |
− | | | + | |Resistance= }}</pre> |
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | + | [[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.
Blank template
{{Unit stats |Type= |Mfr.= |Rarity= |Ver.= |Att.= |Acc.= |Tech.= |Ment.= |Def.= |Eva.= |End.= |Special effect= |Special effect 2= |Special effect 3= |Resistance= }}