Difference between revisions of "Template:RaidRunePurchase"

From DDO Compendium
Line 61: Line 61:
| time ={{#dplvar:set|vendor|Sariyon Dran-dal|loc|The Marketplace|rune|Time Rune|cat|Time Rune Turn in Items|area|}}
| time ={{#dplvar:set|vendor|Sariyon Dran-dal|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|}}
Line 69: Line 69:
| #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>{{RenderLink|{{#dplvar:loc}}}}</td><td>1</td><td style="white-space:nowrap">{{VendorIngredientList|{{#dplvar:rune}}|{{{2}}}}}</td><td>{{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 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>

Revision as of 16:30, 28 February 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|Xorian|1250}}Niara Tonant, Purchase for Xorian Rune Icon.png 1,250x Xorian Rune
{{VendorPurchaseTable|{{RaidRunePurchase|Xorian|1250}}}}
Vendor Location Qty Price Area
Niara TonantThe Marketplace Bazaar1
1,250x Xorian Rune
1,250
The Marketplace

Usage[edit]

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

Parameter Documentation
Which RunesThis is the store that it is bought from
Possible Values:
  • Tempest
  • Xorian
  • Strahd
  • Codex1 (Alter of Fecundity)
  • Codex2 (Legendary Alter of Devastation)
  • Hut
  • Kor Kaza
  • Forge
  • Artificer
  • Blades
  • Vision
  • Time
  • Demigod
  • Hunter
  • Defiler
  • Vault
CostThis is the amount the item costs

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 [[]]