Template:EvolvedRecipesForItem/doc

From PZwiki

This template provides an easy interface for adding the Evolved Recipes for foods.

Usage

Copy and paste the following snippet of code to the article.

Add the hunger values associated to each section based on the food. Parameters that cannot be used for a particular food can be left blank. Blank parameters will not be displayed on the article and can be added later if the food is added to the recipes.

Parameters can be replaced by adding "cooked" to the end, e.g. replacing sandwich with sandwichcooked for ingredients that need to be cooked before adding to the recipe. The tooltip will change to show this.

Product Nutrition
Soup
Soup
soup
Stew
Stew
stew
Salad
Salad
salad
Fruit Salad
Fruit Salad
fruitsalad
Stir Fry
Stir Fry
stirfry
Roasted Vegetables
Roasted Vegetables
roastedvegetables
Sandwich
Sandwich
sandwich
Burger
Burger
burger
Pie (savory)
Pie (savory)
pie
Pie (sweet)
Pie (sweet)
piesweet
Cake
Cake
cake
Rice Pot/Saucepan
Rice Pot/Saucepan
rice
Pasta Pot/Saucepan
Pasta Pot/Saucepan
pasta
Taco
Taco
taco
Burrito
Burrito
burrito
Omelette
Omelette
omelette
Pizza
Pizza
pizza
Muffin
Muffin
muffin
Pancakes
Pancakes
pancakes
Waffles
Waffles
waffles
Oatmeal
Oatmeal
oatmeal
Ice Cream Cone
Ice Cream Cone
coneicecream
Beverage
Beverage
beverage
Beer
Beer
beer
Bread
Bread
bread
Toast
Toast
toast
{{EvolvedRecipesForItem
| spice			= <!-- should be "true" if the food is a spice -->
| soup			= <!-- or |Soup= -->
| stew			= <!-- or |Stew= -->
| pie			= <!-- or |Pie= -->
| cake			= <!-- or |Cake= -->
| stirfry		= <!-- or |StirFry= -->
| roastedvegetables	= <!-- or |RoastedVegetables= -->
| sandwich		= <!-- or |Sandwich= -->
| burger		= <!-- or |Burger= -->
| salad			= <!-- or |Salad= -->
| fruitsalad		= <!-- or |FruitSalad= -->
| rice			= <!-- or |Rice= -->
| pasta 		= <!-- or |Pasta= -->
| pizza			= <!-- or |Pizza= -->
| taco			= <!-- or |Taco= -->
| burrito		= <!-- or |Burrito= -->
| waffles		= <!-- or |Waffles= -->
| pancakes		= <!-- or |Pancakes= -->
| omelette		= <!-- or |Omelette= -->
| muffin		= <!-- or |Muffin= -->
| oatmeal		= <!-- or |Oatmeal= -->
| coneicecream		= <!-- or |ConeIcecream= -->
| beverage		= <!-- or |Beverage= -->
| beer			= <!-- or |Beer= -->
| bread			= <!-- or |Bread= -->
| toast			= <!-- or |Toast= -->
}}

Parameters

List of parameters that can be used in this template. Blank parameters can be omitted.

Append cooked to the end of any number variable to display the cooked tooltip.

Parameter Type Description
Preferred Alternative
spice Boolean should be "true" if the food is a spice, otherwise leave blank
soup Soup Number Value used in soup
stew Stew Number Value used in stew
pie Pie Number Value used in pie
piesweet PieSweet Number Value used in sweet pie
cake Cake Number Value used in cake
stirfry StirFry Number Value used in stir fry
roastedvegetables RoastedVegetables Number Value used in roasted vegetables
sandwich Sandwich
baguette
Baguette
Number Value used in sandwich
burger Burger Number Value used in burger
salad Salad Number Value used in salad
fruitsalad FruitSalad Number Value used in fruit salad
rice Rice
ricepot
RicePot
ricepan
RicePan
Number Value used in rice
pasta Pasta
pastapot
PastaPot
pastapan
PastaPan
Number Value used in pasta
pizza Pizza Number Value used in pizza
taco Taco Number Value used in taco
burrito Burrito Number Value used in burrito
waffles Waffles Number Value used in waffles
pancakes Pancakes Number Value used in pancakes
omelette Omelette Number Value used in omelette
muffin Muffin Number Value used in muffin
oatmeal Oatmeal Number Value used in oatmeal
coneicecream ConeIcecream Number Value used in ice cream cone
beverage Beverage
hotdrink
HotDrink
hotdrinktea
HotDrinkTea
Number Value used in beverage
beer Beer Number Value used in beer (poured in a cup/glass)
bread Bread Number Value used in bread
toast Toast Number Value used in toast

Example

Normal

{{EvolvedRecipesForItem|soup=5|stew=5|salad=5}}
Produces:
Product Nutrition
Soup
Soup
5
Stew
Stew
5
Salad
Salad
5

Cooked

{{EvolvedRecipesForItem|soupcooked=5|stewcooked=5|saladcooked=5}}
Produces:
Product Nutrition
Soup
Soup
5
Stew
Stew
5
Salad
Salad
5

Spice

{{EvolvedRecipesForItem|spice=true|soup=5|stew=5|salad=5}}
Produces:
Product Nutrition
Soup
Soup
5
Stew
Stew
5
Salad
Salad
5