Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
m (forgot to add it to desc)
m (moved source and lvl req higher up)
Line 7: Line 7:
 
     <th colspan="15"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th>
 
     <th colspan="15"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th>
 
     <td colspan="15">{{{gold}}}</td>
 
     <td colspan="15">{{{gold}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{level-req|}}}|
 +
<tr>
 +
    <th colspan="15">Level Required</th>
 +
    <td colspan="15">{{{level-req}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
{{#if: {{{source|}}}|
 +
<tr>
 +
    <th colspan="15">Source</th>
 +
    <td colspan="15">{{{source}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 43: Line 56:
 
     <th colspan="15">HP</th>
 
     <th colspan="15">HP</th>
 
     <td colspan="15">{{{hp}}}</td>
 
     <td colspan="15">{{{hp}}}</td>
</tr>
 
|}}
 
{{#if: {{{plot-size|{{{seed-exp|}}}}}}||
 
{{#if: {{{level-req|}}}|
 
<tr>
 
    <th colspan="15">Level Required</th>
 
    <td colspan="15">{{{level-req}}}</td>
 
</tr>
 
}}
 
}}
 
{{#if: {{{source|}}}|
 
<tr>
 
    <th colspan="15">Source</th>
 
    <td colspan="15">{{{source}}}</td>
 
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 163: Line 162:
 
|image = Img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png
 
|image = Img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png
 
|gold = Vendor price
 
|gold = Vendor price
 +
|source = Source of acquiring, e.g. seeds come from foraging = [[Foraging]]
 +
|level-req = Lvl requirement for item
 
|heat = How much heat item gives when burned, e.g. coal gives 10
 
|heat = How much heat item gives when burned, e.g. coal gives 10
 
|exp = How much exp item gives
 
|exp = How much exp item gives
Line 169: Line 170:
 
|aug-cost = Augment cost, separate with <br>
 
|aug-cost = Augment cost, separate with <br>
 
|hp = How much HP item provides
 
|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
 
|stab = Use Infobox Equipment for equipment, stab bonus
 
|slash = Use Infobox Equipment for equipment, slash bonus
 
|slash = Use Infobox Equipment for equipment, slash bonus
Line 192: Line 191:
 
  |image =
 
  |image =
 
  |gold =
 
  |gold =
 +
|source =
 +
|level-req =
 
  |heat =
 
  |heat =
 
  |exp =
 
  |exp =
Line 198: Line 199:
 
  |aug-cost =  
 
  |aug-cost =  
 
  |hp =
 
  |hp =
|source =
 
|level-req =
 
 
  |stab =
 
  |stab =
 
  |slash =
 
  |slash =

Revision as of 16:32, 11 February 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
|source = Source of acquiring, e.g. seeds come from foraging = [[Foraging]]
|level-req = Lvl requirement for item
|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
|aug-cost = Augment cost, separate with <br>
|hp = How much HP item provides
|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 =
 |source =
 |level-req =
 |heat =
 |exp =
 |aug-bonus = 
 |aug-slots = 
 |aug-cost = 
 |hp =
 |stab =
 |slash =
 |crush =
 |accuracy =
 |strength =
 |speed =
 |attacktype =
 |slot = 
 |non-combat-name =
 |non-combat-stat =
 |plot-size =
 |seed-exp =
 |harvest-time =
 |yield =
 }}