Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
m (Test)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
 
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
 
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div>
+
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="150"></div>
 
<table style="padding: 1em;">
 
<table style="padding: 1em;">
  
 
<tr>
 
<tr>
     <th width="20"><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>{{{gold}}}</td>
+
     <td colspan="20">{{{gold}}}</td>
 
</tr>
 
</tr>
 
{{#if: {{{heat|}}}|
 
{{#if: {{{heat|}}}|
 
<tr>
 
<tr>
     <th width="20"><img src="https://idlescape.com/images/heat_icon.png" alt="Gold Coin" height="20" width="20"></th>
+
     <th colspan="10"><img src="https://idlescape.com/images/heat_icon.png" alt="Gold Coin" height="20" width="20"></th>
     <td>{{{heat}}}</td>
+
     <td colspan="20">{{{heat}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
 
{{#if: {{{hp|}}}|
 
{{#if: {{{hp|}}}|
 
<tr>
 
<tr>
     <th>HP</th>
+
     <th colspan="10">HP</th>
     <td>{{{hp}}}</td>
+
     <td colspan="20">{{{hp}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
 
{{#if: {{{level-req|}}}|
 
{{#if: {{{level-req|}}}|
 
<tr>
 
<tr>
     <th width="53">Level Required</th>
+
     <th colspan="10">Level Required</th>
     <td>{{{level-req}}}</td>
+
     <td colspan="20">{{{level-req}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
 
{{#if: {{{source|}}}|
 
{{#if: {{{source|}}}|
 
<tr>
 
<tr>
     <th width="43">Source</th>
+
     <th colspan="10">Source</th>
     <td>{{{source}}}</td>
+
     <td colspan="20">{{{source}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 87: Line 87:
 
<table style="padding: 1em;">
 
<table style="padding: 1em;">
 
<tr>
 
<tr>
<th>{{{non-combat-name}}}</th>
+
<th colspan="10">{{{non-combat-name}}}</th>
<td>{{{non-combat-stat}}}</td>
+
<td colspan="20">{{{non-combat-stat}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 98: Line 98:
 
<table style="padding: 1em;">
 
<table style="padding: 1em;">
 
<tr>
 
<tr>
     <th width="80">Seed Size</th>
+
     <th colspan="10">Seed Size</th>
     <td>{{{seed-size}}}</td>
+
     <td colspan="20">{{{seed-size}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
     <th>Experience</th>
+
     <th colspan="10">Experience</th>
     <td>{{{experience}}}</td>
+
     <td colspan="20">{{{experience}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
     <th>Harvest Time</th>
+
     <th colspan="10">Harvest Time</th>
     <td>{{{harvest-time}}}</td>
+
     <td colspan="20">{{{harvest-time}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 10:04, 30 August 2020

Infobox Item
Gold Coin {{{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 =
}}