Template:RenderIngredient

From DDO Compendium
Revision as of 12:09, 18 October 2021 by MNDeveloper (talk | contribs)

RenderIngredient[edit]

Template for a consistent appearance of ingredients in recipes, used by the main templates.

Example Usage
{{RenderIngredient|Silver Flame Trinket}}* oajdflasdf
  • alsdfj
5x Silver Flame Trinket
{{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}}
Has no Icon in database
Ingredient Scarab Icon.png 5x Dark Scarab Powder
{{RenderIngredient|Lily Petal|Lily Petal (Collectable)|Lily Petal (Collectable)}}5x Lily Petal
{{Ingredient|Thread of Fate|250}}250xThread of Fate

Usage[edit]

Parameter Documentation
titleThe Ingredient title
IconName of the icon, if not the same as the title
pageThe page name, if not the same as the title.

Template

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


x[[File:{{{1}}}_Icon.png|link={{{1}}}||36px|x36px|{{{1}}}]]