Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
(Added usage info) |
m (test on making first content centered) |
||
Line 5: | Line 5: | ||
{{#if: {{{gold|}}}| | {{#if: {{{gold|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th> |
− | <td colspan=" | + | <td colspan="15">{{{gold}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{heat|}}}| | {{#if: {{{heat|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15"><img src="https://idlescape.com/images/heat_icon.png" alt="Gold Coin" height="20" width="20"></th> |
− | <td colspan=" | + | <td colspan="15">{{{heat}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{exp|}}}| | {{#if: {{{exp|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Exp</th> |
− | <td colspan=" | + | <td colspan="15">{{{exp}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{aug-bonus|}}}| | {{#if: {{{aug-bonus|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Aug Bonus</th> |
− | <td colspan=" | + | <td colspan="15">{{{aug-bonus}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{aug-slots|}}}| | {{#if: {{{aug-slots|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Aug Slots</th> |
− | <td colspan=" | + | <td colspan="15">{{{aug-slots}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
{{#if: {{{hp|}}}| | {{#if: {{{hp|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">HP</th> |
− | <td colspan=" | + | <td colspan="15">{{{hp}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
Line 42: | Line 42: | ||
{{#if: {{{level-req|}}}| | {{#if: {{{level-req|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Level Required</th> |
− | <td colspan=" | + | <td colspan="15">{{{level-req}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 49: | Line 49: | ||
{{#if: {{{source|}}}| | {{#if: {{{source|}}}| | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Source</th> |
− | <td colspan=" | + | <td colspan="15">{{{source}}}</td> |
</tr> | </tr> | ||
|}} | |}} | ||
Line 114: | Line 114: | ||
<table style="padding: 1em;"> | <table style="padding: 1em;"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">{{{non-combat-name}}}</th> |
− | <td colspan=" | + | <td colspan="15">{{{non-combat-stat}}}</td> |
</tr> | </tr> | ||
</table> | </table> |
Revision as of 11:53, 28 January 2021
Infobox Item
Usage
{{Infobox Item |title = Autofilled from pagename, only use if custom name is needed |image = Img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png |gold = Vendor price |heat = How much heat item gives when burned, e.g. coal gives 10 |exp = How much exp item gives |aug-bonus = Use Infobox Equipment for equipment, augment bonus |aug-slots = Use Infobox Equipment for equipment, augment slots |hp = How much HP item provides |source = Source of acquiring, e.g. seeds come from foraging = [[Foraging]] |level-req = Lvl requirement for item |stab = Use Infobox Equipment for equipment, stab bonus |slash = Use Infobox Equipment for equipment, slash bonus |crush = Use Infobox Equipment for equipment, crush bonus |accuracy = Use Infobox Equipment for equipment, accuracy bonus |strength = Use Infobox Equipment for equipment, strength bonus |speed = Use Infobox Equipment for equipment, attack speed |attacktype = Use Infobox Equipment for equipment, attack type |slot = Use Infobox Equipment for equipment, what slot the item have |non-combat-name = |non-combat-stat = |plot-size = used for seeds only, plot size |seed-exp = used for seeds only, xp gain after farming |harvest-time = used for seeds only, harvest time |yield = used for seeds only, aprx. yield from seed }}
Copy pasta:
{{Infobox Item |title = |image = |gold = |heat = |exp = |aug-bonus = |aug-slots = |hp = |source = |level-req = |stab = |slash = |crush = |accuracy = |strength = |speed = |attacktype = |slot = |non-combat-name = |non-combat-stat = |plot-size = |seed-exp = |harvest-time = |yield = }}