Template:MeritCost: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(fixup)
m (update to reflect purchase of something other than recipe)
Line 4: Line 4:
| style="width:100%; padding: 0.25em;" | '''[[Reward Merit Vendor|Reward Merit Purchase]]'''<br />
| style="width:100%; padding: 0.25em;" | '''[[Reward Merit Vendor|Reward Merit Purchase]]'''<br />
{{#switch: {{{1}}} |
{{#switch: {{{1}}} |
| 0 = This recipe once could not be purchased at a [[Reward Merit Vendor|Merit Vendor]], but it may be possible now.
| 0 = This {{#if: {{{2}}}|{{#switch: {{{2}}}|E=enhancement|recipe}}|recipe}} once could not be purchased at a [[Reward Merit Vendor|Merit Vendor]], but it may be possible now.
| 1 = The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe was 1 Merit; see [[Reward Merit Vendor|Merit Vendor]] for the current cost.
| 1 = The [[Special Salvage#Reward Merit|Reward Merit]] cost of this {{#if: {{{2}}}|{{#switch: {{{2}}}|E=enhancement|recipe}}|recipe}} was 1 Merit; see [[Reward Merit Vendor|Merit Vendor]] for the current cost.
| The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe was {{{1}}} Merits; see [[Reward Merit Vendor|Merit Vendor]] for the current cost.}}
| The [[Special Salvage#Reward Merit|Reward Merit]] cost of this {{#if: {{{2}}}|{{#switch: {{{2}}}|E=enhancement|recipe}}|recipe}} was {{{1}}} Merits; see [[Reward Merit Vendor|Merit Vendor]] for the current cost.}}
|}</div></includeonly><noinclude>{{documentation}}</noinclude>
|}</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 19:13, 18 September 2020

[edit] [purge] Documentation

Usage

To be used on IO Enhancement pages such as Ruin: Accuracy/Damage to list the Reward Merit cost of the recipe. An optional second positional argument can be used to describe reward merit purchases of items other than recipes. Currently recognized codes for the second positional argument are:

  • E for enhancement

Examples

{{MeritCost|0}}
E ICON MeritToken.png Reward Merit Purchase

This recipe once could not be purchased at a Merit Vendor, but it may be possible now.

{{MeritCost|1}}
E ICON MeritToken.png Reward Merit Purchase

The Reward Merit cost of this recipe was 1 Merit; see Merit Vendor for the current cost.

{{MeritCost|200}}
E ICON MeritToken.png Reward Merit Purchase

The Reward Merit cost of this recipe was 200 Merits; see Merit Vendor for the current cost.

{{MeritCost|200|E}}
E ICON MeritToken.png Reward Merit Purchase

The Reward Merit cost of this enhancement was 200 Merits; see Merit Vendor for the current cost.

See also