Difference between revisions of "Template:NightRevelsPurchase"

From DDO Compendium
Line 17: Line 17:
|parameter5name = Apple Count
|parameter5name = Apple Count
|parameter5description = Number of Black Apples
|parameter5description = Number of Black Apples
|parameter6name = Items
|parameter7name = Scale Count
|parameter6description = The number of items received, it not specified it is 1
|parameter7description = Number of Spectral Dragon Scales
|parameter7name = Wares
|parameter7name = Items
|parameter7description = Is this in the Wares section, leave blank for consumables
|parameter7description = The number of items received, it not specified it is 1
|parameter8name = Wares
|parameter8description = Is this in the Wares section, leave blank for consumables
}}
}}
</noinclude><onlyinclude>
</noinclude><onlyinclude>
Line 26: Line 28:


{{#switch: {{lc:{{#dplvar:vendorformat}}}}
{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>[[{{Joe Candymaker}}]]</td><td>[[Night Revels Crypt]]</td><td>{{#if: {{{6|}}}|{{{6}}}|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}}}}}</td><td></td></tr>
|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: {{{6|}}}|{{{6}}}}} using the {{#if: {{{7|}}}|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: {{{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]]}}{{#dplvar:set|cost}}</onlyinclude>
}}{{#ifeq: {{FULLPAGENAME}} |Template:NightRevelsPurchase||[[Category:Night Revels Items]]}}{{#dplvar:set|cost}}</onlyinclude>

Revision as of 02:09, 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 True using the Consumables option during Night Revels.Cost:

Usage[edit]

{{NightRevelsPurchase|(Choco Count)|(Caramel Count)|(Almond Count)|(Cinn Count)|(Apple Count)|(Items)|(Wares)}}

Parameter Documentation
Choco CountNumber of Darkest Chocolate
Caramel CountNumber of Shadowy Caramel
Almond CountNumber of Spooky Almonds
Cinn CountNumber of Sinister Cinnamon
Apple CountNumber of Black Apples
ItemsThe number of items received, it not specified it is 1
WaresIs 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.