Difference between revisions of "Template:CollectablePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 3: | Line 3: | ||
|description = This template is used on equipment to correctly format where that equipment is received from buying from a collector using a collectable. | |description = This template is used on equipment to correctly format where that equipment is received from buying from a collector using a collectable. | ||
|category = DropLocation Templates | |category = DropLocation Templates | ||
|example1 | |example1 = <nowiki>{{CollectablePurchase|Threads|500}}</nowiki> | ||
|example1output = {{CollectablePurchase|Threads|500|* {{Ingredient|Treachery/Twilight's Cloak: Dexterity}}}} | |||
| | |||
|parameter1name = Which Collector | |parameter1name = Which Collector | ||
|parameter1description = This is the store that it is bought from | |parameter1description = This is the store that it is bought from | ||
|parameter1values= | |parameter1values= | ||
* Threads | * Threads | ||
* Underdark | * Underdark | ||
Line 44: | Line 41: | ||
|parameter3description = This is a parameter specific to the collector | |parameter3description = This is a parameter specific to the collector | ||
|parameter3values= | |parameter3values= | ||
* For Magma Forge - Armor or Weapon | * For Magma Forge - Armor or Weapon | ||
* For Night Revels - Wares or Consumables | * For Night Revels - Wares or Consumables | ||
Line 55: | Line 51: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| remnant | remnant upgrade |villagers | clerics | druids | pdk | wizards | elven relics | dragon relics | giant relics | crystal cove hat box | crystal cove gear | old crystal cove |totem | talisman |ravenloft= {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Uses Old Collectable Purchase Tempate]]}} | | remnant | remnant upgrade |villagers | clerics | druids | pdk | wizards | elven relics | dragon relics | giant relics | crystal cove hat box | crystal cove gear | old crystal cove |totem | talisman |ravenloft | scarab= {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Uses Old Collectable Purchase Tempate]]}} | ||
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | }}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
|table={{#switch: {{lc:{{{1}}}}} | |table={{#switch: {{lc:{{{1}}}}} | ||
| mimic = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mimic Hunt Items]]}}<tr><td>[[Glynereth]]</td><td>[[Hall of Heroes (Eberron)]]</td><td>1</td><td>{{VendorIngredientList|Mimic Token|{{{2}}}}}</td><td></td></tr> | | mimic = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mimic Hunt Items]]}}<tr><td>[[Glynereth]]</td><td>[[Hall of Heroes (Eberron)]]</td><td>1</td><td>{{VendorIngredientList|Mimic Token|{{{2}}}}}</td><td></td></tr> | ||
|night revels = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Night Revels Items]]}}<tr><td>[[Joe Candymaker]]</td><td>[[Night Revels Crypt]]</td><td>50</td><td>{{{2|}}}</td><td></td></tr> | |night revels = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Night Revels Items]]}}<tr><td>[[Joe Candymaker]]</td><td>[[Night Revels Crypt]]</td><td>50</td><td>{{{2|}}}</td><td></td></tr> | ||
Line 64: | Line 59: | ||
|#default={{#switch: {{lc:{{{1}}}}} | |#default={{#switch: {{lc:{{{1}}}}} | ||
| mimic = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mimic Hunt Items]]}}[[Glynereth]]: Purchase for {{Ingredient|Mimic Token|{{{2}}}}}. This is only available during the [[Mimic Hunt]]. | | mimic = {{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mimic Hunt Items]]}}[[Glynereth]]: Purchase for {{Ingredient|Mimic Token|{{{2}}}}}. This is only available during the [[Mimic Hunt]]. | ||
| threads ={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Threads of Fate Items]]}} Purchase by double-clicking on the Threads in your inventory. Cost: {{#if: {{{3|}}}| | | threads ={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Threads of Fate Items]]}} Purchase by double-clicking on the Threads in your inventory. Cost: {{#if: {{{3|}}}| | ||
* {{Ingredient|Thread of Fate|{{{2|}}}}} | * {{Ingredient|Thread of Fate|{{{2|}}}}} |
Revision as of 19:21, 29 March 2022
CollectablePurchase[edit]
This template is used on equipment to correctly format where that equipment is received from buying from a collector using a collectable.
Example Usage | |
{{CollectablePurchase|Threads|500}} | Purchase by double-clicking on the Threads in your inventory. Cost: |
Usage[edit]
{{CollectablePurchase|(Which Collector)|(Cost)|(Collector Option)|(Limited Time)}}
Parameter Documentation | |
Which Collector | This is the store that it is bought from Possible Values:
|
Cost | This is the number of collectables the item costs Possible Values:
|
Collector Option | This is a parameter specific to the collector Possible Values:
|
Limited Time | This is set if the item is only in the store for a limited time. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.