Difference between revisions of "Template:Infobox Enchantment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Testing)
m (Testing)
Line 28: Line 28:
 
|}}
 
|}}
 
</table>
 
</table>
{{#if: {{{scroll-img|{{{scroll-name|}}}}}}|
+
{{#if: {{{scroll-name|}}}|
 
<div class="infobox-title">Scroll</div>
 
<div class="infobox-title">Scroll</div>
 
<tr>
 
<tr>
Line 47: Line 47:
 
|}}
 
|}}
 
|}}
 
|}}
{{#if: {{{food-img|{{{food-name|}}}}}}|
+
{{#if: {{{food-name|}}}|
<div class="infobox-title">Scroll</div>
+
<div class="infobox-title">Food Ingredient</div>
 
<tr>
 
<tr>
 
     <th colspan="10"><img src="{{{food-img}}}" height="auto" width="32"></th>
 
     <th colspan="10"><img src="{{{food-img}}}" height="auto" width="32"></th>

Revision as of 05:16, 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
 |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
 }}

Copy pasta code:

{{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 = 
}}