Difference between revisions of "Template:Ingredient"
From DDO Compendium
m |
m |
||
Line 29: | Line 29: | ||
|parameter4values = | |parameter4values = | ||
}}</noinclude><onlyinclude>{{#if: {{{2|}}} | {{{2|}}} | 1 }} {{#switch: {{lc:{{{3|}}}}} | }}</noinclude><onlyinclude>{{#if: {{{2|}}} | {{{2|}}} | 1 }} {{#switch: {{lc:{{{3|}}}}} | ||
| | | none = | ||
| | | force = {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | ||
| {{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }}}} [[{{{1|}}}]]</onlyinclude> | | {{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }}}} [[{{{1|}}}]]</onlyinclude> |
Revision as of 19:57, 4 June 2019
Ingredient[edit]
Template for a consistent appearance of ingredients in recipes.
Example Usage | |
{{Ingredient|Silver Flame Trinket}} | 1 Silver Flame Trinket |
{{Ingredient|Dark Scarab Powder|5}} Has no Icon in database | 5 Dark Scarab Powder |
{{Ingredient|Dark Scarab Powder|5|Ingredient Scarab}} | 5 Dark Scarab Powder |
{{Ingredient|Silver Flame Trinket|5|None}} | 5 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.
1 [[]]