Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
m (Used infobox template)
m (added seed- in front of lvl req for seeds to not show it on all infoboxes)
 
(5 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
|  label1  = {{img|gold coin}}
 
|  label1  = {{img|gold coin}}
 
|  data1  = {{{gold|}}}
 
|  data1  = {{{gold|}}}
|  label2  = Level Required
+
|  label2 = {{img|marketplace}}
data2 = {{{level-req|}}}
+
|  data2  = {{market|{{{market|{{PAGENAME}}}}}|1|1}}
label3 = Source
+
|  label3 = Level Required
data3 = {{{source|}}}
+
data3 = {{{level-req|}}}
label4 = {{img|heat}}
+
label4 = Source
data4 = {{{heat|}}}
+
data4 = {{{source|}}}
label5 = Exp
+
label5 = {{img|heat}}
data5 = {{{exp|}}}
+
data5 = {{{heat|}}}
label6 = Aug Bonus
+
label6 = Exp
data6 = {{{aug-bonus|}}}
+
data6 = {{{exp|}}}
label7 = Enchantment Slots
+
label7 = Aug Bonus
data7 = {{{aug-slots|}}}
+
data7 = {{{aug-bonus|}}}
label8 = Aug Cost
+
label8 = Enchantment Slots
data8 = {{{aug-cost|}}}
+
data8 = {{{aug-slots|}}}
label9  = HP
+
label9 = Aug Cost
data9  = {{{hp|}}}
+
data9 = {{{aug-cost|}}}
label10  = Base HP
+
label10 = HP
data10  = {{{base-hp|}}}
+
data10 = {{{hp|}}}
 +
label11 = Base HP
 +
data11 = {{{base-hp|}}}
 
| header20 = Cooking
 
| header20 = Cooking
 
|  label21 = Size
 
|  label21 = Size
Line 28: Line 30:
 
|  label22 = Difficulty
 
|  label22 = Difficulty
 
|  data22 = {{{food-diff|}}}
 
|  data22 = {{{food-diff|}}}
|  label23 = Ingredient Category
+
|  label23 = Category
 
|  data23 = {{{food-cat|}}}
 
|  data23 = {{{food-cat|}}}
 
|  label24 = Buff
 
|  label24 = Buff
Line 65: Line 67:
 
| header80 = Seeds
 
| header80 = Seeds
 
|  label81= Level Required
 
|  label81= Level Required
|  data81= {{{level-req|}}}
+
|  data81= {{{seed-level-req|}}}
label81= Experience
+
label82= Experience
data81= {{{seed-exp|}}}
+
data82= {{{seed-exp|}}}
label81= Plot Size
+
label83= Plot Size
data81= {{{plot-size|}}}
+
data83= {{{plot-size|}}}
label81= Harvest Time
+
label84= Harvest Time
data81= {{{harvest-time|}}}
+
data84= {{{harvest-time|}}}
label81= Yield
+
label85= Yield
data81= {{{yield|}}}
+
data85= {{{yield|}}}
| header130= Tooltip
+
| header100= Tooltip
data131= {{Infobox | subbox = yes
+
data101= {{Infobox | subbox = yes
 
| bodystyle= padding: 0.5em; margin:auto; font-style:italic; font-size:110%; text-align: center
 
| bodystyle= padding: 0.5em; margin:auto; font-style:italic; font-size:110%; text-align: center
 
|    data1 = {{{tooltip|}}}
 
|    data1 = {{{tooltip|}}}
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 12:11, 19 June 2023

Usage

{{Infobox Item
|title = Autofilled from pagename, only use if custom name is needed
|image = Autofilled from pagename, img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png
|gold = Vendor price
|market = Autofilled from pagename, enter market name if different from title
|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
|base-hp = base hp for food
|food-size = size of cooking ingredient
|food-cat = category of cooking ingredient
|food-buff = food buff gained from eating, write None if no buff is gained
|cook-id = Recipe ID
|cook-cat = Required food category
|cook-note = Any other notes
|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
|tooltip = In-game tooltip text if needed
}}

Copy pasta:

{{Infobox Item
 |title = 
 |image =
 |gold =
 |market =
 |source =
 |level-req =
 |heat =
 |exp =
 |aug-bonus = 
 |aug-slots = 
 |aug-cost = 
 |hp =
 |base-hp = 
 |food-size =
 |food-cat =
 |food-buff = 
 |cook-id =
 |cook-cat =
 |cook-note =
 |non-combat-name =
 |non-combat-stat =
 |plot-size =
 |seed-exp =
 |harvest-time =
 |yield =
 |tooltip = 
 }}