Difference between revisions of "Template:StorePurchase"

From DDO Compendium
Line 18: Line 18:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
| ddo =[[Category:DDO Store Purchase]][[DDO Store]]{{#if: {{{3|}}}|&nbsp;(Limited Time)}}: Purchase for {{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png|link=DDO Points]] DDO Points
| ddo ={{#ifeq: {{FULLPAGENAME}} |Template:Ability||[[Category:DDO Store Purchase]]}}[[DDO Store]]{{#if: {{{3|}}}|&nbsp;(Limited Time)}}: Purchase for {{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png|link=DDO Points]] DDO Points
}}</onlyinclude>
}}</onlyinclude>

Revision as of 16:12, 12 February 2019

StorePurchase[edit]

This template is used on equipment to correctly format where that equipment is received from buying in the DDO Store.

Example Usage
{{StorePurchase|DDO|350}}DDO Store: Purchase for 350 DDOPointsIcon.png DDO Points
{{StorePurchase|DDO|350|True}}DDO Store (Limited Time): Purchase for 350 DDOPointsIcon.png DDO Points

Usage[edit]

{{StorePurchase|(Which Store)|(Cost)|(Limited Time)}}

Parameter Documentation
Which StoreThis is the store that it is bought from
Possible Values:
  • DDO
CostThis is the number of DDO points the item costs
Limited TimeThis is set if the item is only in the store for a limited time.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.