Difference between revisions of "Template:RaidRunePurchase"

From DDO Compendium
Line 31: Line 31:
|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 72: Line 74:
| #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>{{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{RenderLink|{{#dplvar:vendor}}}}}}</td><td>{{#if: {{#dplvar:loc|}}|{{RenderLink|{{#dplvar:loc}}}}}}</td><td>1</td><td style="white-space:nowrap">{{VendorIngredientList|{{#dplvar:rune}}|{{{2}}}}}</td><td>{{#if: {{#dplvar:area|}}|{{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={{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{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>

Revision as of 17:14, 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|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
  • Codex1 (Alter of Fecundity)
  • Codex2 (Legendary Alter of Devastation)
  • Hut
  • Kor Kaza
  • Forge
  • Artificer
  • Blades
  • Vision
  • Time
  • Demigod
  • Hunter
  • Defiler
  • Vault
  • Thunderpeak
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 [[]]