Difference between revisions of "Template:Infobox Enchantment/doc"

From Idlescape Wiki
Jump to navigation Jump to search
m (→‎Usage: using the current url)
(Update documentation to reflect new Module:Infobox_enchantment usage)
 
Line 1: Line 1:
====Usage====
+
{{Infobox Enchantment|Inferno|food-source=Farming}}
<pre>{{Infobox Enchantment
+
=Usage=
|title = Autofilled from pagename, only use this if custom name is needed
+
The template takes optional parameters:
|image = Autofilled from pagename, img URL e.g. https://play.idlescape.com/images/combat/equipment/bronze_med_helm_icon.png
+
* <code>[1], name, title</code> The name of the enchantment / buff to get data of. Defaults to the page name.
|desc = In game description
+
* <code>food-source</code> The sources of the cooking ingredient, seperated by commas.
|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
 
}}</pre>
 
  
====Copy pasta code:====
+
=Example=
 
+
==Input==
<pre>
+
<code><nowiki>{{Infobox Enchantment|Inferno|food-source=Farming}}</nowiki></code>
{{Infobox Enchantment
+
<br>The same output is achieved by <code><nowiki>{{Infobox Enchantment|food-source=Farming}}</nowiki></code> if called from the page [[Inferno]].
|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 =
 
}}
 
</pre>
 
  
 
<includeonly>[[Category:Template]]</includeonly>
 
<includeonly>[[Category:Template]]</includeonly>

Latest revision as of 20:03, 11 June 2025

Inferno
Inferno
Max Level20
DebuffNo
ProlongingYes
Related SkillsProduction
Smithing
Cooking
Scroll
Scroll of InfernoScroll of Inferno
Slot (Max)Boots (7)
Gloves (7)
Experience2,600
Level46
Cost600 SilverSilver
50 Earth RuneEarth Rune
50 Fire RuneFire Rune
50 Chaos RuneChaos Rune
1 ScrollScroll
Cooking Ingredient
PepperPepper
SourceFarming
Description

Gain a 4% chance per smithing/cooking action to complete another smithing/cooking action. Caps at 80% strength and 5 consecutive procs.

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.