Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
m (test on making first content centered)
m (test 2)
Line 2: Line 2:
 
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
 
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
 
<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; margin: auto;">
 
{{#if: {{{gold|}}}|
 
{{#if: {{{gold|}}}|
 
<tr>
 
<tr>

Revision as of 11:54, 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 =
 }}