Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Autofilled other images.)
m (food-img cannot autofill if food-name is a link.)
Line 79: Line 79:
 
<tr>
 
<tr>
 
     <th colspan="10">{{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}</th>
 
     <th colspan="10">{{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}</th>
     <td colspan="20">{{{food-name}}}</td>
+
     <td colspan="20">[[{{{food-name}}}]]</td>
 
</tr>
 
</tr>
 
{{#if: {{{food-source|}}}|
 
{{#if: {{{food-source|}}}|
Line 114: Line 114:
 
  |experience = Scrollcrafting experience
 
  |experience = Scrollcrafting experience
 
  |food-name = Ingredient name
 
  |food-name = Ingredient name
  |food-img = Autofilled from food-name, ingredient image URL
+
  |food-img = Ingredient image URL, can autofill if food-name is not a link
 
  |food-source = Source of ingredient
 
  |food-source = Source of ingredient
 
  |food-effect = Buff effect of the food
 
  |food-effect = Buff effect of the food
Line 128: Line 128:
 
|max-buff =  
 
|max-buff =  
 
|max-effect =  
 
|max-effect =  
 +
|scroll-name =
 
|scroll-img =  
 
|scroll-img =  
|scroll-name =
 
 
|scroll-slot =  
 
|scroll-slot =  
 
|scroll-source =  
 
|scroll-source =  
Line 137: Line 137:
 
|rune-type =  
 
|rune-type =  
 
|experience =  
 
|experience =  
 +
|food-name =
 
|food-img =  
 
|food-img =  
|food-name =
 
 
|food-source =  
 
|food-source =  
 
|food-effect =  
 
|food-effect =  

Revision as of 08:45, 27 January 2022

Infobox Enchantment
Infobox Enchantment


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
 |food-img = Ingredient image URL, can autofill if food-name is not a link
 |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 = 
}}