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: {{{gold|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="16" width="16"></th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{gold}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{level-req|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Level Required</th> |
<td colspan="20">{{{level-req}}}</td> | <td colspan="20">{{{level-req}}}</td> | ||
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{source|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Source</th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{source}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
| − | {{#if: {{{ | + | {{#if: {{{slot|}}}| |
<tr> | <tr> | ||
| − | <th colspan="10"> | + | <th colspan="10">Slot</th> |
| − | <td colspan="20">{{{ | + | <td colspan="20">{{{slot}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
| + | {{#if: {{{atk-speed|}}}| | ||
| + | <tr> | ||
| + | <th colspan="10">Attack Speed</th> | ||
| + | <td colspan="20">{{{atk-speed}}}</td> | ||
| + | </tr> | ||
| + | |}} | ||
| + | {{#if: {{{atk-type|}}}| | ||
| + | <tr> | ||
| + | <th colspan="10">Attack Type</th> | ||
| + | <td colspan="20">{{{atk-type}}}</td> | ||
| + | </tr> | ||
| + | |}} | ||
| + | {{#if: {{{aug-slots|}}}| | ||
| + | <tr> | ||
| + | <th colspan="10">Enchantment Slots</th> | ||
| + | <td colspan="20">{{{aug-slots}}}</td> | ||
| + | </tr> | ||
| + | |}} | ||
| + | </table> | ||
| + | {{#if: {{{acc|{{{melee-str|}}}}}}| | ||
| + | <div class="infobox-title">Offensive Stats</div> | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table"> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">Accuracy</td> | ||
| + | <td colspan="15" class="infobox-nested">Melee Str</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{acc}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{melee-str}}}</td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{def-stats|}}}| | ||
| + | <div class="infobox-title">Defensive Stats</div> | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table"> | ||
| + | <tr> | ||
| + | <td colspan="6" class="infobox-nested">Stab</td> | ||
| + | <td colspan="6" class="infobox-nested">Slash</td> | ||
| + | <td colspan="6" class="infobox-nested">Crush</td> | ||
| + | <td colspan="6" class="infobox-nested">Magic</td> | ||
| + | <td colspan="6" class="infobox-nested">Range</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="6" class="infobox-nested">{{{def-stab}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{def-slash}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{def-crush}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{def-magic}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{def-range}}}</td> | ||
| + | </tr> | ||
</table> | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{miscname1|}}}| | ||
| + | <div class="infobox-title">Misc. Stats</div> | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table" margin:auto;"> | ||
| + | {{#if:{{{miscname2|}}}| | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{miscname1}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{miscname2}}}</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{miscstat1}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{miscstat2}}}</td> | ||
| + | </tr> | ||
| + | | | ||
| + | <tr> | ||
| + | <td colspan="30" class="infobox-nested">{{{miscname1}}}</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="30" class="infobox-nested">{{{miscstat1}}}</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{aug-stab|{{{aug-slash|{{{aug-crush|{{{aug-magic|{{{aug-range|}}}}}}}}}}}}}}}| | ||
| + | <div class="infobox-title">Augment Bonus</div> | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table"> | ||
| + | <tr> | ||
| + | <td colspan="6" class="infobox-nested">Stab</td> | ||
| + | <td colspan="6" class="infobox-nested">Slash</td> | ||
| + | <td colspan="6" class="infobox-nested">Crush</td> | ||
| + | <td colspan="6" class="infobox-nested">Magic</td> | ||
| + | <td colspan="6" class="infobox-nested">Range</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="6" class="infobox-nested">{{{aug-stab}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{aug-slash}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{aug-crush}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{aug-magic}}}</td> | ||
| + | <td colspan="6" class="infobox-nested">{{{aug-range}}}</td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{aug-acc|{{{aug-melee-str|}}}}}}| | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table" margin:auto;"> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">Accuracy</td> | ||
| + | <td colspan="15" class="infobox-nested">Melee Str</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-acc}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-melee-str}}}</td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{aug-miscname1|}}}| | ||
| + | <div class="infobox-stats"> | ||
| + | <table class="fullWidth-table" margin:auto;"> | ||
| + | {{#if:{{{aug-miscname2|}}}| | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-miscname1}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-miscname2}}}</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-miscstat1}}}</td> | ||
| + | <td colspan="15" class="infobox-nested">{{{aug-miscstat2}}}</td> | ||
| + | </tr> | ||
| + | | | ||
| + | <tr> | ||
| + | <td colspan="30" class="infobox-nested">{{{aug-miscname1}}}</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td colspan="30" class="infobox-nested">{{{aug-miscstat1}}}</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{aug-cost|}}}| | ||
| + | <div class="infobox-stats"> | ||
| + | <table style="padding: 1em; margin:auto;"> | ||
| + | <tr> | ||
| + | <th colspan="15">Aug. Cost</th> | ||
| + | <td style="text-align: left; vertical-align: middle;" colspan="15">{{{aug-cost}}}</td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Revision as of 04:59, 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 =
}}