Difference between revisions of "Template:Objective"

From mtgpq wiki
Jump to: navigation, search
Line 67: Line 67:
 
| Cook = Create '''{{{2}}}''' or more {{Ability|Food}} {{Ability|Token|Tokens}} during a fight.
 
| Cook = Create '''{{{2}}}''' or more {{Ability|Food}} {{Ability|Token|Tokens}} during a fight.
 
| Cycler = {{Ability|Cycle}} '''{{{2}}}''' or more cards.
 
| Cycler = {{Ability|Cycle}} '''{{{2}}}''' or more cards.
 +
| Dawnbringer = {{Ability|Dayshift|Shift}} between day and night '''{{{2}}}''' or more times during a single fight.
 
| Decay = {{Ability|summon|Summon}} '''{{{2}}}''' or more Knights or Fungus during a single fight.
 
| Decay = {{Ability|summon|Summon}} '''{{{2}}}''' or more Knights or Fungus during a single fight.
 
| Deck Challenge = Win with a [[Theme decks|Beginner, Expert or Master Deck]].
 
| Deck Challenge = Win with a [[Theme decks|Beginner, Expert or Master Deck]].
Line 166: Line 167:
 
| Terraforming = {{Ability|cast|Cast}} '''{{{2}}}''' or more Land supports during a single fight.
 
| Terraforming = {{Ability|cast|Cast}} '''{{{2}}}''' or more Land supports during a single fight.
 
| Tombstone = Have '''{{{2}}}''' or more cards in your graveyard during a single fight.
 
| Tombstone = Have '''{{{2}}}''' or more cards in your graveyard during a single fight.
 +
| Transform = {{Ability|cast|Cast}} '''{{{2}}}''' or more cards with {{Ability|Transform}} during a single fight.
 
| Tribal = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Goblin, Elemental, Warrior, Shaman.
 
| Tribal = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Goblin, Elemental, Warrior, Shaman.
 
| Unresourceful = Convert '''{{{2}}}''' or less gems during a single fight.
 
| Unresourceful = Convert '''{{{2}}}''' or less gems during a single fight.
Line 173: Line 175:
 
| Weakstone = {{Ability|cast|Cast}} '''{{{2}}}''' or more creatures with power '''{{{param2}}}''' or less.
 
| Weakstone = {{Ability|cast|Cast}} '''{{{2}}}''' or more creatures with power '''{{{param2}}}''' or less.
 
| Win | Win the fight! = Win the fight against your opponent.
 
| Win | Win the fight! = Win the fight against your opponent.
| Witchcraft = {{Ability|summon|Summon}} '''{{{2}}}''' or more Creatures with any of these subtypes: Druid, Warlock, Wizard.
+
| Witchcraft = {{#if:{{{1}}}|{{Ability|summon|Summon}} '''{{{2}}}''' or more Creatures with any of these subtypes: Druid, Warlock, Wizard.|Win a fight with a deck that has no creatures with the same power.}}
 
| Winged = {{Ability|cast|Cast}} '''{{{2}}}''' or more creatures with {{Ability|Flying}} during a fight.
 
| Winged = {{Ability|cast|Cast}} '''{{{2}}}''' or more creatures with {{Ability|Flying}} during a fight.
 
| Zendikari = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Elemental, Elf.
 
| Zendikari = {{Ability|cast|Cast}} '''{{{2}}}''' or more Creatures with any of these subtypes: Elemental, Elf.

Revision as of 08:39, 27 October 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