Template:MeritCost: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (differentiate between Reward Merits and Alignment Merits "no purchase" categories)
imported>Aggelakis
m (Merit Vendor -> Reward Merit Vendor)
Line 2: Line 2:
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
| style="vertical-align: top; padding: 0.25em;" | [[Image:E ICON MeritToken.png|32px]]
| style="vertical-align: top; padding: 0.25em;" | [[Image:E ICON MeritToken.png|32px]]
| style="width:100%; padding: 0.25em;" | '''[[Merit Vendor|Merit Vendor Purchase]]'''<br />
| style="width:100%; padding: 0.25em;" | '''[[Reward Merit Vendor|Reward Merit Purchase]]'''<br />
{{#switch: {{{1}}} |
{{#switch: {{{1}}} |
| 0 = This recipe cannot be purchased at a Merit Vendor. [[Category:No Reward Merit Purchase]]
| 0 = This recipe cannot be purchased at a Reward Merit Vendor. [[Category:No Reward Merit Purchase]]
| 1 = The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe is 1 Merit.
| 1 = The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe is 1 Merit.
| The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe is {{{1}}} Merits.}}
| The [[Special Salvage#Reward Merit|Reward Merit]] cost of this recipe is {{{1}}} Merits.}}
|}</div></includeonly><noinclude>{{documentation}}</noinclude>
|}</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 00:58, 27 June 2011

[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 cannot be purchased at a Reward Merit Vendor.

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

The Reward Merit cost of this recipe is 1 Merit.

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

The Reward Merit cost of this recipe is 200 Merits.

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

The Reward Merit cost of this recipe is 200 Merits.

See also