Difference between revisions of "Template:Objective"
| Line 53: | Line 53: | ||
| Call to Arms = Create {{{2}}} or more Creature {{Ability|Token|Tokens}} during a single fight. | | Call to Arms = Create {{{2}}} or more Creature {{Ability|Token|Tokens}} during a single fight. | ||
| Comeback = Take {{{2}}} or more damage during a single fight. | | Comeback = Take {{{2}}} or more damage during a single fight. | ||
| − | | Commander = {{{param2|Summon}}} {{{2}}} or more creatures within a single fight. | + | | Commander = {{#ifeq|{{{param2|}}}|Cast|{{Ability|cast|Cast}}|{{Ability|summon|Summon}}}} {{{2}}} or more creatures within a single fight. |
| Cycler = {{Ability|Cycle}} {{{2}}} or more cards. | | Cycler = {{Ability|Cycle}} {{{2}}} or more cards. | ||
| Decay = {{Ability|summon|Summon}} {{{2}}} or more Knights or Fungus during a single fight. | | Decay = {{Ability|summon|Summon}} {{{2}}} or more Knights or Fungus during a single fight. | ||
Revision as of 11:24, 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 | ||
|
5 | ||
|
5 |