Difference between revisions of "Template:RaidRunePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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| | | 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 1,250x Tempest Rune | ||||||||||
{{RaidRunePurchase|Xorian|1250}} | Niara Tonant, Purchase for 1,250x Xorian Rune | ||||||||||
{{VendorPurchaseTable|{{RaidRunePurchase|Xorian|1250}}}} |
|
Usage[edit]
{{RaidRunePurchase|(Which Runes)|(Cost)}}
Parameter Documentation | |
Which Runes | This is the store that it is bought from Possible Values:
|
Cost | This 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 [[]]