Template:VendorIngredientList

From DDO Compendium
Revision as of 20:55, 19 May 2022 by MNDeveloper (talk | contribs)

VendorIngredientList[edit]

Template for a consistent appearance of multiple ingredients for vendor sales and purchase lists.

Example Usage
{{VendorIngredientList|Silver Flame Trinket||Dark Scarab Powder|5|Thread of Fate|250}}{{#switch: |table=
1x Silver Flame Trinket
1
5x Dark Scarab Powder
5
250x Thread of Fate
250

|#default={{#if: Silver Flame Trinket** Green Gem Icon.png 1x Silver Flame Trinket {{#if: Dark Scarab Powder** Ingredient Scarab Icon.png 5x Dark Scarab Powder {{#if: Thread of Fate** Thread of Fate Icon.png 250x Thread of Fate {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]]

{{#if: ** 1x [[]]

Usage[edit]

Parameter Documentation
page nameThe Ingredient page, Repeat these 2 fields up to 20 times.
CountNumber of Ingredients required
Possible Values: Any Integer (Defaults to 1)

Template

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


{{#switch:

|table= |#default={{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]] {{#if: ** 1x [[]]