Difference between revisions of "Template:Objectives"
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Parameters are: | Parameters are: | ||
− | * <code><nowiki>{{{Objective 1}}}</nowiki></code>: The primary objective. | + | * <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. | + | * <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. | + | * <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. | + | * <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. | + | * <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. | + | * <code><nowiki>{{{Objective 2 Ribbons}}}</nowiki></code>: The number of ribbons for meeting Objective 2. (Default: empty) |
− | * <code><nowiki>{{{Objective 3}}}</nowiki></code>: The | + | * <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 | + | * <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. | + | * <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 | + | |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 | + | |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| | + | |{{#if:{{{Objective 1 Ribbons|}}}|{{Ribbons|{{{Objective 1 Ribbons|}}}}}}}<!-- |
− | -->{{#if:{{{Objective 1 Runes|}}}| | + | -->{{#if:{{{Objective 1 Runes|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 1 Runes}}}}}}}<!-- |
− | |- | + | -->{{#if:{{{Objective 1 Reward|}}}|{{#if:{{{Objective 1 Ribbons|}}}|''' · '''}}{{{Objective 1 Reward}}}}}<!-- |
− | |{{{Objective 2| | + | -->{{#if:{{{Objective 2|}}}|<br> |
− | |{{Ribbons|{{{Objective 2 Ribbons| | + | {{!}}- |
− | -->{{#if:{{{Objective 2 Runes|}}}| | + | {{!}}{{{Objective 2}}} |
− | |- | + | {{!}}{{#if:{{{Objective 2 Ribbons|}}}|{{Ribbons|{{{Objective 2 Ribbons|}}}}}}}<!-- |
− | |{{{Objective 3| | + | -->{{#if:{{{Objective 2 Runes|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 2 Runes}}}}}}}<!-- |
− | |{{Ribbons|{{{Objective 3 Ribbons| | + | -->{{#if:{{{Objective 2 Reward|}}}|{{#if:{{{Objective 2 Ribbons|}}}|''' · '''}}{{{Objective 2 Reward}}}}}}}<!-- |
− | -->{{#if:{{{Objective 3 Runes|}}}|< | + | -->{{#if:{{{Objective 3|}}}|<br> |
+ | {{!}}- | ||
+ | {{!}}{{{Objective 3}}} | ||
+ | {{!}}{{#if:{{{Objective 3 Ribbons|}}}|{{Ribbons|{{{Objective 3 Ribbons|}}}}}}}<!-- | ||
+ | -->{{#if:{{{Objective 3 Runes|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{Runes|{{{Objective 3 Runes}}}}}}}<!-- | ||
+ | -->{{#if:{{{Objective 3 Reward|}}}|{{#if:{{{Objective 3 Ribbons|}}}|''' · '''}}{{{Objective 3 Reward}}}}}}} | ||
|}</includeonly> | |}</includeonly> |
Latest revision as of 07:29, 28 October 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. | 15 · 200 |
Summon 2 or more Creatures during a turn. | 5 |
Cast 4 or more Artifact supports during a single fight. | 1,000 · 15 · 5 |