Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
m (→Usage: Added category) |
m (Added cooking recipe ingredients) |
||
Line 58: | Line 58: | ||
|}} | |}} | ||
</table> | </table> | ||
− | {{#if: {{{food-size|{{{food-cat|{{{food-buff|}}}}}}}}}| | + | {{#if: {{{food-size|{{{food-cat|{{{food-buff|{{{food-ing1|{{{food-ing2|{{{food-ing3|{{{food-note|}}}}}}}}}}}}}}}}}}}}}| |
<div class="infobox-title">Cooking</div> | <div class="infobox-title">Cooking</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
<table class="fullWidth-table"> | <table class="fullWidth-table"> | ||
+ | {{#if: {{{food-size|{{{food-cat|{{{food-buff|}}}}}}}}}| | ||
<tr> | <tr> | ||
<td colspan="10" class="infobox-nested"><b>[[Cooking#Ingredients|Food Size]]</b></td> | <td colspan="10" class="infobox-nested"><b>[[Cooking#Ingredients|Food Size]]</b></td> | ||
Line 72: | Line 73: | ||
<td colspan="10" class="infobox-nested">{{{food-buff}}}</td> | <td colspan="10" class="infobox-nested">{{{food-buff}}}</td> | ||
</tr> | </tr> | ||
+ | |}}{{#if: {{{cook-ing1|{{{cook-ing2|{{{cook-ing3|}}}}}}}}}| | ||
+ | <tr> | ||
+ | <td colspan="10" class="infobox-nested"><b>[[Cooking#Ingredients|Ingredient 1]]</b></td> | ||
+ | <td colspan="10" class="infobox-nested"><b>[[Cooking#Ingredients|Ingredient 2]]</b></td> | ||
+ | <td colspan="10" class="infobox-nested"><b>[[Cooking#Ingredients|Ingredient 3]]</b></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="10" class="infobox-nested">{{{cook-ing1}}}</td> | ||
+ | <td colspan="10" class="infobox-nested">{{{cook-ing2}}}</td> | ||
+ | <td colspan="10" class="infobox-nested">{{{cook-ing3}}}</td> | ||
+ | </tr> | ||
+ | |}}{{#if: {{{cook-note|}}}| | ||
+ | <tr> | ||
+ | <td colspan="30" class="infobox-nested"><b>[[Cooking#All_Recipes_Table|Notes]]</b></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="30" class="infobox-nested">{{{cook-note}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
</table> | </table> | ||
</div> | </div> | ||
Line 189: | Line 209: | ||
|food-cat = category of cooking ingredient | |food-cat = category of cooking ingredient | ||
|food-buff = food buff gained from eating, write None if no buff is gained | |food-buff = food buff gained from eating, write None if no buff is gained | ||
+ | |cook-ing1 = 1st ingredient in recipe | ||
+ | |cook-ing2 = 2nd ingredient in recipe | ||
+ | |cook-ing3 = 3rd ingredient in recipe | ||
+ | |cook-note = Any other notes | ||
|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 221: | Line 245: | ||
|food-cat = | |food-cat = | ||
|food-buff = | |food-buff = | ||
+ | |cook-ing1 = | ||
+ | |cook-ing2 = | ||
+ | |cook-ing3 = | ||
+ | |cook-note = | ||
|stab = | |stab = | ||
|slash = | |slash = |
Revision as of 19:38, 14 September 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 |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-ing1 = 1st ingredient in recipe |cook-ing2 = 2nd ingredient in recipe |cook-ing3 = 3rd ingredient in recipe |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 }}
Copy pasta:
{{Infobox Item |title = |image = |gold = |source = |level-req = |heat = |exp = |aug-bonus = |aug-slots = |aug-cost = |hp = |food-size = |food-cat = |food-buff = |cook-ing1 = |cook-ing2 = |cook-ing3 = |cook-note = |stab = |slash = |crush = |accuracy = |strength = |speed = |attacktype = |slot = |non-combat-name = |non-combat-stat = |plot-size = |seed-exp = |harvest-time = |yield = }}