Difference between revisions of "Template:Objective"

From mtgpq wiki
Jump to: navigation, search
Line 37: Line 37:
 
| {{#switch: {{{1}}}
 
| {{#switch: {{{1}}}
 
| Adventure = {{Ability|cast|Cast}} '''{{{2}}}''' or more cards with {{Ability|Adventure}} during a single fight.
 
| Adventure = {{Ability|cast|Cast}} '''{{{2}}}''' or more cards with {{Ability|Adventure}} during a single fight.
| Adamant = Match '''{{{2}}}''' or more '''{{{param2}}}''' gems during a single fight.
+
| Adamant = Match '''{{{2}}}''' or more '''{{{param2}}}''' gems with swaps during a single fight.
 
| Aether Boost = {{Ability|Energize}} '''{{{2}}}''' or more gems during a single fight.
 
| Aether Boost = {{Ability|Energize}} '''{{{2}}}''' or more gems during a single fight.
 
| Aggressive = {{Ability|cast|Cast}} {{#ifeq:{{{2|0}}}|0|no|'''{{{2}}}''' or less}} supports during a single fight.
 
| Aggressive = {{Ability|cast|Cast}} {{#ifeq:{{{2|0}}}|0|no|'''{{{2}}}''' or less}} supports during a single fight.
Line 90: Line 90:
 
| Healer = Gain '''{{{2}}}''' or more life during a single fight.
 
| Healer = Gain '''{{{2}}}''' or more life during a single fight.
 
| Hunter = Deal '''{{{2}}}''' or more damage to a creature during a single turn.
 
| Hunter = Deal '''{{{2}}}''' or more damage to a creature during a single turn.
| Identity = Match '''{{{2}}}''' or more gems of your Planeswalker colors during a single fight.
+
| Identity = Match '''{{{2}}}''' or more gems of your Planeswalker colors with swaps during a single fight.
 
| Inhuman = {{Ability|summon|Summon}}  '''{{{2}}}''' or more Creatures with any of these subtypes: Beast, Elf, Giant, Wolf.
 
| Inhuman = {{Ability|summon|Summon}}  '''{{{2}}}''' or more Creatures with any of these subtypes: Beast, Elf, Giant, Wolf.
 
| Iroas's Champion = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Angel, Giant, Soldier.
 
| Iroas's Champion = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Angel, Giant, Soldier.

Revision as of 11:18, 16 January 2021

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)
  • {{{bug}}}: The description of a bug affecting this objective, if any. (Default: empty)

Example

The following shorthand:

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

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.
Bug: Bug text
5Ribbons