Difference between revisions of "Template:CollectablePurchase"

From DDO Compendium
Line 71: Line 71:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table={{#switch: {{lc:{{{1}}}}}
| remnant={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}
<tr><td>{{#if: {{{4|}}}|[[Champion Hunter Week]]|[[Champion Hunter]]}}</td><td>[[Hall of Heroes]]</td><td>1</td><td>{{formatnum:{{{2}}}}} Mysterious Remnants</td><td></td></tr>
| remnant upgrade={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}
<tr><td>{{#if: {{{4|}}}|[[Champion Hunter Week]]|[[Champion Hunter]]}} (Upgrade)</td><td>[[Hall of Heroes]]</td><td>1</td><td>{{formatnum:{{{2}}}}} Mysterious Remnants</td><td></td></tr>
|#default={{#switch: {{lc:{{{1}}}}}
| remnant={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}[[Champion Hunter]]: Purchase for {{formatnum:{{{2}}}}} Mysterious Remnants{{#if: {{{4|}}}|. This is only available during [[Champion Hunter Week]].}}
| remnant={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}[[Champion Hunter]]: Purchase for {{formatnum:{{{2}}}}} Mysterious Remnants{{#if: {{{4|}}}|. This is only available during [[Champion Hunter Week]].}}
| remnant upgrade={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}[[Champion Hunter]]: Upgrade from [[{{{3}}}]] for {{formatnum:{{{2}}}}} Mysterious Remnants{{#if: {{{4|}}}|. This is only available during [[Champion Hunter Week]].}}
| remnant upgrade={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Mysterious Remnant Items]]}}[[Champion Hunter]]: Upgrade from [[{{{3}}}]] for {{formatnum:{{{2}}}}} Mysterious Remnants{{#if: {{{4|}}}|. This is only available during [[Champion Hunter Week]].}}
Line 133: Line 139:
|cadence={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Items Crafted in the Cauldron of Cadence]]}}Trade in using the Cauldron of Cadence found in the Hut from Beyond in The Harbor. {{#if: {{{2|}}}| Cost:{{WrapMultiLine|{{{2}}}}}}}
|cadence={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:Items Crafted in the Cauldron of Cadence]]}}Trade in using the Cauldron of Cadence found in the Hut from Beyond in The Harbor. {{#if: {{{2|}}}| Cost:{{WrapMultiLine|{{{2}}}}}}}
| snowpeak ={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:The Snowpeaks Festival Items]]}}Purchase from [[Flurry]] in the [[Hall of Heroes (Eberron)|Hall of Heroes]] during [[The Snowpeaks Festival]] event. {{#if: {{{2|}}}| Cost:{{WrapMultiLine|{{{2}}}}}}}
| snowpeak ={{#ifeq: {{FULLPAGENAME}} |Template:CollectablePurchase||[[Category:The Snowpeaks Festival Items]]}}Purchase from [[Flurry]] in the [[Hall of Heroes (Eberron)|Hall of Heroes]] during [[The Snowpeaks Festival]] event. {{#if: {{{2|}}}| Cost:{{WrapMultiLine|{{{2}}}}}}}
}}
}}
}}
</onlyinclude>
</onlyinclude>

Revision as of 16:30, 27 January 2021

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|Remnant|10000||True}}{{#switch: |table=
Champion Hunter WeekHall of Heroes110,000 Mysterious Remnants
{{CollectablePurchase|Scarab||Dark}}{{#switch: |table=Squire Rale: Purchase for Dark Scarab Powder

Usage[edit]

{{CollectablePurchase|(Which Collector)|(Cost)|(Collector Option)|(Limited Time)}}

Parameter Documentation
Which CollectorThis is the store that it is bought from
Possible Values:
  • Remnant
  • Remnant Upgrade
  • Totem
  • Talisman
  • Villagers
  • Clerics
  • Druids
  • PDK
  • Wizards
  • Scarab - Requires collectable
  • Threads
  • Underdark
  • Adamantine Ore
  • Elven Relics
  • Giant Relics
  • Dragon Relics
  • Anniversary
  • Blue Dragon Scales
  • White Dragon Scales
  • Black Dragon Scales
  • Dragontouched
  • Draconic Runes
  • Outsider
  • Shred of Tapestry
  • Magma Forge
  • Night Revels
  • Ingot - Borderlands
  • Quaal - Borderlands Mounts
  • Behn
  • Crystal Cove Hat Box
  • Crystal Cove Gear
  • Old Crystal Cove
  • Ferrocrystal
  • Legendary Ferrocrystal
  • Cadence
  • Snowpeak
CostThis is the number of collectables the item costs
Possible Values:
Collector OptionThis is a parameter specific to the collector
Possible Values:
  • For Remnant Upgrade - Item it was upgrade from
  • For Scarab - Which scarab it is
  • For Elven/Giant/Dragon - Ancient or Restored
  • For Magma Forge - Armor or Weapon
  • For Night Revels - Wares or Consumables
  • Ingot - Which Ingot it is (Silver, Arcane, Ethereal, Epic Silver, Epic Arcane, Epic Ethereal)
  • Quaal - Mount or Upgrade
  • Behn - Which Gem
Limited TimeThis 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.


{{#switch: |table=