Difference between revisions of "Template:NightRevelsPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 28: | Line 28: | ||
{{#switch: {{lc:{{#dplvar:vendorformat}}}} | {{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
|table=<tr><td>[[ | |table=<tr><td>[[Joe Candymaker]]</td><td>[[Night Revels Crypt]]</td><td>{{#if: {{{7|}}}|{{{7}}}|1}}</td><td>{{VendorIngredientList|{{#if: {{{1|}}}|Darkest Chocolate}}|{{{1|}}}|{{#if: {{{2|}}}|Shadowy Caramel}}|{{{2|}}}|{{#if: {{{3|}}}|Spooky Almond}}|{{{3|}}}|{{#if: {{{4|}}}|Sinister Cinnamon}}|{{{4|}}}|{{#if: {{{5|}}}|Black Apple}}|{{{5|}}}|{{#if: {{{6|}}}|Spectral Dragon Scale}}|{{{6|}}}}}</td><td></td></tr> | ||
|#default=[[Joe Candymaker]]: Purchase {{#if: {{{7|}}}|{{{7}}}}} using the {{#if: {{{8|}}}|Wares|Consumables}} option during [[Night Revels]].{{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}| Cost:}} | |#default=[[Joe Candymaker]]: Purchase {{#if: {{{7|}}}|{{{7}}}}} using the {{#if: {{{8|}}}|Wares|Consumables}} option during [[Night Revels]].{{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}| Cost:}} | ||
{{WrapMultiLine|{{#if: {{{6|}}}|* {{Ingredient|Spectral Dragon Scale|{{{6}}}}}}}{{#if: {{{1|}}}|* {{Ingredient|Darkest Chocolate|{{{1}}}}}}}{{#if: {{{2|}}}|* {{Ingredient|Shadowy Caramel|{{{2}}}}}}}{{#if: {{{3|}}}|* {{Ingredient|Spooky Almond|{{{3}}}}}}}{{#if: {{{4|}}}|* {{Ingredient|Sinister Cinnamon|{{{4}}}}}}}{{#if: {{{5|}}}|* {{Ingredient|Black Apple|{{{5}}}}}}}}} | {{WrapMultiLine|{{#if: {{{6|}}}|* {{Ingredient|Spectral Dragon Scale|{{{6}}}}}}}{{#if: {{{1|}}}|* {{Ingredient|Darkest Chocolate|{{{1}}}}}}}{{#if: {{{2|}}}|* {{Ingredient|Shadowy Caramel|{{{2}}}}}}}{{#if: {{{3|}}}|* {{Ingredient|Spooky Almond|{{{3}}}}}}}{{#if: {{{4|}}}|* {{Ingredient|Sinister Cinnamon|{{{4}}}}}}}{{#if: {{{5|}}}|* {{Ingredient|Black Apple|{{{5}}}}}}}}} | ||
}}{{#ifeq: {{FULLPAGENAME}} |Template:NightRevelsPurchase||[[Category:Night Revels Items]]}}</onlyinclude> | }}{{#ifeq: {{FULLPAGENAME}} |Template:NightRevelsPurchase||[[Category:Night Revels Items]]}}</onlyinclude> |
Revision as of 13:42, 30 March 2022
NightRevelsPurchase[edit]
This template is used on equipment to correctly format where that equipment is received from buying a Night Revels item
Example Usage | |
{{NightRevelsPurchase|40||10|5}} | Joe Candymaker: Purchase using the Consumables option during Night Revels. Cost:
|
{{NightRevelsPurchase|60|10|10||5||50|True}} | Joe Candymaker: Purchase 50 using the Wares option during Night Revels. Cost:
|
Usage[edit]
{{NightRevelsPurchase|(Choco Count)|(Caramel Count)|(Almond Count)|(Cinn Count)|(Apple Count)|(Items)|(Wares)}}
Parameter Documentation | |
Choco Count | Number of Darkest Chocolate |
Caramel Count | Number of Shadowy Caramel |
Almond Count | Number of Spooky Almonds |
Cinn Count | Number of Sinister Cinnamon |
Apple Count | Number of Black Apples |
Items | The number of items received, it not specified it is 1 |
Wares | Is this in the Wares section, leave blank for consumables |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Joe Candymaker: Purchase using the Consumables option during Night Revels.