Difference between revisions of "Template:Ingredient"

From DDO Compendium
Line 17: Line 17:
|parameter2description = Number of Ingredients required
|parameter2description = Number of Ingredients required
|parameter2values = Any Integer (Defaults to 1)
|parameter2values = Any Integer (Defaults to 1)
}}</noinclude><onlyinclude>{{#ifexist: {{{1}}}|{{#dplvar:set|rendertype|ingredient|ingcount|{{{2|1}}}}}{{:{{{1}}}}}|{{{2|1}}}x [[{{{1}}}]]}}</onlyinclude>
}}</noinclude><onlyinclude>{{#ifexist: {{{1}}}|{{#dplvar:set|rendertype|ingredient|ingcount|{{{2|1}}}}}{{:{{{1}}}}}|{{{2|1}}}x [[{{{1}}}]]}}{{#if: {{{3|}}}{{{4|}}}|[[Category: Pages with old Ingredient Template]]}}</onlyinclude>

Revision as of 00:39, 17 October 2021

Ingredient[edit]

Template for a consistent appearance of ingredients in recipes.

Example Usage
{{Ingredient|Silver Flame Trinket}}Green Gem Icon.png 1x Silver Flame Trinket
{{Ingredient|Dark Scarab Powder|5}}
Has no Icon in database
Ingredient Scarab Icon.png 5x Dark Scarab Powder
{{Ingredient|Lily Petal (Collectable)|5}Lily Petal (Collectable) Icon.png 5x Lily Petal
{{Ingredient|Verdant Swamp Pearl|3}}Verdant Swamp Pearl Icon.png 3x Verdant Swamp Pearl

Usage[edit]

Parameter Documentation
page nameThe Ingredient page
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.


1x [[{{{1}}}]]