Difference between revisions of "Template:Objectives"

From mtgpq wiki
Jump to: navigation, search
Line 8: Line 8:
 
* <code><nowiki>{{{Objective 1 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 1.  Defaults to 5.
 
* <code><nowiki>{{{Objective 1 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 1.  Defaults to 5.
 
* <code><nowiki>{{{Objective 1 Runes}}}</nowiki></code>: The number of runes for meeting Objective 1.  Defaults to empty.
 
* <code><nowiki>{{{Objective 1 Runes}}}</nowiki></code>: The number of runes for meeting Objective 1.  Defaults to empty.
* <code><nowiki>{{{Objective 2}}}</nowiki></code>: The second node objective.  Defaults to "Optional 1"
+
* <code><nowiki>{{{Objective 2}}}</nowiki></code>: The second node objective.  Defaults to empty.
 
* <code><nowiki>{{{Objective 2 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 3.
 
* <code><nowiki>{{{Objective 2 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 3.
 
* <code><nowiki>{{{Objective 2 Runes}}}</nowiki></code>: The number of runes for meeting Objective 2.  Defaults to empty.
 
* <code><nowiki>{{{Objective 2 Runes}}}</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 3}}}</nowiki></code>: The second node objective.  Defaults to empty.
 
* <code><nowiki>{{{Objective 3 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 2.
 
* <code><nowiki>{{{Objective 3 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 2.
 
* <code><nowiki>{{{Objective 3 Runes}}}</nowiki></code>: The number of runes for meeting Objective 3.  Defaults to empty.
 
* <code><nowiki>{{{Objective 3 Runes}}}</nowiki></code>: The number of runes for meeting Objective 3.  Defaults to empty.
Line 47: Line 47:
 
|{{{Objective 1|Win the Fight.}}}
 
|{{{Objective 1|Win the Fight.}}}
 
|{{Ribbons|{{{Objective 1 Ribbons|5}}}}}<!--
 
|{{Ribbons|{{{Objective 1 Ribbons|5}}}}}<!--
-->{{#if:{{{Objective 1 Runes|}}}|<br>{{Runes|{{{Objective 1 Runes}}}}}}}
+
-->{{#if:{{{Objective 1 Runes|}}}|<br>{{Runes|{{{Objective 1 Runes}}}}}}}<!--
|-
+
-->{{#if:{{{Objective 2|}}}|<br>
|{{{Objective 2|Optional 1}}}
+
{{!}}-
|{{Ribbons|{{{Objective 2 Ribbons|3}}}}}<!--
+
{{!}}{{{Objective 2}}}
-->{{#if:{{{Objective 2 Runes|}}}|<br>{{Runes|{{{Objective 2 Runes}}}}}}}
+
{{!}}{{Ribbons|{{{Objective 2 Ribbons|3}}}}}<!--
|-
+
-->{{#if:{{{Objective 2 Runes|}}}|<br>{{Runes|{{{Objective 2 Runes}}}}}}}}}<!--
|{{{Objective 3|Optional 2}}}
+
-->{{#if:{{{Objective 3|}}}|<br>
|{{Ribbons|{{{Objective 3 Ribbons|2}}}}}<!--
+
{{!}}-
-->{{#if:{{{Objective 3 Runes|}}}|<br>{{Runes|{{{Objective 3 Runes}}}}}}}
+
{{!}}{{{Objective 3}}}
 +
{{!}}{{Ribbons|{{{Objective 3 Ribbons|2}}}}}<!--
 +
-->{{#if:{{{Objective 3 Runes|}}}|<br>{{Runes|{{{Objective 3 Runes}}}}}}}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 08:14, 28 February 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. Defaults to "Win the Fight."
  • {{{Objective 1 Ribbons}}}: The number of ribbons for meeting Objective 1. Defaults to 5.
  • {{{Objective 1 Runes}}}: The number of runes for meeting Objective 1. Defaults to empty.
  • {{{Objective 2}}}: The second node objective. Defaults to empty.
  • {{{Objective 2 Ribbons}}}: The number of ribbons for meeting Objective 2. Defaults to 3.
  • {{{Objective 2 Runes}}}: The number of runes for meeting Objective 2. Defaults to empty.
  • {{{Objective 3}}}: The second node objective. Defaults to empty.
  • {{{Objective 3 Ribbons}}}: The number of ribbons for meeting Objective 2. Defaults to 2.
  • {{{Objective 3 Runes}}}: The number of runes for meeting Objective 3. Defaults to 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 Ribbons=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. 5Ribbons