Difference between revisions of "Template:Objectives"

From mtgpq wiki
Jump to: navigation, search
Line 5: Line 5:
  
 
Parameters are:
 
Parameters are:
* <code><nowiki>{{{Objective 1}}}</nowiki></code>: The primary objective. Defaults to "Win the Fight."
+
* <code><nowiki>{{{Objective 1}}}</nowiki></code>: The primary objective. (Default: '''Win the Fight!''')
* <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.  (Default: empty)
* <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.  (Default: empty)
* <code><nowiki>{{{Objective 2}}}</nowiki></code>: The second node objective.  Defaults to empty.
+
* <code><nowiki>{{{Objective 1 Reward}}}</nowiki></code>: Non-ribbon, non-runes reward for objective 1. (Default: empty)
* <code><nowiki>{{{Objective 2 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  Defaults to 3.
+
* <code><nowiki>{{{Objective 2}}}</nowiki></code>: The second node objective.  (Default: empty)
* <code><nowiki>{{{Objective 2 Runes}}}</nowiki></code>: The number of runes for meeting Objective 2.  Defaults to empty.
+
* <code><nowiki>{{{Objective 2 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2.  (Default: empty)
* <code><nowiki>{{{Objective 3}}}</nowiki></code>: The second node objective.  Defaults to empty.
+
* <code><nowiki>{{{Objective 2 Runes}}}</nowiki></code>: The number of runes for meeting Objective 2.  (Default: empty)
* <code><nowiki>{{{Objective 3 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2Defaults to 2.
+
* <code><nowiki>{{{Objective 2 Reward}}}</nowiki></code>: Non-ribbon, non-runes reward for objective 2. (Default: empty)
* <code><nowiki>{{{Objective 3 Runes}}}</nowiki></code>: The number of runes for meeting Objective 3.  Defaults to empty.
+
* <code><nowiki>{{{Objective 3}}}</nowiki></code>: The third node objective.  (Default: empty)
 +
* <code><nowiki>{{{Objective 3 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 3(Default: empty)
 +
* <code><nowiki>{{{Objective 3 Runes}}}</nowiki></code>: The number of runes for meeting Objective 3.  (Default: empty)
 +
* <code><nowiki>{{{Objective 3 Reward}}}</nowiki></code>: Non-ribbon, non-runes reward for objective 3. (Default: empty)
  
 
== Example ==
 
== Example ==
Line 26: Line 29:
 
|Objective 2 Ribbons=5
 
|Objective 2 Ribbons=5
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
|Objective 3 Ribbons=5
+
|Objective 3 Reward={{RCJ|1,000|15|5}}
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 38: Line 41:
 
|Objective 2 Ribbons=5
 
|Objective 2 Ribbons=5
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
 
|Objective 3=Cast 4 or more Artifact supports during a single fight.
|Objective 3 Ribbons=5
+
|Objective 3 Reward={{RCJ|1,000|15|5}}
 
}}
 
}}
  
Line 46: Line 49:
 
|-
 
|-
 
|{{{Objective 1|Win the Fight.}}}
 
|{{{Objective 1|Win the Fight.}}}
|{{Ribbons|{{{Objective 1 Ribbons|5}}}}}<!--
+
|{{#if:{{{Objective 1 Ribbons|}}}|{{Ribbons|{{{Objective 1 Ribbons|}}}}}}}<!--
 
-->{{#if:{{{Objective 1 Runes|}}}|''' · '''{{Runes|{{{Objective 1 Runes}}}}}}}<!--
 
-->{{#if:{{{Objective 1 Runes|}}}|''' · '''{{Runes|{{{Objective 1 Runes}}}}}}}<!--
 +
-->{{#if:{{{Objective 1 Reward|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{{Objective 1 Reward}}}}}<!--
 
-->{{#if:{{{Objective 2|}}}|<br>
 
-->{{#if:{{{Objective 2|}}}|<br>
 
{{!}}-
 
{{!}}-
 
{{!}}{{{Objective 2}}}
 
{{!}}{{{Objective 2}}}
{{!}}{{Ribbons|{{{Objective 2 Ribbons|3}}}}}<!--
+
{{!}}{{#if:{{{Objective 2 Ribbons|}}}|{{Ribbons|{{{Objective 2 Ribbons|}}}}}}}<!--
-->{{#if:{{{Objective 2 Runes|}}}|''' · '''{{Runes|{{{Objective 2 Runes}}}}}}}}}<!--
+
-->{{#if:{{{Objective 2 Runes|}}}|''' · '''{{Runes|{{{Objective 2 Runes}}}}}}}<!--
 +
-->{{#if:{{{Objective 2 Reward|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{{Objective 2 Reward}}}}}}}<!--
 
-->{{#if:{{{Objective 3|}}}|<br>
 
-->{{#if:{{{Objective 3|}}}|<br>
 
{{!}}-
 
{{!}}-
 
{{!}}{{{Objective 3}}}
 
{{!}}{{{Objective 3}}}
{{!}}{{Ribbons|{{{Objective 3 Ribbons|2}}}}}<!--
+
{{!}}{{#if:{{{Objective 3 Ribbons|}}}|{{Ribbons|{{{Objective 3 Ribbons|}}}}}}}<!--
-->{{#if:{{{Objective 3 Runes|}}}|''' · '''{{Runes|{{{Objective 3 Runes}}}}}}}}}
+
-->{{#if:{{{Objective 3 Runes|}}}|''' · '''{{Runes|{{{Objective 3 Runes}}}}}}}<!--
 +
-->{{#if:{{{Objective 3 Reward|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{{Objective 3 Reward}}}}}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 01:56, 26 May 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