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|}}}}}}|
 +
<div class="infobox-title">Scroll</div>
 +
<tr>
 +
    <th colspan="10"><div class="infobox-image"><img src="{{{scroll-img}}}" height="auto" width="32"></div></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"><div class="infobox-image"><img src="{{{food-img}}}" height="auto" width="32"></div></th>
 +
    <td colspan="20">{{{food-name}}}</td>
 +
</tr>
 +
{{#if: {{{food-source|}}}|
 +
<tr>
 +
<th colspan="10">Source</th>
 +
<td colspan="20">{{{scroll-source}}}</td>
 +
</tr>
 +
|}}
 +
|}}
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>

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