Template:ItemRecipe: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Removed ingredient template nesting to reduce load)
No edit summary
Line 122: Line 122:
     |Pickled Herring={{name|Herring}}<br>{{name|Lemon}}<br>{{name|Onion}}<br>{{name|Spices & Herbs|link=:Category:Spices{{!}}Any Spice}}
     |Pickled Herring={{name|Herring}}<br>{{name|Lemon}}<br>{{name|Onion}}<br>{{name|Spices & Herbs|link=:Category:Spices{{!}}Any Spice}}
     |Pizza={{name|Tomato}}<br>{{name|Cheese}}<br>{{name|Wheat}}
     |Pizza={{name|Tomato}}<br>{{name|Cheese}}<br>{{name|Wheat}}
     |Plain Snow Cone={{name|Ice|link=:Category:Ice{{!}}Any Ice}}
     |Plain Snow Cones={{name|Ice|link=:Category:Ice{{!}}Any Ice}}
     |Poached Basil-Butter Sturgeon={{name|White Sturgeon}}<br>{{name|Basil}}<br>{{name|Lemon}}<br>{{name|Butter}}
     |Poached Basil-Butter Sturgeon={{name|White Sturgeon}}<br>{{name|Basil}}<br>{{name|Lemon}}<br>{{name|Butter}}
     |Porridge with Fruits={{name|Milk}}<br>{{name|Wheat}}<br>{{name|Fruit|link=:Category:Fruit{{!}}Any Fruit}}
     |Porridge with Fruits={{name|Milk}}<br>{{name|Wheat}}<br>{{name|Fruit|link=:Category:Fruit{{!}}Any Fruit}}

Revision as of 12: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...

Any Vegetable
Milk
Ginger
Pumpkin