Template:FoodInfobox/doc

The FoodInfobox provides information about items that can be eaten to restore Energy.

Fields with default icons indicate the priority information useful for a player to know. Other fields can be left blank. =Template= Copy and paste the below to the desired page. Fields that auto-complete have been left out (see below for information).

=Example= Below is an example of how the FoodInfobox fields might be filled out, with the resulting Infobox to the right.

Note: Some fields auto-complete, but are filled out here for example purposes. See the "Fields" glossary below for specifics. Food Name Information

=Fields=

title

 * Leave blank by default. This field automatically draws from the tag, and will show the quest name even if nothing is filled in. Only use if the in-game name, capitalization, or grammar differs from the page title for some reason.

image

 * Leave blank by default. Also utilizes the tag. Only fill in if the item's image does not load in the preview or Visual Editor (which probably means it does not match the page title or follow existing file naming conventions).

caption

 * Optional: This is the text that shows when looking at the item's crafting recipe or purchase window. Some items do not have captions. Leave blank if you're not sure.

buy_price

 * Optional. How much the item costs if purchased from a shopkeeper. The number typed in this field will automatically be preceded by a icon.

sell_price

 * Required. How much the item will sell through the player's shop. If it has no price, use "N/A".

stacks_up_to

 * Optional. The maximum number of that item in one stack.

obtaining

 * Optional: Where or how the item can be purchased, crafted, won, or earned. Examples:


 * Shopkeeper
 * Workstation Name
 * NPC Name
 * Mod NPC Name
 * Quest reward

requirements

 * Required if applicable: If the food recipe only becomes available after completing certain actions, quests, or other criteria, note that here. Examples:


 * Mod Dependency Name
 * Complete "Quest name"
 * Played until Season #, Year #

recipe

 * Required: The food item's crafting recipe.
 * If the recipe uses non-modded items, please link them to those pages on the main wiki. To do that, use the following format:  Phrase to link  Use "_" instead of spaces in the URL.

energy_restored

 * Required: How much energy is gained by consuming the food. The number will automatically be followed by a icon.

cook_time

 * Optional: How long it takes to cook the food item, using in-game time. If the item has no cook time, leave blank or use "Instant".

profit

 * Optional: How much more or less the item costs compared to its component materials.