Difference between revisions of "Template:Objective"
Line 37: | Line 37: | ||
| {{#switch: {{{1}}} | | {{#switch: {{{1}}} | ||
| Aether Boost = {{Ability|Energize}} {{{2}}} or more gems during a single fight. | | Aether Boost = {{Ability|Energize}} {{{2}}} or more gems during a single fight. | ||
− | | Aggressive = Cast {{{2}}} or less supports during a single fight. | + | | Aggressive = Cast {{#ifeq:{{{2|0}}}|0|no|{{{2}}} or less}} supports during a single fight. |
| Alliance = Cast {{{2}}} or more {{Ability|Vanguard}} supports during a fight. | | Alliance = Cast {{{2}}} or more {{Ability|Vanguard}} supports during a fight. | ||
| Amass = Cast {{{2}}} or more cards with {{Ability|Amass}} during a fight. | | Amass = Cast {{{2}}} or more cards with {{Ability|Amass}} during a fight. |
Revision as of 08:56, 17 November 2019
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)
Example
The following shorthand:
{{Objective table header}} {{Objective|Win||5|200}} {{Objective|Spell Caster|5|5}} {{Objective|Weakstone|4|param2=3|5}} |}
Produces:
Objectives | Reward | ||
---|---|---|---|
|
5 · 200 | ||
|
5 | ||
|
5 |