Template:ItemRecipe: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Eternity Isle recipes)
(Commenting out new recipes - this template needs to be optimized, it's not working when used many times on a page)
Line 194: Line 194:
     |Yule Log={{IngredientList | Wheat, Cocoa Bean, Vanilla, Cherry | {{{2|}}} }}
     |Yule Log={{IngredientList | Wheat, Cocoa Bean, Vanilla, Cherry | {{{2|}}} }}
     |Zucchini Puffs={{IngredientList | Zucchini, Egg, Cheese | {{{2|}}} }}
     |Zucchini Puffs={{IngredientList | Zucchini, Egg, Cheese | {{{2|}}} }}
 
<!--
     |Arepas Con Queso={{IngredientList | Corn, Cheese, Agave | {{{2|}}} }}
     |Arepas Con Queso={{IngredientList | Corn, Cheese, Agave | {{{2|}}} }}
     |Baozi={{IngredientList | Pork, Wheat, Soya, Spices | {{{2|}}} }}
     |Baozi={{IngredientList | Pork, Wheat, Soya, Spices | {{{2|}}} }}
Line 318: Line 318:
     |Sweet Tofu={{IngredientList | Soya, Fruits | {{{2|}}} }}
     |Sweet Tofu={{IngredientList | Soya, Fruits | {{{2|}}} }}
     |Taiyaki={{IngredientList | Sand Fish, Bean | {{{2|}}} }}
     |Taiyaki={{IngredientList | Sand Fish, Bean | {{{2|}}} }}
     |Vanilla Macarons={{IngredientList | Almonds, Egg, Vanilla | {{{2|}}} }}
     |Vanilla Macarons={{IngredientList | Almonds, Egg, Vanilla | {{{2|}}} }}-->
     |#default=}}</includeonly><noinclude>
     |#default=}}</includeonly><noinclude>
==Description==
==Description==

Revision as of 04:32, 6 December 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