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. 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 2}}}</nowiki></code>: The second node objective. Defaults show next to "Optional 1"* <code><nowiki>{{{Objective Ribbons 2}}}</nowiki></code>: The number of ribbons for meeting Objective 2. Defaults to 3the 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 2one-letter abbreviations. Defaults to 2.
* <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>: The Enenmy's first ability's name from the game. Defaults to blank.* <code><nowiki>{{{Ability 3 Description}}}</nowiki></code>: The first ability's description from the game. Defaults to blank.* <code><nowiki>{{{Ability 3 Cost}}}</nowiki></code>: The loyalty cost for ability 1. Defaults to blank.
* <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:
<codepre><nowiki>=== 2.2 Eternal of Harsh Truths ===
{{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></codepre> <code><nowiki>==== Eternal of Harsh Truths Deck List ==== {{Deck List |[[Champion of Wits]]|creature |[[Ominous Sphinx]]|creature |[[The Locust God]]|creature |[[Unesh, Criosphinx Sovereign]]|creature |[[Vizier of the Anointed]]|creature |[[Endless Sands]]|spell |[[Imaginary Threats]]|spell |[[Kefnet’s Last Word]]|spell |[[Riddleform]]|support |[[Swarm Intelligence]]|support
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]]</nowiki></codenoinclude> </noincludeincludeonly> {| 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|}}}''
|-
|-
|{{{Objective 3Level|Optional 200}}}|{{{Objective 3 RibbonsHit Points|200}}}|'''{{{Ability 3White Mana| +0}}}'''|{{{Ability 3 DescriptionBlue Mana|+0}}}|{{{Ability 3 CostBlack Mana|+0}}}| {{{Red Mana|+0}}}| {{{Green Mana|+0}}}| {{{Loyalty Bonus|+0}}}
|}
{{#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>