Difference between revisions of "Template:StorePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 23: | Line 23: | ||
|parameter4name = Count | |parameter4name = Count | ||
|parameter4description = This is the number you get | |parameter4description = This is the number you get | ||
|parameter5name = Content | |||
|parameter5description = This is the store content, if you can't buy it directly | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| ddo ={{#ifeq: {{FULLPAGENAME}} |Template:StorePurchase||[[Category:DDO Store Purchase]]}}[[DDO Store]]{{#if: {{{3|}}}| (Limited Time)}}: {{#ifeq: {{{2}}}|0|Freebie|Purchase {{#if: {{{4|}}}|{{{4}}} }}for {{formatnum:{{{2}}}}} [[File:DDOPointsIcon.png|link=DDO Point]] DDO Points}} | | ddo ={{#ifeq: {{FULLPAGENAME}} |Template:StorePurchase||[[Category:DDO Store Purchase]]}}[[DDO Store]]{{#if: {{{3|}}}| (Limited Time)}}: {{#ifeq: {{{2}}}|0|Freebie|Purchase {{#if: {{{4|}}}|{{{4}}} }}for {{formatnum:{{{2}}}}}{{#if: {{{5|}}}| as part of {{{5}}}}} [[File:DDOPointsIcon.png|link=DDO Point]] DDO Points}} | ||
| market = {{#ifeq: {{FULLPAGENAME}} |Template:StorePurchase||[[Category:DDO Market Purchase]]}}[[DDO Market]]{{#if: {{{3|}}}| (Limited Time)}}: Purchase {{#if: {{{4|}}}|{{{4}}} }} {{{2}}} | | market = {{#ifeq: {{FULLPAGENAME}} |Template:StorePurchase||[[Category:DDO Market Purchase]]}}[[DDO Market]]{{#if: {{{3|}}}| (Limited Time)}}: Purchase {{#if: {{{4|}}}|{{{4}}} }} {{{2}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 16:23, 16 February 2021
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 ![]() |
{{StorePurchase|DDO|350|True}} | DDO Store (Limited Time): Purchase for 350 ![]() |
{{StorePurchase|Market|[[Fables of Feywild]] Ultimate Fan Bundle}} | DDO Market: Purchase Fables of Feywild Ultimate Fan Bundle |
Usage[edit]
{{StorePurchase|(Which Store)|(Cost)|(Limited Time)|(Count)|(Content)}}
Parameter Documentation | |
Which Store | This is the store that it is bought from Possible Values:
|
Cost | This is the cost of the item |
Limited Time | This is set if the item is only in the store for a limited time. |
Count | This is the number you get |
Content | This is the store content, if you can't buy it directly |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.