Difference between revisions of "Template:Ingredient"
From DDO Compendium
m |
MNDeveloper (talk | contribs) |
||
Line 31: | Line 31: | ||
| none = | | none = | ||
| force = {{IconImage|{{{1}}}|{{{1|}}}|{{{1|}}}}} | | force = {{IconImage|{{{1}}}|{{{1|}}}|{{{1|}}}}} | ||
| {{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }}}} {{#if: {{{2|}}} | {{{2|}}} | 1 }}x [[{{{1|}}}]]</onlyinclude> | | #default={{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }}}} {{#if: {{{2|}}} | {{{2|}}} | 1 }}x [[{{{1|}}}]]</onlyinclude> |
Revision as of 13:59, 25 July 2019
Ingredient[edit]
Template for a consistent appearance of ingredients in recipes.
Example Usage | |
{{Ingredient|Silver Flame Trinket}} | 1x Silver Flame Trinket |
{{Ingredient|Dark Scarab Powder|5}} Has no Icon in database | 5x Dark Scarab Powder |
{{Ingredient|Dark Scarab Powder|5|Ingredient Scarab}} | 5x Dark Scarab Powder |
{{Ingredient|Silver Flame Trinket|5|None}} | 5x Silver Flame Trinket |
Usage[edit]
Parameter Documentation | |
Ingredient Name | |
Number of Ingredients required | Possible Values: Any Integer (Defaults to 1) |
Icon (If any) | Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
1x [[]]