Difference between revisions of "Template:StorePurchase"

From DDO Compendium
m
m
Line 25: Line 25:
<td class="center">[[DDO Store]]{{#if: {{{3|}}}|&nbsp;(Limited Time)}}</td>
<td class="center">[[DDO Store]]{{#if: {{{3|}}}|&nbsp;(Limited Time)}}</td>
<td class="center">{{#if:{{{4|}}}|{{{4}}}}}</td>
<td class="center">{{#if:{{{4|}}}|{{{4}}}}}</td>
<td class="center text-nowrap">{{#ifeq: {{{2}}}|0|Freebie|{{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png|link=DDO Point]] DDO Points}}</td>
<td class="center text-nowrap">{{#ifeq: {{{2}}}|0|Freebie|{{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png|link=DDO Point|DDO Point]]}}</td>
</tr>}}</onlyinclude>
</tr>}}</onlyinclude>

Revision as of 07:56, 26 February 2020

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 350 DDO Point
{{StorePurchase|DDO|350|True}}
  DDO Store (Limited Time) 350 DDO Point

Usage[edit]

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

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.
CountThis is the number you get

Template

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