Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m
(removing max buff and % since they will be outdated until it is automated)
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
|  label1  = Description
 
|  label1  = Description
 
|  data1  = {{{desc|}}}
 
|  data1  = {{{desc|}}}
|  label2  = Max Buff (+Food)
 
|  data2  = {{{max-buff|}}}
 
|  label3  = Max Effect (+Food)
 
|  data3  = {{{max-effect|}}}
 
 
| header20 = Scroll
 
| header20 = Scroll
 
|  label21 = {{#if: {{{scroll-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">|{{img|{{{scroll-name}}}|42}}}}
 
|  label21 = {{#if: {{{scroll-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">|{{img|{{{scroll-name}}}|42}}}}
 
|  data21 = {{{scroll-name|}}}
 
|  data21 = {{{scroll-name|}}}
 
|  label22 = Slot
 
|  label22 = Slot
|  data22 = {{scroll-slot|}}}
+
|  data22 = {{{scroll-slot|}}}
 
|  label23 = Source
 
|  label23 = Source
 
|  data23 = {{{scroll-source|}}}
 
|  data23 = {{{scroll-source|}}}
Line 27: Line 23:
 
|  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
Line 33: Line 29:
 
|  label43 = Effect
 
|  label43 = Effect
 
|  data43 = {{{food-effect|}}}
 
|  data43 = {{{food-effect|}}}
}}
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:48, 17 November 2023

Usage

{{Infobox Enchantment
 |title = Autofilled from pagename, only use this if custom name is needed
 |image = Autofilled from pagename, img URL e.g. https://idlescape.com/images/combat/equipment/bronze_med_helm_icon.png
 |desc = In game description
 |max-buff = Maximum possible buff (+Food)
 |max-effect = Maximum possible effect (+Food)
 |scroll-name = Scroll name
 |scroll-img = Autofilled from scroll-name, Scroll image URL
 |scroll-slot = Scroll equipment type
 |scroll-source = Source of scroll
 |scroll-level = Enchanting level required to craft scroll
 |silver = Number of silver for scroll
 |rune-amount = Number of runes for scroll
 |rune-type = Type of runes
 |experience = Scrollcrafting experience
 |food-name = Ingredient name, will automatically create a link eg. Salt -> [[Salt]]
 |food-img = Autofilled from food-name, ingredient image URL
 |food-source = Source of ingredient
 |food-effect = Buff effect of the food
 }}

Copy pasta code:

{{Infobox Enchantment
|title = 
|image = 
|desc = 
|max-buff = 
|max-effect = 
|scroll-name = 
|scroll-img = 
|scroll-slot = 
|scroll-source = 
|scroll-level = 
|silver = 
|rune-amount = 
|rune-type = 
|experience = 
|food-name = 
|food-img = 
|food-source = 
|food-effect = 
}}