Difference between revisions of "Template:NightRevelsPurchase"

From DDO Compendium
Line 28: Line 28:
|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: {{{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>


|#default=[[Joe Candymaker]]: Purchase {{#if: {{{6|}}}|{{{6}}}}} using the {{#if: {{{7|}}}|Wares|Consumables}} option during [[Night Revels]]. Cost:
|#default=[[Joe Candymaker]]: Purchase {{#if: {{{6|}}}|{{{6}}}}} using the {{#if: {{{7|}}}|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: {{{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:05, 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 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.