Open main menu

mtgpq wiki β

Changes

Template:Objectives

2,310 bytes added, 10:19, 20 February 2019
Created page with "<noinclude> The Objectives template displays criteria for winning ribbons in a node. == Parameters == Parameters are: * <code><nowiki>{{{Objective 1}}}</nowiki></code>: The..."
<noinclude>
The Objectives template displays criteria for winning ribbons in a node.

== Parameters ==

Parameters are:
* <code><nowiki>{{{Objective 1}}}</nowiki></code>: The primary objective. Defaults to "Win the Fight."
* <code><nowiki>{{{Objective Ribbons 1}}}</nowiki></code>: The number of ribbons for meeting Objective 1. Defaults to 5.
* <code><nowiki>{{{Objective Runes 1}}}</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 Ribbons 2}}}</nowiki></code>: The number of ribbons for meeting Objective 2. Defaults to 3.
* <code><nowiki>{{{Objective Runes 2}}}</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 Ribbons 3}}}</nowiki></code>: The number of ribbons for meeting Objective 2. Defaults to 2.
* <code><nowiki>{{{Objective Runes 3}}}</nowiki></code>: The number of runes for meeting Objective 3. Defaults to empty.

== Example ==

The following shorthand:
<pre><nowiki>
{{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
}}
</nowiki></pre>

Produces:
{{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
}}

</noinclude><includeonly>{| class="wikitable"
!Objectives
!Reward
|-
|{{{Objective 1|Win the Fight.}}}
|{{Ribbons|{{{Objective 1 Ribbons|5}}}}}<!--
-->{{#if:{{{Objective 1 Runes|}}}|<br>{{Runes|{{{Objective 1 Runes}}}}}}}
|-
|{{{Objective 2|Optional 1}}}
|{{Ribbons|{{{Objective 2 Ribbons|3}}}}}<!--
-->{{#if:{{{Objective 2 Runes|}}}|<br>{{Runes|{{{Objective 2 Runes}}}}}}}
|-
|{{{Objective 3|Optional 2}}}
|{{Ribbons|{{{Objective 3 Ribbons|2}}}}}<!--
-->{{#if:{{{Objective 3 Runes|}}}|<br>{{Runes|{{{Objective 3 Runes}}}}}}}
|}</includeonly>