Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 27: Line 27:
 
|  data28 = {{{experience|}}}
 
|  data28 = {{{experience|}}}
 
| header40 = Cooking Ingredient
 
| header40 = Cooking Ingredient
label21 = {{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}
+
label41 = {{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}
 
|  data41 = {{{food-name|}}}
 
|  data41 = {{{food-name|}}}
 
|  label42 = Source
 
|  label42 = Source

Revision as of 08:02, 13 February 2022

Infobox Enchantment
Infobox Enchantment
Scroll
SlotTemplate:Scroll-slot}
Cooking Ingredient
SourceFarming

}}

Usage

The template takes optional parameters:

  • [1], name, title The name of the enchantment / buff to get data of. Defaults to the page name.
  • food-source The sources of the cooking ingredient, seperated by commas.

Example

Input

{{Infobox Enchantment|Inferno|food-source=Farming}}
The same output is achieved by {{Infobox Enchantment|food-source=Farming}} if called from the page Inferno.