Difference between revisions of "Template:Objective"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> The Objective template displays a single objective within an objectives table. == Parameters == Parameters are: * <code><nowiki>{{{1}}}</nowiki></code>: The name...")
 
Line 66: Line 66:
 
| Grimoire = '''{{{1}}}:''' Cast {{{2}}} or more Spells during a single turn.
 
| Grimoire = '''{{{1}}}:''' Cast {{{2}}} or more Spells during a single turn.
 
| Hardened = '''{{{1}}}:''' Cast {{{2}}} creatures with toughness {{{param2}}} or more.
 
| Hardened = '''{{{1}}}:''' Cast {{{2}}} creatures with toughness {{{param2}}} or more.
 +
| Healer = '''{{{1}}}:''' Gain {{{2}}} or more life during a single fight.  ('''Bug:''' life must be gained all at once to count)
 
| Hunter = '''{{{1}}}:''' Deal {{{2}}} or more damage to a creature during a single turn.
 
| Hunter = '''{{{1}}}:''' Deal {{{2}}} or more damage to a creature during a single turn.
 
| Lifeless = '''{{{1}}}:''' Summon no creatures with {{Ability|Lifelink}} during a single fight.
 
| Lifeless = '''{{{1}}}:''' Summon no creatures with {{Ability|Lifelink}} during a single fight.

Revision as of 03:28, 8 October 2019

The Objective template displays a single objective within an objectives table.

Parameters

Parameters are:

  • {{{1}}}: The name of the objective (e.g. "Speed").
  • {{{2}}}: The first variable in the objective definition (e.g. "3", for win within 3 turns).
  • {{{param2}}}: The second variable in the objective definition (Default: empty).
  • {{{param3}}}: The third variable in the objective definition (Default: empty).
  • {{{3}}}: The number of ribbons for meeting the objective. (Default: empty)
  • {{{4}}}: The number of runes for meeting the objective. (Default: empty)
  • {{{5}}}: Non-ribbon, non-runes reward for the objective. (Default: empty)

Example

The following shorthand:

{{Objective table header}}
{{Objective|Win||5|200}}
{{Objective|Spell Caster|5|5}}
{{Objective|Weakstone|4|param2=3|5}}
|}

Produces:

Objectives Reward
Win the fight!  Win the fight against your opponent.
5Ribbons · 200 Mana Runes
Spell Caster:  Cast 5 or more spells during a single fight.
5Ribbons
Weakstone:  Cast 4 or more creatures with power 3 or less.
5Ribbons