Difference between revisions of "Template:Infobox Enchantment"
Jump to navigation
Jump to search
m (Testing) |
m (Testing) |
||
| Line 30: | Line 30: | ||
{{#if: {{{scroll-name|}}}| | {{#if: {{{scroll-name|}}}| | ||
<div class="infobox-title">Scroll</div> | <div class="infobox-title">Scroll</div> | ||
| + | <table style="padding: 1em; margin: auto;"> | ||
<tr> | <tr> | ||
<th colspan="10"><img src="{{{scroll-img}}}" height="auto" width="32"></th> | <th colspan="10"><img src="{{{scroll-img}}}" height="auto" width="32"></th> | ||
<td colspan="20">{{{scroll-name}}}</td> | <td colspan="20">{{{scroll-name}}}</td> | ||
</tr> | </tr> | ||
| + | |||
{{#if: {{{scroll-slot|}}}| | {{#if: {{{scroll-slot|}}}| | ||
<tr> | <tr> | ||
| Line 46: | Line 48: | ||
</tr> | </tr> | ||
|}} | |}} | ||
| + | </table> | ||
|}} | |}} | ||
{{#if: {{{food-name|}}}| | {{#if: {{{food-name|}}}| | ||
| − | <div class="infobox-title"> | + | <div class="infobox-title">Buff Ingredient</div> |
| + | <table style="padding: 1em; margin: auto;"> | ||
<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> | ||
| Line 59: | Line 63: | ||
</tr> | </tr> | ||
|}} | |}} | ||
| + | </table> | ||
|}} | |}} | ||
</div> | </div> | ||
Revision as of 05:19, 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 =
}}