Difference between revisions of "Template:RaidRunePurchase"

From DDO Compendium
 
(18 intermediate revisions by the same user not shown)
Line 5: Line 5:
|example1 = <nowiki>{{RaidRunePurchase|Tempest|1250}}</nowiki>
|example1 = <nowiki>{{RaidRunePurchase|Tempest|1250}}</nowiki>
|example1output = {{RaidRunePurchase|Tempest|1250}}
|example1output = {{RaidRunePurchase|Tempest|1250}}
|example2 = <nowiki>{{RaidRunePurchase|Xorian|1250}}</nowiki>
|example2 = <nowiki>{{RaidRunePurchase|Vault|1250}}</nowiki>
|example2output = {{RaidRunePurchase|Xorian|1250}}
|example2output = {{RaidRunePurchase|Vault|1250}}
|example3 = <nowiki>{{VendorPurchaseTable|{{RaidRunePurchase|Xorian|1250}}}}</nowiki>
|example3 = <nowiki>{{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}}</nowiki>
|example3output = {{VendorPurchaseTable|{{RaidRunePurchase|Xorian|1250}}}}
|example3output = {{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}}
|parameter1name = Which Runes
|parameter1name = Which Runes
|parameter1description = This is the store that it is bought from
|parameter1description = This is the store that it is bought from
Line 14: Line 14:
* Tempest
* Tempest
* Xorian
* Xorian
* Strahd
* Strahd (Turn in)
* Strahd2 (Double Click)
* Codex1 (Alter of Fecundity)
* Codex1 (Alter of Fecundity)
* Codex2 (Legendary Alter of Devastation)
* Codex2 (Legendary Alter of Devastation)
Line 21: Line 22:
* Forge
* Forge
* Artificer
* Artificer
* Blades
* Blades (Turn in)
* Blades2 (Double Click)
* Vision
* Vision
* Time
* Time
Line 28: Line 30:
* Defiler
* Defiler
* Vault
* Vault
* Thunderpeak
* Deathwyrm
* Sands
* chrono
* Ceremony
|parameter2name = Cost
|parameter2name = Cost
|parameter2description = This is the amount the item costs
|parameter2description = This is the amount the item costs
|parameter3name = Count
|parameter3description = This is the number of items, the default is 1
}}
}}
</noinclude>
</noinclude>
Line 38: Line 47:


| strahd = {{#dplvar:set|vendor|Rudolph van Richten|loc|Blood on the Vine Tavern|rune|Strahd Rune|cat|Strahd Rune Turn in Items|area|The Land of Barovia}}
| strahd = {{#dplvar:set|vendor|Rudolph van Richten|loc|Blood on the Vine Tavern|rune|Strahd Rune|cat|Strahd Rune Turn in Items|area|The Land of Barovia}}
| strahd2 = {{#dplvar:set|vendor|self|loc|Blood on the Vine Tavern|rune|Strahd Rune|cat|Strahd Rune Turn in Items|area|The Land of Barovia}}


| hut= {{#dplvar:set|vendor|Adrian Martikov|loc|Blue Water Inn|rune|Hut Rune|cat|Hut Rune Turn in Items|area|The Land of Barovia}}
| hut= {{#dplvar:set|vendor|Adrian Martikov|loc|Blue Water Inn|rune|Hut Rune|cat|Hut Rune Turn in Items|area|The Land of Barovia}}
Line 47: Line 57:
| kor kaza ={{#dplvar:set|vendor|Dalwyneth|loc|The Marketplace|rune|Kor Kaza Rune|cat|Kor Kaza Rune Turn in Items|area|}}
| kor kaza ={{#dplvar:set|vendor|Dalwyneth|loc|The Marketplace|rune|Kor Kaza Rune|cat|Kor Kaza Rune Turn in Items|area|}}


| forge ={{#dplvar:set|vendor|Grem Alcorin|loc|Alcorin's Forge - Staging Area|rune|Forge Rune|cat|Forge Rune Turn in Items|area|}}
| forge ={{#dplvar:set|vendor|self|loc|Alcorin's Forge - Staging Area|rune|Forge Rune|cat|Forge Rune Turn in Items|area|}}


| nemesis ={{#dplvar:set|vendor|{{PageLink|Lieutenant Zaira Dane|Lieutenant Zaira Dane (NPC)}}|loc|Alcorin's Forge - Staging Area|rune|Nemesis Rune|cat|Nemesis Rune Turn in Items|area|}}
| nemesis ={{#dplvar:set|vendor|self|loc|Alcorin's Forge - Staging Area|rune|Nemesis Rune|cat|Nemesis Rune Turn in Items|area|}}


| artificer ={{#dplvar:set|vendor|Channa d'Cannith|loc|House Cannith Enclave|rune|Artificer Rune|cat|Artficer Rune Turn in Items|area|}}
| artificer ={{#dplvar:set|vendor|self|loc|House Cannith Enclave|rune|Artificer Rune|cat|Artficer Rune Turn in Items|area|}}


| hunter ={{#dplvar:set|vendor|Maes Toben|loc|Court of the Wild Hunt|rune|Hunter Rune|cat|Hunter Rune Turn in Items|area|}}
| hunter ={{#dplvar:set|vendor|Maes Toben|loc|Court of the Wild Hunt|rune|Hunter Rune|cat|Hunter Rune Turn in Items|area|}}


| blades ={{#dplvar:set|vendor|Ceros d'Cannith|loc|House Cannith Enclave|rune|Blades Rune|cat|Blades Rune Turn in Items|area|}}
| blades ={{#dplvar:set|vendor|Kenneth d'Cannith|loc|House Cannith Enclave|rune|Blades Rune|cat|Blades Rune Turn in Items|area|}}
| blades2 ={{#dplvar:set|vendor|self|loc|House Cannith Enclave|rune|Blades Rune|cat|Blades Rune Turn in Items|area|}}


| vision ={{#dplvar:set|vendor|Delvarrion Iravati|loc|The Marketplace Bazaar|rune|Vision Rune|cat|Vision Rune Turn in Items|area|The Marketplace}}
| vision ={{#dplvar:set|vendor|self|loc|The Marketplace Bazaar|rune|Vision Rune|cat|Vision Rune Turn in Items|area|The Marketplace}}


| time ={{#dplvar:set|vendor|Sariyon Dran-dal|loc|The Marketplace|rune|Time Rune|cat|Time Rune Turn in Items|area|}}
| time ={{#dplvar:set|vendor|self|loc|The Marketplace|rune|Time Rune|cat|Time Rune Turn in Items|area|}}


| demigod ={{#dplvar:set|vendor|Hermia|loc|Wynwood Hall|rune|Demigod Rune|cat|Demigod Rune Turn in Items|area|}}
| demigod ={{#dplvar:set|vendor|self|loc||rune|Demigod Rune|cat|Demigod Rune Turn in Items|area|}}


| defiler ={{#dplvar:set|vendor|Melene|loc|Amrath|rune|Defiler Rune|cat|Defiler Rune Turn in Items|area|}}
| defiler ={{#dplvar:set|vendor|Melene|loc|Amrath|rune|Defiler Rune|cat|Defiler Rune Turn in Items|area|}}


| vault ={{#dplvar:set|vendor|Vault Rune|loc||rune|Vault Rune|cat|Vault Rune Turn in Items|area|}}
| vault ={{#dplvar:set|vendor|self|loc||rune|Vault Rune|cat|Vault Rune Turn in Items|area|}}
 
| thunderpeak ={{#dplvar:set|vendor|self|loc||rune|Thunderpeaks Rune|cat|Thunderpeaks Rune Turn in Items|area|}}
 
| deathwyrm ={{#dplvar:set|vendor|self|loc||rune|Deathwyrm Rune|cat|Deathwyrm Rune Turn in Items|area|}}
 
| sands ={{#dplvar:set|vendor|self|loc||rune|Sands Rune|cat|Sands Rune Turn in Items|area|}}
 
| dread ={{#dplvar:set|vendor|self|loc||rune|Dread Rune|cat|Dread Rune Turn in Items|area|}}
 
| ceremony ={{#dplvar:set|vendor|self|loc||rune|Ceremony Rune|cat|Ceremony Rune Turn in Items|area|}}
 
| chrono ={{#dplvar:set|vendor|self|loc||rune|Chronoscope Rune|cat|Chronoscope Rune Turn in Items|area|}}


| #default={{#dplvar:set|vendor||loc||rune||cat|Invalid Rune Types|area|}}
| #default={{#dplvar:set|vendor||loc||rune||cat|Invalid Rune Types|area|}}
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>{{RenderLink|{{#dplvar:vendor}}}}</td><td>{{RenderLink|{{#dplvar:loc}}}}</td><td>1</td><td style="white-space:nowrap">{{VendorIngredientList|{{#dplvar:rune}}|{{{2}}}}}</td><td>{{RenderLink|{{#dplvar:area}}}}</td></tr>
|table=<tr><td>{{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{RenderLink|{{#dplvar:vendor}}}}}}</td><td>{{#if: {{#dplvar:loc|}}|{{RenderLink|{{#dplvar:loc}}}}}}</td><td>{{#if: {{{3|}}}|{{{3}}}|1}}</td><td style="white-space:nowrap">{{VendorIngredientList|{{#dplvar:rune}}|{{{2}}}}}</td><td>{{#if: {{#dplvar:area|}}|{{RenderLink|{{#dplvar:area}}}}}}</td></tr>
|#default={{RenderLink|{{#dplvar:vendor}}}}, Purchase for {{Ingredient|{{#dplvar:rune}}|{{{2}}}}}
|#default={{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{RenderLink|{{#dplvar:vendor}}}}}}, Purchase {{#if: {{{3|}}}|{{{3}}}}} for {{Ingredient|{{#dplvar:rune}}|{{{2}}}}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:RaidRunePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|vendor||loc||rune||cat||area|}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:RaidRunePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|vendor||loc||rune||cat||area|}}
</onlyinclude>
</onlyinclude>

Latest revision as of 02:00, 20 September 2023

RaidRunePurchase[edit]

This template is used on equipment to correctly format where that equipment is received from turning in Raid Runes

Example Usage
{{RaidRunePurchase|Tempest|1250}}Dagobard Kell, Purchase for Tempest Rune Icon.png 1,250x Tempest Rune
{{RaidRunePurchase|Vault|1250}}Double-Click, Purchase for Dragontouched Rune Icon.png 1,250x Vault Rune
{{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}}
Vendor Location Qty Price Area
Double-Click1
1,250x Vault Rune
1,250

Usage[edit]

{{RaidRunePurchase|(Which Runes)|(Cost)|(Count)}}

Parameter Documentation
Which RunesThis is the store that it is bought from
Possible Values:
  • Tempest
  • Xorian
  • Strahd (Turn in)
  • Strahd2 (Double Click)
  • Codex1 (Alter of Fecundity)
  • Codex2 (Legendary Alter of Devastation)
  • Hut
  • Kor Kaza
  • Forge
  • Artificer
  • Blades (Turn in)
  • Blades2 (Double Click)
  • Vision
  • Time
  • Demigod
  • Hunter
  • Defiler
  • Vault
  • Thunderpeak
  • Deathwyrm
  • Sands
  • chrono
  • Ceremony
CostThis is the amount the item costs
CountThis is the number of items, the default is 1

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


[[]], Purchase for {{{2}}}x [[]]