Difference between revisions of "Template:StorePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{StorePurchase|DDO|350|True}}</nowiki> | |example2 = <nowiki>{{StorePurchase|DDO|350|True}}</nowiki> | ||
|example2output = {{StorePurchase|DDO|350|True}} | |example2output = {{StorePurchase|DDO|350|True}} | ||
|parameter1name = Which Store | |parameter1name = Which Store | ||
|parameter1description = This is the store that it is bought from | |parameter1description = This is the store that it is bought from | ||
|parameter1values= | |parameter1values= | ||
* DDO | * DDO | ||
|parameter2name = Cost | |parameter2name = Cost | ||
|parameter2description = This is the number of DDO points the item costs | |parameter2description = This is the number of DDO points the item costs | ||
Line 31: | Line 19: | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| ddo =[[Category:DDO Store Purchase]][[DDO Store]]{{#if: {{{3|}}}| (Limited Time)}}: Purchase for {{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png]] DDO Points | | ddo =[[Category:DDO Store Purchase]][[DDO Store]]{{#if: {{{3|}}}| (Limited Time)}}: Purchase for {{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png]] DDO Points | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 17:05, 29 November 2018
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 DDO Points |
{{StorePurchase|DDO|350|True}} | DDO Store (Limited Time): Purchase for 350 DDO Points |
Usage[edit]
{{StorePurchase|(Which Store)|(Cost)|(Limited Time)}}
Parameter Documentation | |
Which Store | This is the store that it is bought from Possible Values:
|
Cost | This is the number of DDO points the item costs |
Limited Time | This 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.