Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
(Bugfix with plot-size)
(made gold not a requirement)
Line 3: Line 3:
 
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="150"></div>
 
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="150"></div>
 
<table style="padding: 1em;">
 
<table style="padding: 1em;">
 
+
{{#if: {{{gold|}}}|
 
<tr>
 
<tr>
 
     <th colspan="10"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th>
 
     <th colspan="10"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th>
 
     <td colspan="20">{{{gold}}}</td>
 
     <td colspan="20">{{{gold}}}</td>
 
</tr>
 
</tr>
 +
|}}
 
{{#if: {{{heat|}}}|
 
{{#if: {{{heat|}}}|
 
<tr>
 
<tr>

Revision as of 05:09, 8 September 2020

Infobox Item


Usage

{{Infobox Item
|title =
|image =
|gold =
|heat =
|exp =
|hp =
|source =
|level-req =
|stab =
|slash =
|crush =
|accuracy =
|strength =
|speed =
|attacktype =
|non-combat-name =
|non-combat-stat =
|plot-size =
|seed-exp =
|harvest-time =
|yield =
}}