7,180
edits
Changes
no edit summary
<noinclude>
The Enemy Stats template is used for recording the enemy's statistics, abilities, and the criteria for winning ribbons against this opponent. It is typically coupled with the [[Template:Deck List]] Template as well.
== Parameters ==
Parameters are:
* <code><nowiki>{{{Objective 1Name}}}</nowiki></code>: The primary objectiveenemy's name. Defaults to "Win the Fight."* <code><nowiki>{{{Objective Ribbons 1Image}}}</nowiki></code>: The number of ribbons for meeting Objective 1. Defaults An image to 5.* <code><nowiki>{{{Objective Runes 1}}}</nowiki></code>: The number of runes for meeting Objective 1. Defaults show next to empty.* <code><nowiki>{{{Objective 2}}}</nowiki></code>: The second node objective. Defaults to "Optional 1"* <code><nowiki>{{{Objective Ribbons 2}}}</nowiki></code>: The number of ribbons for meeting Objective 2. Defaults to 3.* <code><nowiki>{{{Objective Runes 2}}}</nowiki></code>: The number of runes for meeting Objective 2. Defaults to emptythe enemy's name.* <code><nowiki>{{{Objective 3Color}}}</nowiki></code>: The second node objective. Defaults to "(Optional 2"* <code><nowiki>{{{Objective Ribbons 3}}}</nowiki></code>: ) The number enemy's color(s), as a string of ribbons for meeting Objective 2. Defaults to 2one-letter abbreviations.* <code><nowiki>{{{Objective Runes 3}}}</nowiki></code>: The number of runes for meeting Objective 3. Defaults to empty.
* <code><nowiki>{{{Level}}}</nowiki></code>: The enemy's level.
* <code><nowiki>{{{Hit Points}}}</nowiki></code>: The number of hit points the enemy starts with.
* <code><nowiki>{{{Loyalty Bonus}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0
* <code><nowiki>{{{Ability 1}}}</nowiki></code>: The EnenmyEnemy's first ability's name from the game. Defaults to "Ability 1"* <code><nowiki>{{{Ability 1 Description}}}</nowiki></code>: The first ability's description from the game. Defaults to "A1 Desc"* <code><nowiki>{{{Ability 1 Cost}}}</nowiki></code>: The loyalty cost for ability 1. Defaults to 0.
* <code><nowiki>{{{Ability 2}}}</nowiki></code>: (Optional) The EnenmyEnemy's first ability's name from the game. Defaults to blank.* <code><nowiki>{{{Ability 2 Description}}}</nowiki></code>: (Optional) The first ability's description from the game. Defaults to blank.* <code><nowiki>{{{Ability 2 Cost}}}</nowiki></code>: (Optional) The loyalty cost for ability 1. Defaults to blank. * <code><nowiki>{{{Ability 3}}}</nowiki></code>: (Optional) The EnenmyEnemy's first ability's name from the game. Defaults to blank.* <code><nowiki>{{{Ability 3 Description}}}</nowiki></code>: (Optional) The first ability's description from the game. Defaults to blank.* <code><nowiki>{{{Ability 3 Cost}}}</nowiki></code>: (Optional) The loyalty cost for ability 1. Defaults to blank.
== Example ==
<pre><nowiki>
{{Enemy Stats
|Name=Zetalpa, Primal Dawn
|Color=W
|Level=80
|Hit Points=166
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
|Ability 1 Cost=9
}}
</nowiki></pre>
It produces:
{{Enemy Stats
|Name=Zetalpa, Primal Dawn
|Image=TE-1.1.png
|Color=W
|Level=80
|Hit Points=166
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
|Ability 1 Cost=9
}}
</noinclude><includeonly>{|| class="wikitable" style="display:inline-table; vertical-align: topmiddle; margin: 0px"! rowspan=2 style="{{TintHeavy}} padding:0px;" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|{{{size|x55px}}}|{{{Name| class}}}]]}}! style="wikitable{{TintHeavy}}; text-align:left; border-bottom: 0px"!Objective!Reward| ''{{{Name|}}}''
|-
|style="{{TintHeavy}}; text-align:left; border-top: 0px" | {{#if:{{Objective 1{Color|Win the Fight.}}}|{{RibbonsColor Icons|{{{Objective 1 RibbonsColor}}}|518}}| }}|}<!{| class="wikitable" style="display: inline-table; vertical-align:middle; margin: 0px"-->! style="{{TintHeavy}}" | Level! style="{#if:{TintHeavy}}" | HP! style="{{Objective 1 RunesTintHeavy}}" | [[File:Icon W.png|x20px|White mana bonus]]! style="{{TintHeavy}}}" | [[File:Icon U.png|x20px|<br>Blue mana bonus]]! style="{{RunesTintHeavy}}" | [[File:Icon B.png|x20px|Black mana bonus]]! style="{{{Objective 1 Runes}TintHeavy}}" | [[File:Icon R.png|x20px|Red mana bonus]]! style="{{TintHeavy}}" | [[File:Icon G.png|x20px|Green mana bonus]]! style="{{TintHeavy}}" | [[File:Icon L.png|x20px|Loyalty bonus]]
|-
| {{{Level|00}}}
| {{{Hit Points|00}}}
| {{{White Mana|+0}}}
| {{{Blue Mana|+0}}}
| {{{Black Mana|+0}}}
| {{{Red Mana|+0}}}
| {{{Green Mana|+0}}}
|}
{{#if:{{{Ability 1|}}}|
{{{!}} class="wikitable"
!AbilityAbilities![[File:Icon L.png|x20px|Loyalty cost]]
!Effect
{{!}}-
{{!}}'''{{{Ability 1|Ability 1}}}'''{{!}} style="text-align:center;" {{!}} {{#ifeq:{{#invoke:String|len|{{{Ability 1 Cost}}}}}|1| }}{{{Ability 1 DescriptionCost}}}{{#ifeq:{{#invoke:String|len|A1 Desc{{{Ability 1 Cost}}}}}|1| }}{{!}}{{{Ability 1 Cost|0Description}}}
{{#if:{{{Ability 2|}}}|
{{!}}-
{{!}}'''{{{Ability 2| }}}'''{{!}} style="text-align:center;" {{!}}{{{Ability 2 Description|Cost}}}{{!}}{{{Ability 2 Cost|Description}}}}}{{#if:{{{Ability 3|}}}|<br>
{{!}}-
{{!}}'''{{{Ability 3| }}}'''{{!}} style="text-align:center;" {{!}}{{{Ability 3 Description|Cost}}}{{!}}{{{Ability 3 Cost|}Description}}}}
}}