Difference between revisions of "Template:Enemy Stats"

From mtgpq wiki
Jump to: navigation, search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<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.
+
The Enemy Stats template is used for recording the enemy's statistics, abilities, and the criteria for winning ribbons against this opponent.
  
 
== Parameters ==
 
== Parameters ==
  
 
Parameters are:
 
Parameters are:
* <code><nowiki>{{{Objective 1}}}</nowiki></code>: The primary objective. Defaults to "Win the Fight."
+
* <code><nowiki>{{{Name}}}</nowiki></code>: The enemy's name.
* <code><nowiki>{{{Objective Ribbons 1}}}</nowiki></code>: The number of ribbons for meeting Objective 1.  Defaults to 5.
+
* <code><nowiki>{{{Image}}}</nowiki></code>: An image to show next to the enemy's name.
* <code><nowiki>{{{Objective Runes 1}}}</nowiki></code>: The number of runes for meeting Objective 1.  Defaults to empty.
+
* <code><nowiki>{{{Color}}}</nowiki></code>: (Optional) The enemy's color(s), as a string of one-letter abbreviations.
* <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 empty.
 
* <code><nowiki>{{{Objective 3}}}</nowiki></code>: The second node objective.  Defaults to "Optional 2"
 
* <code><nowiki>{{{Objective Ribbons 3}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 2.
 
* <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>{{{Level}}}</nowiki></code>: The enemy's level.
 
* <code><nowiki>{{{Hit Points}}}</nowiki></code>: The number of hit points the enemy starts with.
 
* <code><nowiki>{{{Hit Points}}}</nowiki></code>: The number of hit points the enemy starts with.
Line 24: Line 17:
 
* <code><nowiki>{{{Loyalty Bonus}}}</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 Enenmy's first ability's name from the game. Defaults to "Ability 1"
+
* <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. Defaults to "A1 Desc"
+
* <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.  Defaults to 0.
+
* <code><nowiki>{{{Ability 1 Cost}}}</nowiki></code>: The loyalty cost for ability 1.
  
* <code><nowiki>{{{Ability 2}}}</nowiki></code>: The Enenmy's first ability's name from the game.  Defaults to blank.
+
* <code><nowiki>{{{Ability 2}}}</nowiki></code>: (Optional) The Enemy's first ability's name from the game.
* <code><nowiki>{{{Ability 2 Description}}}</nowiki></code>: The first ability's description from the game. Defaults to blank.
+
* <code><nowiki>{{{Ability 2 Description}}}</nowiki></code>: (Optional) The first ability's description from the game.
* <code><nowiki>{{{Ability 2 Cost}}}</nowiki></code>: The loyalty cost for ability 1. Defaults to blank.
+
* <code><nowiki>{{{Ability 2 Cost}}}</nowiki></code>: (Optional) The loyalty cost for ability 1.
* <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}}}</nowiki></code>: (Optional) The Enemy's first ability's name from the game.
* <code><nowiki>{{{Ability 3 Cost}}}</nowiki></code>: The loyalty cost for ability 1.  Defaults to blank.
+
* <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 ==
 
== Example ==
Line 41: Line 35:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Enemy Stats
 
{{Enemy Stats
 +
|Name=Zetalpa, Primal Dawn
 +
|Color=W
 
|Level=80
 
|Level=80
 
|Hit Points=166
 
|Hit Points=166
Line 49: Line 45:
 
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
 
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
 
|Ability 1 Cost=9
 
|Ability 1 Cost=9
|Objective 1=Win the Fight.
 
|Objective 1 Ribbons=15
 
|Objective 1 Runes=200
 
|Objective 2=Summon 2 or more Creatures during a turn.
 
|Objective 2 Ribbons=5
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
 
|Objective 3 Ribbons=5
 
 
}}
 
}}
 
 
</nowiki></pre>
 
</nowiki></pre>
  
 
It produces:
 
It produces:
 
 
{{Enemy Stats
 
{{Enemy Stats
 +
|Name=Zetalpa, Primal Dawn
 +
|Image=TE-1.1.png
 +
|Color=W
 
|Level=80
 
|Level=80
 
|Hit Points=166
 
|Hit Points=166
Line 71: Line 61:
 
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
 
|Ability 1 Description=Your opponent takes 6 damage and you gain 6 life.
 
|Ability 1 Cost=9
 
|Ability 1 Cost=9
|Objective 1=Win the Fight.
 
|Objective 1 Ribbons=15
 
|Objective 1 Runes=200
 
|Objective 2=Summon 2 or more Creatures during a turn.
 
|Objective 2 Ribbons=5
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
 
|Objective 3 Ribbons=5
 
 
}}
 
}}
  
 
+
</noinclude><includeonly>{| class="wikitable" style="display:inline-table; vertical-align:middle; margin: 0px"
</noinclude><includeonly>
+
! rowspan=2 style="{{TintHeavy}} padding:0px;" | {{#if:{{{Image|}}}|[[File:{{{Image}}}|{{{size|x55px}}}|{{{Name|}}}]]}}
{|
+
! style="{{TintHeavy}}; text-align:left; border-bottom: 0px" | ''{{{Name|}}}''
| style="vertical-align: top" |
 
{| class="wikitable"
 
!Objective
 
!Reward
 
 
|-
 
|-
|{{{Objective 1|Win the Fight.}}}
+
| style="{{TintHeavy}}; text-align:left; border-top: 0px" | {{#if:{{{Color|}}}|{{Color Icons|{{{Color}}}|18}}|&nbsp;}}
|{{Ribbons|{{{Objective 1 Ribbons|5}}}}}<!--
+
|}
-->{{#if:{{{Objective 1 Runes|}}}|<br>{{Runes|{{{Objective 1 Runes}}}}}}}
+
{| class="wikitable" style="display: inline-table; vertical-align:middle; margin: 0px"
 +
! style="{{TintHeavy}}" | Level
 +
! style="{{TintHeavy}}" | HP
 +
! style="{{TintHeavy}}" | [[File:Icon W.png|x20px|White mana bonus]]
 +
! style="{{TintHeavy}}" | [[File:Icon U.png|x20px|Blue mana bonus]]
 +
! style="{{TintHeavy}}" | [[File:Icon B.png|x20px|Black mana bonus]]
 +
! style="{{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]]
 
|-
 
|-
|{{{Objective 2|Optional 1}}}
 
|{{Ribbons|{{{Objective 2 Ribbons|3}}}}}<!--
 
-->{{#if:{{{Objective 2 Runes|}}}|<br>{{Runes|{{{Objective 2 Runes}}}}}}}
 
|-
 
|{{{Objective 3|Optional 2}}}
 
|{{Ribbons|{{{Objective 3 Ribbons|2}}}}}<!--
 
-->{{#if:{{{Objective 3 Runes|}}}|<br>{{Runes|{{{Objective 3 Runes}}}}}}}
 
|}
 
| style="vertical-align: top" |
 
{| class="wikitable"
 
! Level
 
 
| {{{Level|00}}}
 
| {{{Level|00}}}
|-
 
! HP
 
 
| {{{Hit Points|00}}}
 
| {{{Hit Points|00}}}
|-
 
![[File:Icon W.png|x20px|White mana bonus]]
 
 
| {{{White Mana|+0}}}
 
| {{{White Mana|+0}}}
|-
 
![[File:Icon U.png|x20px|Blue mana bonus]]
 
 
| {{{Blue Mana|+0}}}
 
| {{{Blue Mana|+0}}}
|-
 
![[File:Icon B.png|x20px|Black mana bonus]]
 
 
| {{{Black Mana|+0}}}
 
| {{{Black Mana|+0}}}
|-
 
![[File:Icon R.png|x20px|Red mana bonus]]
 
 
| {{{Red Mana|+0}}}
 
| {{{Red Mana|+0}}}
|-
 
![[File:Icon G.png|x20px|Green mana bonus]]
 
 
| {{{Green Mana|+0}}}
 
| {{{Green Mana|+0}}}
{{#if:{{{Loyalty Bonus|}}}|
+
| {{{Loyalty Bonus|+0}}}
{{!}}-
 
![[File:Icon L.png|x20px|Loyalty bonus]]
 
{{!}} {{{Loyalty Bonus}}}
 
}}
 
 
|}
 
|}
| style="vertical-align: top" |
 
 
{{#if:{{{Ability 1|}}}|
 
{{#if:{{{Ability 1|}}}|
 
{{{!}} class="wikitable"
 
{{{!}} class="wikitable"
!Ability
+
!Abilities
 +
![[File:Icon L.png|x20px|Loyalty cost]]
 
!Effect
 
!Effect
![[File:Icon L.png|x20px|Loyalty cost]]
 
 
{{!}}-
 
{{!}}-
{{!}}'''{{{Ability 1|Ability 1}}}'''
+
{{!}}'''{{{Ability 1}}}'''
{{!}}{{{Ability 1 Description|A1 Desc}}}
+
{{!}} style="text-align:center;" {{!}} {{#ifeq:{{#invoke:String|len|{{{Ability 1 Cost}}}}}|1|&nbsp;}}{{{Ability 1 Cost}}}{{#ifeq:{{#invoke:String|len|{{{Ability 1 Cost}}}}}|1|&nbsp;}}
{{!}}{{{Ability 1 Cost|0}}}
+
{{!}}{{{Ability 1 Description}}}
 
{{#if:{{{Ability 2|}}}|
 
{{#if:{{{Ability 2|}}}|
 
{{!}}-
 
{{!}}-
{{!}}'''{{{Ability 2| }}}'''
+
{{!}}'''{{{Ability 2}}}'''
{{!}}{{{Ability 2 Description|}}}
+
{{!}} style="text-align:center;" {{!}} {{{Ability 2 Cost}}}
{{!}}{{{Ability 2 Cost|}}}
+
{{!}}{{{Ability 2 Description}}}
 +
}}{{#if:{{{Ability 3|}}}|<br>
 +
{{!}}-
 +
{{!}}'''{{{Ability 3}}}'''
 +
{{!}} style="text-align:center;" {{!}} {{{Ability 3 Cost}}}
 +
{{!}}{{{Ability 3 Description}}}
 
}}
 
}}
{{#if:{{{Ability 3|}}}|
+
{{!}}} }}</includeonly>
{{!}}-
 
{{!}}'''{{{Ability 3| }}}'''
 
{{!}}{{{Ability 3 Description|}}}
 
{{!}}{{{Ability 3 Cost|}}}
 
}} }}
 
|}
 
|}</includeonly>
 

Latest revision as of 13:00, 23 May 2020

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:

  • {{{Name}}}: The enemy's name.
  • {{{Image}}}: An image to show next to the enemy's name.
  • {{{Color}}}: (Optional) The enemy's color(s), as a string of one-letter abbreviations.
  • {{{Level}}}: The enemy's level.
  • {{{Hit Points}}}: The number of hit points the enemy starts with.
  • {{{White Mana}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Blue Mana}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Black Mana}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Red Mana}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Green Mana}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Loyalty Bonus}}}: Enemy's White Mana Bonus. Defaults to +0
  • {{{Ability 1}}}: The Enemy's first ability's name from the game.
  • {{{Ability 1 Description}}}: The first ability's description from the game.
  • {{{Ability 1 Cost}}}: The loyalty cost for ability 1.
  • {{{Ability 2}}}: (Optional) The Enemy's first ability's name from the game.
  • {{{Ability 2 Description}}}: (Optional) The first ability's description from the game.
  • {{{Ability 2 Cost}}}: (Optional) The loyalty cost for ability 1.
  • {{{Ability 3}}}: (Optional) The Enemy's first ability's name from the game.
  • {{{Ability 3 Description}}}: (Optional) The first ability's description from the game.
  • {{{Ability 3 Cost}}}: (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:

{{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
}}

It produces:

Zetalpa, Primal Dawn Zetalpa, Primal Dawn
White
Level HP White mana bonus Blue mana bonus Black mana bonus Red mana bonus Green mana bonus Loyalty bonus
80 166 +2 +3 +2 +0 +0 +0
Abilities Loyalty cost Effect
Affliction  9  Your opponent takes 6 damage and you gain 6 life.