Difference between revisions of "Template:NightRevelsPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{NightRevelsPurchase|40||10|5}}</nowiki> | |example1 = <nowiki>{{NightRevelsPurchase|40||10|5}}</nowiki> | ||
|example1output = {{NightRevelsPurchase|40||10|5}} | |example1output = {{NightRevelsPurchase|40||10|5}} | ||
|example2 = <nowiki>{{NightRevelsPurchase|60|10|10||5|50|True}}</nowiki> | |example2 = <nowiki>{{NightRevelsPurchase|60|10|10||5||50|True}}</nowiki> | ||
|example2output = {{NightRevelsPurchase|60|10|10||5|50|True}} | |example2output = {{NightRevelsPurchase|60|10|10||5||50|True}} | ||
|parameter1name = Choco Count | |parameter1name = Choco Count | ||
|parameter1description = Number of Darkest Chocolate | |parameter1description = Number of Darkest Chocolate | ||
Line 17: | Line 17: | ||
|parameter5name = Apple Count | |parameter5name = Apple Count | ||
|parameter5description = Number of Black Apples | |parameter5description = Number of Black Apples | ||
|parameter6name = Items | |parameter6name = Scale Count | ||
| | |parameter6description = Number of Spectral Dragon Scales | ||
| | |parameter7name = Items | ||
| | |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>[[{{ | |table=<tr><td>[[Joe Candymaker]] ({{#if: {{{8|}}}|Wares|Consumables}}) {{PopupNote|Custom||Only available during the Night Revels event.}}</td><td>[[Night Revels Crypt]]</td><td>{{#if: {{{7|}}}|{{{7}}}|1}}</td><td style="White-space: nowrap">{{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>[[House Jorasco]]</td></tr> | ||
|#default=[[Joe Candymaker]]: Purchase {{#if: {{{ | |#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| | }}{{#ifeq: {{FULLPAGENAME}} |Template:NightRevelsPurchase||[[Category:Night Revels Items]]}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}} | ||
* Joe Candymaker: Purchase{{#if: {{{7|}}}| {{{7}}}}} using the {{#if: {{{8|}}}|Wares|Consumables}} option during Night Revels.}}</onlyinclude> |
Latest revision as of 15:58, 23 December 2024
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)|(Scale 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 |
Scale Count | Number of Spectral Dragon Scales |
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.