Difference between revisions of "Template:Ingredient"
From DDO Compendium
m |
m (moved number to after and within the link) |
||
Line 28: | Line 28: | ||
|parameter4description = | |parameter4description = | ||
|parameter4values = | |parameter4values = | ||
}}</noinclude><onlyinclude> | }}</noinclude><onlyinclude>{{#switch: {{lc:{{{3|}}}}} | ||
| none = | | none = | ||
| force = {{IconImage|{{{1}}}|{{{1|}}}|{{{1|}}}}} | | force = {{IconImage|{{{1}}}|{{{1|}}}|{{{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|}}}}} | }}}} {{#if: {{{2|}}} | {{{2|}}} | 1 }}x [[{{{1|}}}]]</onlyinclude> |
Revision as of 20:08, 4 June 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 [[]]