Difference between revisions of "Template:RenderIngredient"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|usesnamedparameters = no | |usesnamedparameters = no | ||
|example1 = <nowiki>{{RenderIngredient|Silver Flame Trinket}}</nowiki> | |example1 = <nowiki>{{RenderIngredient|Silver Flame Trinket}}</nowiki> | ||
|example1output = {{#dplvar:set|ingcount|5}}{{RenderIngredient|Silver Flame Trinket}} | |example1output = {{#dplvar:set|ingcount|5}} | ||
* oajdflasdf | |||
* alsdfj | |||
* {{RenderIngredient|Silver Flame Trinket}} | |||
|example2 = <nowiki>{{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}}</nowiki><br>Has no Icon in database | |example2 = <nowiki>{{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}}</nowiki><br>Has no Icon in database | ||
|example2output = {{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}} | |example2output = {{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}} |
Revision as of 13:28, 16 October 2021
RenderIngredient[edit]
Template for a consistent appearance of ingredients in recipes, used by the main templates.
Example Usage | |
{{RenderIngredient|Silver Flame Trinket}} | * oajdflasdf
|
{{RenderIngredient|Dark Scarab Powder|Ingredient Scarab}} Has no Icon in database | ![]() |
{{RenderIngredient|Lily Petal|Lily Petal (Collectable)|Lily Petal (Collectable)}} | 5x Lily Petal |
{{Ingredient2|Thread of Fate|250}} | Template:Ingredient2 |
Usage[edit]
Parameter Documentation | |
title | The Ingredient title |
Icon | Name of the icon, if not the same as the title |
page | The 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.
250x [[{{{1}}}]]