Difference between revisions of "Template:Ingredient"

From DDO Compendium
(Created Template)
 
m
Line 27: Line 27:
|parameter4description =  
|parameter4description =  
|parameter4values =  
|parameter4values =  
}}</noinclude><onlyinclude>
}}</noinclude><onlyinclude>{{#if: {{{2|}}} | {{{2|}}} | 1 }} {{#ifeq: {{{3|}}} | None | | {{#ifexist: {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }}}} [[{{{1|}}}]]</onlyinclude>
{{#if: {{{2|}}} | {{{2|}}} | 1 }}x {{#ifeq: {{{3|}}} | None | | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}}}} [[{{{1|}}}]]
</onlyinclude>

Revision as of 13:16, 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|Silver Flame Trinket|5}}5 Silver Flame Trinket
{{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:
  • None (No icon)
  • <Icon Name> (Redact .png)
  • Blank (defaults to using a standard icon naming format)

Template

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


1 [[]]