Difference between revisions of "Template:VendorIngredientList"

From DDO Compendium
(Undo revision 125176 by MNDeveloper (talk))
Tag: Undo
Line 8: Line 8:
|parameter1name = Ingredient
|parameter1name = Ingredient
|parameter1description = Use the ingredient template, repeat up to 20 times
|parameter1description = Use the ingredient template, repeat up to 20 times
}}</noinclude><onlyinclude>{{#dplvar:set|ingredientformat|icononly}}{{{1|}}}{{#if: {{{2|}}}|{{{2}}}}}{{#if: {{{3|}}}|{{{3}}}}}{{#if: {{{4|}}}|{{{4}}}}}{{#if: {{{5|}}}|{{{5}}}}}{{#if: {{{6|}}}|{{{6}}}}}{{#if: {{{7|}}}|{{{7}}}}}{{#if: {{{8|}}}|{{{8}}}}}{{#if: {{{9|}}}|{{{9}}}}}{{#if: {{{10|}}}|{{{10}}}}}{{#if: {{{11|}}}|{{{11}}}}}{{#if: {{{12|}}}|{{{12}}}}}{{#if: {{{13|}}}|{{{13}}}}}{{#if: {{{14|}}}|{{{14}}}}}{{#if: {{{15|}}}|{{{15}}}}}{{#if: {{{16|}}}|{{{16}}}}}{{#if: {{{17|}}}|{{{17}}}}}{{#if: {{{18|}}}|{{{18}}}}}{{#if: {{{19|}}}|{{{19}}}}}{{#if: {{{20|}}}|{{{20}}}}}</onlyinclude>
}}</noinclude><onlyinclude>{{{1|}}}{{#if: {{{2|}}}|<br>{{{2}}}}}{{#if: {{{3|}}}|<br>{{{3}}}}}{{#if: {{{4|}}}|<br>{{{4}}}}}{{#if: {{{5|}}}|<br>{{{5}}}}}{{#if: {{{6|}}}|<br>{{{6}}}}}{{#if: {{{7|}}}|<br>{{{7}}}}}{{#if: {{{8|}}}|<br>{{{8}}}}}{{#if: {{{9|}}}|<br>{{{9}}}}}{{#if: {{{10|}}}|<br>{{{10}}}}}{{#if: {{{11|}}}|<br>{{{11}}}}}{{#if: {{{12|}}}|<br>{{{12}}}}}{{#if: {{{13|}}}|<br>{{{13}}}}}{{#if: {{{14|}}}|<br>{{{14}}}}}{{#if: {{{15|}}}|<br>{{{15}}}}}{{#if: {{{16|}}}|<br>{{{16}}}}}{{#if: {{{17|}}}|<br>{{{17}}}}}{{#if: {{{18|}}}|<br>{{{18}}}}}{{#if: {{{19|}}}|<br>{{{19}}}}}{{#if: {{{20|}}}|<br>{{{20}}}}}</onlyinclude>

Revision as of 20:51, 15 October 2021

VendorIngredientList[edit]

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

Example Usage
{{VendorIngredientList|{{Ingredient|Silver Flame Trinket}}|{{Ingredient|Dark Scarab Powder|5}}|{{Ingredient|Threads of Fate|250||Thread of Fate}}}}Green Gem Icon.png 1x Silver Flame Trinket
Ingredient Scarab Icon.png 5x Dark Scarab Powder
250x Threads of Fate

Usage[edit]

Parameter Documentation
IngredientUse the ingredient template, repeat up to 20 times

Template

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