Template:MeritCost: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
m (test)
imported>Konoko
(+doc)
Line 1: Line 1:
<div style="margin: 0.5em;">
<includeonly><div style="margin: 0.5em;">
{| 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]]
| style="vertical-align: top; padding: 0.25em;" | [[Image:E ICON MeritToken.png]]
Line 7: Line 7:
| 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.
| #default = The [[Special Salvage#Reward Merit{{!}}Reward Merit]] cost of this recipe is {{{1}}} Merits.}}
| #default = The [[Special Salvage#Reward Merit{{!}}Reward Merit]] cost of this recipe is {{{1}}} Merits.}}
|}</div><includeonly></includeonly><noinclude>To be used on IO Enhancment pages such as [[Devastation: Accuracy/Damage]] to list the Reward Merit cost of the recipe.
|}</div></includeonly><noinclude>
 
{{documentation}}
<nowiki>{{MeritCost|0}}</nowiki>
{{MeritCost|0}}
 
<nowiki>{{MeritCost|1}}</nowiki>
{{MeritCost|1}}
 
<nowiki>{{MeritCost|200}}</nowiki>
{{MeritCost|200}}
 
[[Category:Invention System Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 00:01, 31 December 2008

[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