Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
m (Ingredient -> Required Category) |
m (Alternate) |
||
Line 60: | Line 60: | ||
{{#if: {{{food-size|{{{food-cat|{{{food-buff|{{{cook-ing1|{{{cook-ing2|{{{cook-ing3|{{{cook-note|}}}}}}}}}}}}}}}}}}}}}| | {{#if: {{{food-size|{{{food-cat|{{{food-buff|{{{cook-ing1|{{{cook-ing2|{{{cook-ing3|{{{cook-note|}}}}}}}}}}}}}}}}}}}}}| | ||
<div class="infobox-title">Cooking</div> | <div class="infobox-title">Cooking</div> | ||
+ | {{#if: {{{food-size|{{{food-cat|{{{food-buff|}}}}}}}}}| | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
<table class="fullWidth-table"> | <table class="fullWidth-table"> | ||
− | |||
<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 73: | Line 73: | ||
<td colspan="10" class="infobox-nested">{{{food-buff}}}</td> | <td colspan="10" class="infobox-nested">{{{food-buff}}}</td> | ||
</tr> | </tr> | ||
− | |}}{{#if: {{{cook- | + | </table> |
+ | </div> | ||
+ | |}} | ||
+ | {{#if: {{{cook-cat|{{{cook-note|}}}}}}| | ||
+ | <table style="padding: 1em; margin: auto;"> | ||
+ | {{#if: {{{cook-cat|}}}| | ||
<tr> | <tr> | ||
− | < | + | <th colspan="15">[[Cooking#Ingredients|Required Category]]</th> |
+ | <td colspan="15">{{{cook-cat|}}}</td> | ||
</tr> | </tr> | ||
+ | |}} | ||
+ | {{#if: {{{cook-note|}}}| | ||
<tr> | <tr> | ||
− | < | + | <th colspan="15">[[Cooking#All_Recipes_Table|Notes]]</th> |
− | + | <td colspan="15">{{{cook-note|}}}</td> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td colspan=" | ||
</tr> | </tr> | ||
|}} | |}} | ||
</table> | </table> | ||
− | + | |}} | |
|}} | |}} | ||
{{#if: {{{stab|{{{slash|{{{crush|{{{accuracy|{{{strength|{{{speed|{{{attacktype|}}}}}}}}}}}}}}}}}}}}}| | {{#if: {{{stab|{{{slash|{{{crush|{{{accuracy|{{{strength|{{{speed|{{{attacktype|}}}}}}}}}}}}}}}}}}}}}| | ||
Line 207: | Line 207: | ||
|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- | + | |cook-cat = Required food category |
− | |||
− | |||
|cook-note = Any other notes | |cook-note = Any other notes | ||
|stab = Use Infobox Equipment for equipment, stab bonus | |stab = Use Infobox Equipment for equipment, stab bonus | ||
Line 243: | Line 241: | ||
|food-cat = | |food-cat = | ||
|food-buff = | |food-buff = | ||
− | |cook- | + | |cook-cat = |
− | |||
− | |||
|cook-note = | |cook-note = | ||
|stab = | |stab = |
Revision as of 22:20, 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-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 }}
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-cat = |cook-note = |stab = |slash = |crush = |accuracy = |strength = |speed = |attacktype = |slot = |non-combat-name = |non-combat-stat = |plot-size = |seed-exp = |harvest-time = |yield = }}