293
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. == Parameters == Parameters are:* <code><nowiki>{{{Name}}}</nowiki></code>: The enemy's name.* <code><nowiki>{{{Image}}}</nowiki></code>: An image to show next to the enemy's name.* <code><nowiki>{{{Color}}}</nowiki></code>: (Optional) The enemy's color(s), as a string of one-letter abbreviations.* <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>{{{White Mana}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0* <code><nowiki>{{{Blue Mana}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0* <code><nowiki>{{{Black Mana}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0* <code><nowiki>{{{Red Mana}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0* <code><nowiki>{{{Green Mana}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0* <code><nowiki>{{{Loyalty Bonus}}}</nowiki></code>: Enemy's White Mana Bonus. Defaults to +0 * <code><nowiki>{{{Ability 1}}}</nowiki></code>: The Enemy's first ability's name from the game.* <code><nowiki>{{{Ability 1 Description}}}</nowiki></code>: The first ability's description from the game.* <code><nowiki>{{{Ability 1 Cost}}}</nowiki></code>: The loyalty cost for ability 1. * <code><nowiki>{{{Ability 2}}}</nowiki></code>: (Optional) The Enemy's first ability's name from the game.* <code><nowiki>{{{Ability 2 Description}}}</nowiki></code>: (Optional) The first ability's description from the game.* <code><nowiki>{{{Ability 2 Cost}}}</nowiki></code>: (Optional) The loyalty cost for ability 1. * <code><nowiki>{{{Ability 3}}}</nowiki></code>: (Optional) The Enemy's first ability's name from the game.* <code><nowiki>{{{Ability 3 Description}}}</nowiki></code>: (Optional) The first ability's description from the game.* <code><nowiki>{{{Ability 3 Cost}}}</nowiki></code>: (Optional) The loyalty cost for ability 1. == Example == The following is an example of how to use this template alongside the Deck List template to describe a fight: <pre><nowiki>{{Enemy Stats|Name=Zetalpa, Primal Dawn|Color=W|Level=80|Hit Points=166|White Mana=+2|Blue Mana=+3|Black Mana=+2|Ability 1=Affliction|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|White Mana=+2|Blue Mana=+3|Black Mana=+2|Ability 1=Affliction|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.|Ability 1 Cost=9}} [[Category:Templates]]</noinclude><includeonly>{| class="wikitable"! colspanstyle="2display:inline-table; vertical-align:middle; margin: 0px" |Scoring! colspanrowspan=2 style="8{{TintHeavy}} padding:0px;" |Statistics{{#if:{{{Image|}}}|[[File:{{{Image}}}|{{{size|x55px}}}|{{{Name|}}}]]}}! colspanstyle="3{{TintHeavy}}; text-align:left; border-bottom: 0px" |Abilities''{{{Name|}}}''
|-
|-
|Win the Fight.{{{Level|500}}}| rowspan="3" {{{Hit Points|100}}}| rowspan="3" |24| rowspan="3" {{{White Mana|+0}}}| rowspan="3" {{{Blue Mana|+0}}}| rowspan="3" {{{Black Mana|+0}}}| rowspan="3" {{{Red Mana|+0}}}| rowspan="3" {{{Green Mana|+0}}}| rowspan="3" {{{Loyalty Bonus|+0|'''Brick by Brick'''|Summon 1 2/2 Zombie token and draw 1 card|6|-|Win with only common and uncommon cards.|5||||-|Cast 3 or more creatures with cost 10 or less.|5|||}}}
|}
{{#if:{{{Ability 1|}}}|
{{{!}} class="wikitable"
!Abilities
![[File:Icon L.png|x20px|Loyalty cost]]
!Effect
{{!}}-
{{!}}'''{{{Ability 1}}}'''
{{!}} style="text-align:center;" {{!}} {{#ifeq:{{#invoke:String|len|{{{Ability 1 Cost}}}}}|1| }}{{{Ability 1 Cost}}}{{#ifeq:{{#invoke:String|len|{{{Ability 1 Cost}}}}}|1| }}
{{!}}{{{Ability 1 Description}}}
{{#if:{{{Ability 2|}}}|
{{!}}-
{{!}}'''{{{Ability 2}}}'''
{{!}} style="text-align:center;" {{!}} {{{Ability 2 Cost}}}
{{!}}{{{Ability 2 Description}}}
}}{{#if:{{{Ability 3|}}}|<br>
{{!}}-
{{!}}'''{{{Ability 3}}}'''
{{!}} style="text-align:center;" {{!}} {{{Ability 3 Cost}}}
{{!}}{{{Ability 3 Description}}}
}}
{{!}}} }}</includeonly>