Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
     <td colspan="20">{{{gold}}}</td>
 
     <td colspan="20">{{{gold}}}</td>
 
</tr>
 
</tr>
{{#if: {{{heat}}}|
+
{{#if: {{{heat|}}}|
 
<tr>
 
<tr>
 
     <th colspan="10"><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>
Line 15: Line 15:
  
  
{{#if: {{{hp}}}|
+
{{#if: {{{hp|}}}|
 
<tr>
 
<tr>
 
     <th colspan="10">HP</th>
 
     <th colspan="10">HP</th>
Line 22: Line 22:
 
|}}
 
|}}
  
{{#if: {{{level-req}}}|
+
{{#if: {{{level-req|}}}|
 
<tr>
 
<tr>
 
     <th colspan="10">Level Required</th>
 
     <th colspan="10">Level Required</th>
Line 30: Line 30:
 
</table>
 
</table>
  
{{#if: {{{stab|{{{slash}}}|{{{crush}}}|{{{accuracy}}}|{{{strength}}}|{{{speed}}}|{{{attacktype}}}|{{{equipment}}}}}}|
+
{{#if: {{{stab|{{{slash|}}}|{{{crush|}}}|{{{accuracy|}}}|{{{strength|}}}|{{{speed|}}}|{{{attacktype|}}}|{{{equipment|}}}|}}}|
 
<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|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Stab Defense</th>
 
     <th colspan="10">Stab Defense</th>
Line 40: Line 40:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{slash}}} |
+
{{#if: {{{slash|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Slash Defense</th>
 
     <th colspan="10">Slash Defense</th>
Line 46: Line 46:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{crush}}} |
+
{{#if: {{{crush|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Crush Defense</th>
 
     <th colspan="10">Crush Defense</th>
Line 52: Line 52:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{accuracy}}} |
+
{{#if: {{{accuracy|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Accuracy</th>
 
     <th colspan="10">Accuracy</th>
Line 58: Line 58:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{strength}}} |
+
{{#if: {{{strength|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Strength</th>
 
     <th colspan="10">Strength</th>
Line 64: Line 64:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{speed}}} |
+
{{#if: {{{speed|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Attack Speed</th>
 
     <th colspan="10">Attack Speed</th>
Line 70: Line 70:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{attacktype}}} |
+
{{#if: {{{attacktype|}}} |
 
<tr>
 
<tr>
 
     <th colspan="10">Attack Type</th>
 
     <th colspan="10">Attack Type</th>
Line 80: Line 80:
 
|}}
 
|}}
  
{{#if:{{{non-combat-name}}}|
+
{{#if:{{{non-combat-name|}}}|
 
<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 class="fullWidth-table">
 
<table class="fullWidth-table">
 
<tr>
 
<tr>
<th colspan="10">{{{non-combat-name}}}</th>
+
<th colspan="10">{{{non-combat-name|}}}</th>
<td colspan="20">{{{non-combat}}}</td>
+
<td colspan="20">{{{non-combat|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 92: Line 92:
 
|}}
 
|}}
  
{{#if: {{{seed-size|{{{experience}}}}}}|
+
{{#if: {{{seed-size|{{{experience|}}}}}}|
 
<div class="infobox-title">Seeds</div>
 
<div class="infobox-title">Seeds</div>
 
<div class="infobox-stats">
 
<div class="infobox-stats">

Revision as of 15:49, 22 August 2020

Infobox Item
Gold Coin {{{gold}}}