Difference between revisions of "Template:RavenloftPurchase"

From DDO Compendium
 
Line 30: Line 30:
|table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Blue Water Inn]]</td><td>1</td><td>{{VendorIngredientList|{{#dplvar:collectname}}|{{{2}}}}}</td><td>[[The Land of Barovia]]</td></tr>
|table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Blue Water Inn]]</td><td>1</td><td>{{VendorIngredientList|{{#dplvar:collectname}}|{{{2}}}}}</td><td>[[The Land of Barovia]]</td></tr>
|#default=[[{{#dplvar:vendorname}}]]: {{#if: {{{2|}}}|Purchase for {{formatnum:{{{2}}}}} [[{{#dplvar:collectname}}|{{#dplvar:collectname}}s]].|Free choice once per life.}} {{#if: {{#dplvar:bound}}|These versions are {{ItemBinding|btc}}.}}}}{{#ifeq: {{FULLPAGENAME}} |Template:RavenloftPurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
|#default=[[{{#dplvar:vendorname}}]]: {{#if: {{{2|}}}|Purchase for {{formatnum:{{{2}}}}} [[{{#dplvar:collectname}}|{{#dplvar:collectname}}s]].|Free choice once per life.}} {{#if: {{#dplvar:bound}}|These versions are {{ItemBinding|btc}}.}}}}{{#ifeq: {{FULLPAGENAME}} |Template:RavenloftPurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
* {{#dplvar:vendorname}}: {{#if: {{{2|}}}|Purchase for {{formatnum:{{{2}}}}} {{#dplvar:collectname}}s.|Free choice once per life.}} {{#if: {{#dplvar:bound}}|These versions are {{ItemBinding|btc}}.}}}}{{#dplvar:set|cat|}}{{#dplvar:set|vendorname|}}{{#dplvar:set|collectname|}}{{#dplvar:set|bound|}}</onlyinclude>
* {{#dplvar:vendorname}}: {{#if: {{{2|}}}|Purchase for {{formatnum:{{{2}}}}} {{#dplvar:collectname}}s.|Free choice once per life.}} {{#if: {{#dplvar:bound}}|These versions are {{ItemBinding|btc|True}}.}}}}{{#dplvar:set|cat|}}{{#dplvar:set|vendorname|}}{{#dplvar:set|collectname|}}{{#dplvar:set|bound|}}</onlyinclude>

Latest revision as of 17:38, 23 December 2024

RavenloftPurchase[edit]

This template is used on equipment to correctly format where that equipment is received from buying an item with ravenloft collectibles.

Example Usage
{{RavenloftPurchase|totem|60}}Osah Lukresh: Purchase for 60 Vistani Totems. These versions are Bound to Character.
{{RavenloftPurchase|talisman|80}}Raam Lukresh: Purchase for 80 Vistani Talismans. These versions are Bound to Character.
{{RavenloftPurchase|Ravenloft}}Tobar the Smith: Free choice once per life. These versions are Bound to Character.
{{RavenloftPurchase|talisman|80|True}}Raam Lukresh: Purchase for 80 Vistani Talismans.

Usage[edit]

{{RavenloftPurchase|(Type)|(Cost)|(BTA)}}

Parameter Documentation
TypeWhich collectible is used:
Possible Values:
  • Totem - using Vistani Totems
  • Talisman - using Vistani Talismans
  • Ravenloft - Free weapon once per life
  • Sentient - Free sentient jewel once per life
CostHow many collectibles are needed, only used for Totem and Talisman
BTAIs this one BTA instead of BTC

Template

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


[[]]: Free choice once per life. These versions are Bound to Character.