Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
(added source) |
(fixed some things) |
||
| Line 3: | Line 3: | ||
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div> | <div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div> | ||
<table style="padding: 1em;"> | <table style="padding: 1em;"> | ||
| + | |||
<tr> | <tr> | ||
| − | <th | + | <th width="50"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th> |
| − | <td | + | <td>{{{gold}}}</td> |
</tr> | </tr> | ||
{{#if: {{{heat|}}}| | {{#if: {{{heat|}}}| | ||
<tr> | <tr> | ||
| − | <th | + | <th><img src="https://idlescape.com/images/heat_icon.png" alt="Gold Coin" height="20" width="20"></th> |
| − | <td | + | <td>{{{heat}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{hp|}}}| | {{#if: {{{hp|}}}| | ||
<tr> | <tr> | ||
| − | <th | + | <th>HP</th> |
| − | <td | + | <td>{{{hp}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{level-req|}}}| | {{#if: {{{level-req|}}}| | ||
<tr> | <tr> | ||
| − | <th | + | <th>Level Required</th> |
| − | <td | + | <td>{{{level-req}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{source|}}}| | {{#if: {{{source|}}}| | ||
<tr> | <tr> | ||
| − | <th | + | <th>Source</th> |
| − | <td | + | <td>{{{source}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
</table> | </table> | ||
| − | {{#if: {{{stab|{{{slash | + | {{#if: {{{stab|{{{slash|{{{crush|{{{accuracy|{{{strength|{{{speed|{{{attacktype|}}}}}}}}}}}}}}}}}}}}}| |
<div class="infobox-title">Combat Stats</div> | <div class="infobox-title">Combat Stats</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
<table style="padding: 1em;"> | <table style="padding: 1em;"> | ||
| − | {{#if: {{{stab|}}} | | + | {{#if: {{{stab|a}}} | |
<tr> | <tr> | ||
| − | <th | + | <th width="90">Stab Defense</th> |
| − | <td | + | <td>{{{stab}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{slash|}}} | | {{#if: {{{slash|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Slash Defense</th> |
| − | <td | + | <td>{{{slash}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{crush|}}} | | {{#if: {{{crush|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Crush Defense</th> |
| − | <td | + | <td>{{{crush}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{accuracy|}}} | | {{#if: {{{accuracy|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Accuracy</th> |
| − | <td | + | <td>{{{accuracy}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{strength|}}} | | {{#if: {{{strength|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Strength</th> |
| − | <td | + | <td>{{{strength}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{speed|}}} | | {{#if: {{{speed|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Attack Speed</th> |
| − | <td | + | <td>{{{speed}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{attacktype|}}} | | {{#if: {{{attacktype|}}} | | ||
<tr> | <tr> | ||
| − | <th | + | <th width="90">Attack Type</th> |
| − | <td | + | <td>{{{attacktype}}}</td> |
</tr> | </tr> | ||
| − | }} | + | |}} |
</table> | </table> | ||
</div> | </div> | ||
| Line 84: | Line 85: | ||
<div class="infobox-title">Non Combat Stat</div> | <div class="infobox-title">Non Combat Stat</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
| − | <table | + | <table style="padding: 1em;"> |
<tr> | <tr> | ||
| − | <th | + | <th>{{{non-combat-name}}}</th> |
| − | <td | + | <td>{{{non-combat-stat}}}</td> |
</tr> | </tr> | ||
</table> | </table> | ||
| Line 95: | Line 96: | ||
<div class="infobox-title">Seeds</div> | <div class="infobox-title">Seeds</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
| − | <table | + | <table style="padding: 1em;"> |
<tr> | <tr> | ||
| − | <th | + | <th width="80">Seed Size</th> |
| − | <td | + | <td>{{{seed-size}}}</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
| − | <th | + | <th>Experience</th> |
| − | <td | + | <td>{{{experience}}}</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
| − | <th | + | <th>Harvest Time</th> |
| − | <td | + | <td>{{{harvest-time}}}</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Revision as of 09:07, 27 August 2020
Infobox Item
| {{{gold}}} |
Usage
{{Infobox Item
|title =
|image =
|gold =
|heat =
|hp =
|source=
|level-req =
|stab =
|slash =
|crush =
|accuracy =
|strength =
|speed =
|attacktype =
|non-combat-name =
|non-combat-stat =
|seed-size =
|experience =
|harvest-time =
}}