Template:MeritCost: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (tweak)
imported>Aggelakis
m (differentiate between Reward Merits and Alignment Merits "no purchase" categories)
Line 4: Line 4:
| style="width:100%; padding: 0.25em;" | '''[[Merit Vendor|Merit Vendor Purchase]]'''<br />
| style="width:100%; padding: 0.25em;" | '''[[Merit Vendor|Merit Vendor Purchase]]'''<br />
{{#switch: {{{1}}} |
{{#switch: {{{1}}} |
| 0 = This recipe cannot be purchased at a Merit Vendor. [[Category:No Vendor Purchase]]
| 0 = This recipe cannot be purchased at a 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 04:47, 17 August 2010

[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 Merit Vendor Purchase

This recipe cannot be purchased at a Merit Vendor.

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

The Reward Merit cost of this recipe is 1 Merit.

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

The Reward Merit cost of this recipe is 200 Merits.

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

The Reward Merit cost of this recipe is 200 Merits.

See also