Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Used infobox template)
m
Line 10: Line 10:
 
|  data3  = {{{max-effect|}}}
 
|  data3  = {{{max-effect|}}}
 
| header20 = Scroll
 
| header20 = Scroll
|   data21 = {{#if: {{{scroll-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">{{{scroll-name}}}|{{img|{{{scroll-name}}}|42|word=1}}}}
+
| label21 = {{#if: {{{scroll-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">|{{img|{{{scroll-name}}}|42}}}}
 +
|   data21 = {{{scroll-name|}}}
 
|  label22 = Slot
 
|  label22 = Slot
 
|  data22 = {{scroll-slot|}}}
 
|  data22 = {{scroll-slot|}}}
Line 26: Line 27:
 
|  data28 = {{{experience|}}}
 
|  data28 = {{{experience|}}}
 
| header40 = Cooking Ingredient
 
| header40 = Cooking Ingredient
|   data41 = {{#if: {{{food-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">{{{food-name}}}|{{img|{{{food-name}}}|42|word=1}}}}
+
| label21 = {{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}
 +
|   data41 = {{{food-name|}}}
 
|  label42 = Source
 
|  label42 = Source
 
|  data42 = {{{food-source|}}}
 
|  data42 = {{{food-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.