Template:ItemRecipe: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(add red fruit pie)
(add My Hero Cookie)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1|}}}
     |"My Hero" Cookie=<!--Wheat, Butter, Sweets (Cocoa Bean or Vanilla)-->
     |"My Hero" Cookie={{IngredientList | Wheat, Butter, Sweets | {{{2|}}} }}<!--TODO: Wheat, Butter, Sweets (Cocoa Bean or Vanilla)-->
     |Apple Pie={{IngredientList | Apple, Wheat, Butter | {{{2|}}} }}
     |Apple Pie={{IngredientList | Apple, Wheat, Butter | {{{2|}}} }}
     |Apple Sorbet={{IngredientList | Slush Ice, Apple, Sugarcane | {{{2|}}} }}
     |Apple Sorbet={{IngredientList | Slush Ice, Apple, Sugarcane | {{{2|}}} }}

Revision as of 18:33, 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