Template:ItemRecipe: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(fix recursive calls)
(add waffles - TODO: figure out how to convey limitations of a recipe while still using template?)
Line 184: Line 184:
     |Veggie Pie={{IngredientList | Vegetables, Butter, Wheat | {{{2|}}} }}
     |Veggie Pie={{IngredientList | Vegetables, Butter, Wheat | {{{2|}}} }}
     |Veggie Skewers={{IngredientList | Mushroom, Zucchini, Onion, Bell Pepper | {{{2|}}} }}
     |Veggie Skewers={{IngredientList | Mushroom, Zucchini, Onion, Bell Pepper | {{{2|}}} }}
     |Waffles=<!--Wheat, Milk, Egg, Sweets (Sugarcane only)-->
     |Waffles={{IngredientList | Wheat, Milk, Egg, Sweets | {{{2|}}} }}<!--Wheat, Milk, Egg, Sweets (Sugarcane only)--><!--TODO: figure out how to convey limitations of recipe while still using template?-->
     |Walleye en Papillote={{IngredientList | Walleye, Basil, Oregano, Vegetables | {{{2|}}} }}
     |Walleye en Papillote={{IngredientList | Walleye, Basil, Oregano, Vegetables | {{{2|}}} }}
     |Wedding Cake={{IngredientList | Butter, Sugarcane, Vanilla, Egg, Wheat | {{{2|}}} }}
     |Wedding Cake={{IngredientList | Butter, Sugarcane, Vanilla, Egg, Wheat | {{{2|}}} }}

Revision as of 18:16, 17 June 2023

Description

This template is used to insert the list of ingredients for a Meal, formatted with the appropriate name or ingredient template. Its intended use is on in tables on pages other than the Meal's page, such as the Cooking page or Ingredient pages.

This template allows us to easily insert and maintain Meal Recipes in multiple locations across the wiki, while still allowing the recipe on the Meal's page to be easily editable by any wiki contributor.

Usage

This template can be used by entering the following onto a relevant page:

{{ItemRecipe | <<Meal Name>>}}

Examples

{{ItemRecipe | Pumpkin Soup }}

results in...

Vegetables.png Any Vegetable
Milk
Ginger
Pumpkin