Difference between revisions of "Template:Infobox Enchantment"
Jump to navigation
Jump to search
m (Testing) |
m (Testing) |
||
| Line 3: | Line 3: | ||
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="130"></div> | <div class="infobox-image"><img src="{{{image}}}" height="auto" width="130"></div> | ||
<table style="padding: 1em; margin: auto;"> | <table style="padding: 1em; margin: auto;"> | ||
| − | {{#if: {{{ | + | {{#if: {{{desc|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Description</th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{desc}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{max-buff|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Maximum Buff</th> |
<td colspan="20">{{{level-req}}}</td> | <td colspan="20">{{{level-req}}}</td> | ||
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{max-effect|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Maximum Effect</th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{max-effect}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{shrine|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Shrine Buff</th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{shrine}}}</td> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</tr> | </tr> | ||
|}} | |}} | ||
Revision as of 05:06, 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 =
}}