Difference between revisions of "Template:Infobox Enchantment"
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 | ||
| − | | | + | | 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 | ||
| − | | | + | | 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 | |
| Scroll | |
|---|---|
| Slot | Template:Scroll-slot} |
| Cooking Ingredient | |
| Source | Farming |
}}
Usage
The template takes optional parameters:
[1], name, titleThe name of the enchantment / buff to get data of. Defaults to the page name.food-sourceThe 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.