Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Testing)
(Update use the Module:Infobox_enchantment)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="infobox">
+
<noinclude>{{Template:Infobox Enchantment/doc}}</noinclude><includeonly>{{#invoke:Infobox enchantment|enchantment}}</includeonly>
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
 
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="130"></div>
 
<table style="padding: 1em; margin: auto;">
 
{{#if: {{{desc|}}}|
 
<tr>
 
    <th colspan="10">Description</th>
 
    <td colspan="20">{{{desc}}}</td>
 
</tr>
 
|}}
 
{{#if: {{{max-buff|}}}|
 
<tr>
 
    <th colspan="10">Maximum Buff</th>
 
    <td colspan="20">{{{max-buff}}}</td>
 
</tr>
 
|}}
 
{{#if: {{{max-effect|}}}|
 
<tr>
 
    <th colspan="10">Maximum Effect</th>
 
    <td colspan="20">{{{max-effect}}}</td>
 
</tr>
 
|}}
 
{{#if: {{{shrine|}}}|
 
<tr>
 
    <th colspan="10">Shrine Buff</th>
 
    <td colspan="20">{{{shrine}}}</td>
 
</tr>
 
|}}
 
</table>
 
{{#if: {{{scroll-img|{{{scroll-name|}}}}}}|
 
<div class="infobox-title">Scroll</div>
 
<tr>
 
    <th colspan="10"><img src="{{{scroll-img}}}" height="auto" width="32"></th>
 
    <td colspan="20">{{{scroll-name}}}</td>
 
</tr>
 
{{#if: {{{scroll-slot|}}}|
 
<tr>
 
<th colspan="10">Slot</th>
 
<td colspan="20">{{{scroll-slot}}}</td>
 
</tr>
 
|}}
 
{{#if: {{{scroll-source|}}}|
 
<tr>
 
<th colspan="10">Source</th>
 
<td colspan="20">{{{scroll-source}}}</td>
 
</tr>
 
|}}
 
|}}
 
{{#if: {{{food-img|{{{food-name|}}}}}}|
 
<div class="infobox-title">Scroll</div>
 
<tr>
 
    <th colspan="10"><img src="{{{food-img}}}" height="auto" width="32"></th>
 
    <td colspan="20">{{{food-name}}}</td>
 
</tr>
 
{{#if: {{{food-source|}}}|
 
<tr>
 
<th colspan="10">Source</th>
 
<td colspan="20">{{{food-source}}}</td>
 
</tr>
 
|}}
 
|}}
 
</div>
 
<noinclude>
 
====Usage====
 
<pre>{{Infobox Equipment
 
|title = Automatic pagename, only use this if custom name is needed
 
|image = Img URL e.g. https://idlescape.com/images/combat/equipment/bronze_med_helm_icon.png
 
|desc = In game description
 
|max-buff = Maximum possible buff
 
|max-effect = Maximum possible effect
 
|shrine-buff = Past highest shrine buff
 
|scroll-image = Scroll image URL
 
|scroll-name = Scroll name
 
|scroll-slot = Scroll equipment type
 
|scroll-source = Source of scroll
 
|food-image = Ingredient image URL
 
|food-name = Ingredient name
 
|food-source = Source of ingredient
 
}}</pre>
 
 
 
====Copy pasta code:====
 
 
 
<pre>
 
{{Infobox Equipment
 
|title =
 
|image =
 
|desc =
 
|max-buff =
 
|max-effect =
 
|shrine-buff =
 
|scroll-image =
 
|scroll-name =
 
|scroll-slot =
 
|scroll-source =
 
|food-image =
 
|food-name =
 
|food-source =
 
}}
 
</pre>
 
 
 
</noinclude>
 

Latest revision as of 19:08, 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.