Template:MeritCost/doc: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (→‎Examples: fixing display text to match)
m (using actual template for 0 cost.)
 
Line 6: Line 6:
==Examples==
==Examples==
<nowiki>{{MeritCost|0}}</nowiki>
<nowiki>{{MeritCost|0}}</nowiki>
<div style="margin: 0.5em;">
{{MeritCost|0|example}}
{| 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 cannot be purchased at a Merit Vendor.
|}</div>
'''NOTE:''' This adds the recipe to the [[:Category:No Reward Merit Purchase|No Reward Merit Purchase]] category.
'''NOTE:''' This adds the recipe to the [[:Category:No Reward Merit Purchase|No Reward Merit Purchase]] category.



Latest revision as of 19:20, 23 June 2021

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.

Examples

{{MeritCost|0}}

E ICON MeritToken.png Reward Merit Purchase

This recipe cannot be purchased at a Reward Merit Vendor.

NOTE: This adds the recipe to the No Reward Merit Purchase category.

{{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.

See also