Difference between revisions of "Template:RaidRunePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{RaidRunePurchase|Xorian|1250}}</nowiki> | |example2 = <nowiki>{{RaidRunePurchase|Xorian|1250}}</nowiki> | ||
|example2output = {{RaidRunePurchase|Xorian|1250}} | |example2output = {{RaidRunePurchase|Xorian|1250}} | ||
|example3 = <nowiki>{{VendorPurchaseTable|{{RaidRunePurchase|Xorian|1250}}}}</nowiki> | |||
|example3output = {{VendorPurchaseTable|{{RaidRunePurchase|Xorian|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 24: | Line 26: | ||
* Demigod | * Demigod | ||
* Hunter | * Hunter | ||
* Defiler | |||
|parameter2name = Cost | |parameter2name = Cost | ||
|parameter2description = This is the amount the item costs | |parameter2description = This is the amount the item costs | ||
Line 29: | Line 32: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| tempest ={{# | | tempest ={{#dplvar:set|vendor|Dagobard Kell|loc|House Jorasco|rune|Tempest Rune|cat|Tempest Rune Turn in Items}} | ||
| xorian ={{# | |||
| strahd = {{# | | xorian ={{#dplvar:set|vendor|Niara Tonant|loc|The Marketplace Bazaar|rune|Xorian Rune|cat|Xorian Rune Turn in Items|area|The Marketplace}} | ||
| hut= {{# | |||
| codex1={{# | | 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}} | ||
| codex2={{# | |||
| kor kaza ={{# | | hut= {{#dplvar:set|vendor|Adrian Martikov|loc|Blue Water Inn|rune|Hut Rune|cat|Hut Rune Turn in Items|area|The Land of Barovia}} | ||
| forge ={{# | |||
| nemesis ={{# | | codex1={{#dplvar:set|vendor|Alter of Fecundity|loc||rune|Codex Rune|cat|Codex Rune Turn in Items|area|}} | ||
| artificer ={{# | |||
| | | codex2={{#dplvar:set|vendor|Legendary Altar of Devastation|loc||rune|Codex Rune|cat|Codex 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|}} | ||
}}</onlyinclude> | | 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|}} | ||
| artificer ={{#dplvar:set|vendor|Channa d'Cannith|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|}} | |||
| blades ={{#dplvar:set|vendor|Ceros d'Cannith|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}} | |||
| 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|}} | |||
| defiler ={{#dplvar:set|vendor|Melene|loc|Amrath|rune|Defiler Rune|cat|Defiler Rune Turn in Items|area|}} | |||
| #default={{#dplvar:set|vendor||loc||rune||cat|Invalid Rune Types|area|}} | |||
}}>>{{#dplvar:vendorformat}}<<{{#switch: {{lc:{{#dplvar:vendorformat}}}} | |||
|table=<tr><td>[[{{#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=[[{{#dplvar:vendor}}]], Purchase for {{Ingredient|{{#dplvar:rune}}|{{{2}}}}} | |||
}}{{#ifeq: {{FULLPAGENAME}} |Template:RaidRunePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|vendor||loc||rune||cat||area|}} | |||
</onlyinclude> |
Revision as of 20:12, 28 April 2022
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}}}} | >>table<<
|
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 [[]]