Template:MeritCost/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==Usage==
To be used on IO Enhancement pages such as [[Ruin: Accuracy/Damage]] to list the Reward Merit cost of the recipe.
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==
==Examples==
<nowiki>{{MeritCost|0}}</nowiki>
:<code><nowiki>{{MeritCost|0}}</nowiki></code>
<div style="margin: 0.5em;">
{{MeritCost|0}}
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
| style="vertical-align: top; padding: 0.25em;" | [[Image:E ICON MeritToken.png|32px]]
| style="width:100%; padding: 0.25em;" | '''[[Reward Merit Vendor|Reward Merit Purchase]]'''<br />
This recipe once could not be purchased at a [[Reward Merit Vendor|Merit Vendor]], but it may be possible now.
|}</div>
'''NOTE:''' This adds the recipe to the [[:Category:No Reward Merit Purchase|No Reward Merit Purchase]] category.


<nowiki>{{MeritCost|1}}</nowiki>
:<code><nowiki>{{MeritCost|1}}</nowiki></code>
{{MeritCost|1}}
{{MeritCost|1}}


<nowiki>{{MeritCost|200}}</nowiki>
:<code><nowiki>{{MeritCost|200}}</nowiki></code>
{{MeritCost|200}}
{{MeritCost|200}}
:<code><nowiki>{{MeritCost|200|E}}</nowiki></code>
{{MeritCost|200|E}}


==See also==
==See also==

Latest revision as of 19:19, 18 September 2020

This is a documentation subpage for Template:MeritCost (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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}}

This recipe may not be purchased at a Merit Vendor.

{{MeritCost|1}}

The Reward Merit cost of this recipe is 1 Merit.

{{MeritCost|200}}

The Reward Merit cost of this recipe is 200 Merits.

{{MeritCost|200|E}}

The Reward Merit cost of this enhancement is 200 Merits.

See also