Difference between revisions of "Template:Objectives"

From mtgpq wiki
Jump to: navigation, search
 
Line 50: Line 50:
 
|{{{Objective 1|Win the Fight.}}}
 
|{{{Objective 1|Win the Fight.}}}
 
|{{#if:{{{Objective 1 Ribbons|}}}|{{Ribbons|{{{Objective 1 Ribbons|}}}}}}}<!--
 
|{{#if:{{{Objective 1 Ribbons|}}}|{{Ribbons|{{{Objective 1 Ribbons|}}}}}}}<!--
-->{{#if:{{{Objective 1 Runes|}}}|''' · '''{{Runes|{{{Objective 1 Runes}}}}}}}<!--
+
-->{{#if:{{{Objective 1 Runes|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 1 Runes}}}}}}}<!--
 
-->{{#if:{{{Objective 1 Reward|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{{Objective 1 Reward}}}}}<!--
 
-->{{#if:{{{Objective 1 Reward|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{{Objective 1 Reward}}}}}<!--
 
-->{{#if:{{{Objective 2|}}}|<br>
 
-->{{#if:{{{Objective 2|}}}|<br>
Line 56: Line 56:
 
{{!}}{{{Objective 2}}}
 
{{!}}{{{Objective 2}}}
 
{{!}}{{#if:{{{Objective 2 Ribbons|}}}|{{Ribbons|{{{Objective 2 Ribbons|}}}}}}}<!--
 
{{!}}{{#if:{{{Objective 2 Ribbons|}}}|{{Ribbons|{{{Objective 2 Ribbons|}}}}}}}<!--
-->{{#if:{{{Objective 2 Runes|}}}|''' · '''{{Runes|{{{Objective 2 Runes}}}}}}}<!--
+
-->{{#if:{{{Objective 2 Runes|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 2 Runes}}}}}}}<!--
 
-->{{#if:{{{Objective 2 Reward|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{{Objective 2 Reward}}}}}}}<!--
 
-->{{#if:{{{Objective 2 Reward|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{{Objective 2 Reward}}}}}}}<!--
 
-->{{#if:{{{Objective 3|}}}|<br>
 
-->{{#if:{{{Objective 3|}}}|<br>
Line 62: Line 62:
 
{{!}}{{{Objective 3}}}
 
{{!}}{{{Objective 3}}}
 
{{!}}{{#if:{{{Objective 3 Ribbons|}}}|{{Ribbons|{{{Objective 3 Ribbons|}}}}}}}<!--
 
{{!}}{{#if:{{{Objective 3 Ribbons|}}}|{{Ribbons|{{{Objective 3 Ribbons|}}}}}}}<!--
-->{{#if:{{{Objective 3 Runes|}}}|''' · '''{{Runes|{{{Objective 3 Runes}}}}}}}<!--
+
-->{{#if:{{{Objective 3 Runes|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 3 Runes}}}}}}}<!--
 
-->{{#if:{{{Objective 3 Reward|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{{Objective 3 Reward}}}}}}}
 
-->{{#if:{{{Objective 3 Reward|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{{Objective 3 Reward}}}}}}}
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 07:29, 28 October 2019

The Objectives template displays criteria for winning ribbons in a node, and the rewards gained per objective.

Parameters

Parameters are:

  • {{{Objective 1}}}: The primary objective. (Default: Win the Fight!)
  • {{{Objective 1 Ribbons}}}: The number of ribbons for meeting Objective 1. (Default: empty)
  • {{{Objective 1 Runes}}}: The number of runes for meeting Objective 1. (Default: empty)
  • {{{Objective 1 Reward}}}: Non-ribbon, non-runes reward for objective 1. (Default: empty)
  • {{{Objective 2}}}: The second node objective. (Default: empty)
  • {{{Objective 2 Ribbons}}}: The number of ribbons for meeting Objective 2. (Default: empty)
  • {{{Objective 2 Runes}}}: The number of runes for meeting Objective 2. (Default: empty)
  • {{{Objective 2 Reward}}}: Non-ribbon, non-runes reward for objective 2. (Default: empty)
  • {{{Objective 3}}}: The third node objective. (Default: empty)
  • {{{Objective 3 Ribbons}}}: The number of ribbons for meeting Objective 3. (Default: empty)
  • {{{Objective 3 Runes}}}: The number of runes for meeting Objective 3. (Default: empty)
  • {{{Objective 3 Reward}}}: Non-ribbon, non-runes reward for objective 3. (Default: empty)

Example

The following shorthand:

{{Objectives
|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 Reward={{RCJ|1,000|15|5}}
}}

Produces:

Objectives Reward
Win the Fight. 15Ribbons · 200 Mana Runes
Summon 2 or more Creatures during a turn. 5Ribbons
Cast 4 or more Artifact supports during a single fight. 1,000 Mana Runes · 15 Mana Crystals · 5 Mana Jewels