Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Testing)
m (Testing)
Line 11: Line 11:
 
{{#if: {{{max-buff|}}}|
 
{{#if: {{{max-buff|}}}|
 
<tr>
 
<tr>
     <th colspan="10">Maximum Buff</th>
+
     <th colspan="10">Max Buff</th>
 
     <td colspan="20">{{{max-buff}}}</td>
 
     <td colspan="20">{{{max-buff}}}</td>
 
</tr>
 
</tr>
Line 17: Line 17:
 
{{#if: {{{max-effect|}}}|
 
{{#if: {{{max-effect|}}}|
 
<tr>
 
<tr>
     <th colspan="10">Maximum Effect</th>
+
     <th colspan="10">Max Effect</th>
 
     <td colspan="20">{{{max-effect}}}</td>
 
     <td colspan="20">{{{max-effect}}}</td>
</tr>
 
|}}
 
{{#if: {{{shrine|}}}|
 
<tr>
 
    <th colspan="10">Shrine Buff</th>
 
    <td colspan="20">{{{shrine}}}</td>
 
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 51: Line 45:
 
|}}
 
|}}
 
{{#if: {{{food-name|}}}|
 
{{#if: {{{food-name|}}}|
<div class="infobox-title">Buff Ingredient</div>
+
<div class="infobox-title">Cooking Ingredient</div>
 
<table style="padding: 1em; margin: auto;">
 
<table style="padding: 1em; margin: auto;">
 
<tr>
 
<tr>
Line 74: Line 68:
 
  |max-buff = Maximum possible buff
 
  |max-buff = Maximum possible buff
 
  |max-effect = Maximum possible effect
 
  |max-effect = Maximum possible effect
|shrine-buff = Past highest shrine buff
+
  |scroll-img = Scroll image URL
  |scroll-image = Scroll image URL
 
 
  |scroll-name = Scroll name
 
  |scroll-name = Scroll name
 
  |scroll-slot = Scroll equipment type
 
  |scroll-slot = Scroll equipment type
 
  |scroll-source = Source of scroll
 
  |scroll-source = Source of scroll
  |food-image = Ingredient image URL
+
  |food-img = Ingredient image URL
 
  |food-name = Ingredient name
 
  |food-name = Ingredient name
 
  |food-source = Source of ingredient
 
  |food-source = Source of ingredient
Line 93: Line 86:
 
|max-buff =  
 
|max-buff =  
 
|max-effect =  
 
|max-effect =  
|shrine-buff =
+
|scroll-img =  
|scroll-image =  
 
 
|scroll-name =  
 
|scroll-name =  
 
|scroll-slot =  
 
|scroll-slot =  
 
|scroll-source =  
 
|scroll-source =  
|food-image =  
+
|food-img =  
 
|food-name =  
 
|food-name =  
 
|food-source =  
 
|food-source =  

Revision as of 05:27, 24 August 2021

Infobox Enchantment


Usage

{{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
 |scroll-img = Scroll image URL
 |scroll-name = Scroll name
 |scroll-slot = Scroll equipment type
 |scroll-source = Source of scroll
 |food-img = Ingredient image URL
 |food-name = Ingredient name
 |food-source = Source of ingredient
 }}

Copy pasta code:

{{Infobox Equipment
|title = 
|image = 
|desc = 
|max-buff = 
|max-effect = 
|scroll-img = 
|scroll-name = 
|scroll-slot = 
|scroll-source = 
|food-img = 
|food-name = 
|food-source = 
}}