Template:Food/doc

Description
This template is an infobox for food items.

Syntax
There are several variables that can be used
 * name (optional) - Title of the infobox. Defaults to the page's name.
 * Images:
 * image - Image for the standard level of cooking.
 * image_great - Image for the highest (Great Success) level of cooking.
 * (Warning: DO NOT USE GALLERY. The description uses the caption of the image, and won't be seen when gallery is used)
 * description - In game flavor text (the beginning part that is shared with all levels of cooking).
 * desc_basic - The rest of the in game flavor text for the standard level of cooking.
 * desc_delicious - The rest of the in game flavor text for the highest (Great Success) level of cooking.
 * type - Category of Food item. Should be STR, INT, WIS, CON, AGI, or CHA.
 * effectType - Status effect type for icon.
 * effect - Paragraph explaining the effect of the item. Use (var1), (var2), and (var3) to denote where the values automatically go.
 * eff_basic1 - First value for the standard level of cooking. Replaces (var1) in the paragraph effect.
 * eff_great1 - First value for the highest (Great Success) level of cooking. Replaces (var1) in the paragraph effect.
 * eff_basic2 - Second value for the standard level of cooking. Replaces (var2) in the paragraph effect.
 * eff_great2 - Second value for the highest (Great Success) level of cooking. Replaces (var2) in the paragraph effect.
 * eff_basic3 - Third value for the standard level of cooking. Replaces (var3) in the paragraph effect.
 * eff_great3 - Third value for the highest (Great Success) level of cooking. Replaces (var3) in the paragraph effect.
 * rarity - Color (e.x. Blue).
 * Variant Dishes:
 * base - The base dish for a variant dish (to be used on the special dish page).
 * variant - Comma-separated list of the variant dishes (to be used on the base dish).
 * character - The character related to the Special Dish (to be used on the special dish page).
 * event - The event related to the Event Exclusive Dish (to be used on the event exclusive dish page).
 * How to Obtain:
 * recipe - Where to find the recipe.
 * source# - Source of the dish (# = 1 to 10)

The keyword special can be used as an unlabeled parameter to denote a special dish, and the proper tags will be applied (see example)

Example (Special)
{	"params": { "name": { "label": "Food Name", "description": "Title of the infobox. Defaults to Page Name", "type": "string", "default": "" },		"image": { "label": "Image (Basic)", "description": "Image for the standard level of cooking", "type": "string" },		"image_great": { "label": "Image (Great)", "description": "Image for the great level of cooking", "type": "string" },		"description": { "label": "Description (Main)", "description": "Main description (shows up for every variant)", "type": "string" },		"desc_basic": { "label": "Basic Description", "description": "Follows main description for normal food", "type": "string", "required": true },		"desc_great": { "label": "Great Success Description", "description": "Follows main description for great food", "type": "string" },		"type": { "label": "Type", "description": "Category of Food item. Should be \"STR\", \"INT\", \"WIS\", \"CON\", \"AGI\", or \"CHA\".", "type": "string", "required": true },		"effect": { "label": "Effect", "description": "Sentence describing effect (in game text). Use \"(var1)\", \"(var2)\", \"(var3)\" to values appearing in that order", "type": "string", "required": true },		"eff_basic1": { "label": "Effect Value 1 for Basic", "description": "First value for the standard level of cooking. Replaces \"(var1)\" in the effect value", "type": "string" },		"eff_basic2": { "label": "Effect Value 2 for Basic", "description": "Second value for the standard level of cooking. Replaces \"(var2)\" in the effect value", "type": "string" },		"eff_basic3": { "label": "Effect Value 3 for Basic", "description": "Third value for the standard level of cooking. Replaces \"(var3)\" in the effect value", "type": "string" },		"eff_great1": { "label": "Effect Value 1 for Great", "description": "First value for the great level of cooking. Replaces \"(var1)\" in the effect value", "type": "string" },		"eff_great2": { "label": "Effect Value 2 for Great", "description": "Second value for the great level of cooking. Replaces \"(var2)\" in the effect value", "type": "string" },		"eff_great3": { "label": "Effect Value 3 for Great", "description": "Third value for the great level of cooking. Replaces \"(var3)\" in the effect value", "type": "string" },		"rarity": { "label": "Rarity", "description": "Color", "type": "string" },		"level": { "label": "Level", "description": "Level required to obtain", "type": "number" },		"base": { "label": "Base Dish (use on Special Dish)", "description": "The base dish for a Special Dish", "type": "string" },		"variant": { "label": "Special Dish", "description": " A Special Dish variant (use on Base Dish)", "type": "string" },		"character": { "label": "Character (use on Special Dish)", "description": "Character who can craft Special Dish", "type": "string" },		"recipe": { "label": "Recipe", "description": "Recipe Source of the Dish", "type": "string" },		"source1": { "label": "Source 1", "description": "Source 1 of the Dish", "type": "string" },		"source2": { "label": "Source 2", "description": "Source 2 of the Dish", "type": "string" },		"source3": { "label": "Source 3", "description": "Source 3 of the Dish", "type": "string" },		"source4": { "label": "Source 4", "description": "Source 4 of the Dish", "type": "string" },		"source5": { "label": "Source 5", "description": "Source 5 of the Dish", "type": "string" },		"source6": { "label": "Source 6", "description": "Source 6 of the Dish", "type": "string" },		"source7": { "label": "Source 7", "description": "Source 7 of the Dish", "type": "string" },		"source8": { "label": "Source 8", "description": "Source 8 of the Dish", "type": "string" },		"source9": { "label": "Source 9", "description": "Source 9 of the Dish", "type": "string" },		"source10": { "label": "Source 10", "description": "Source 10 of the Dish", "type": "string" }	},	"format": "block" }