Template:EvolvedRecipesForItem/doc: Difference between revisions

From PZwiki
(Added the code for the example)
m (Basic editing for clarity)
Line 7: Line 7:
|soup=x|stew=x|salad=x|stirfry=x|roastedvegetables=x|sandwich=x|burger=x|pie=x|cake=x}}
|soup=x|stew=x|salad=x|stirfry=x|roastedvegetables=x|sandwich=x|burger=x|pie=x|cake=x}}
</pre>
</pre>
2. Replace the <code>x</code> values with the hunger values associated to each section based on the food. If the food cannot be used in a food recipe, please put a zero for the x value.<br>
2. Replace the <code>x</code> values with the hunger values associated to each section based on the food. If the food cannot be used in a food recipe, please put a zero for the x value. The zeros are not required, but it will aid others editing the page later, if the food is added/removed from recipes.<br>
Note: The negative sign will be added for you. Please do not add.
Note: The negative sign will be added for you. Please do not add.
3. Preview the article to make sure it is displaying as you expect it should.
3. Preview the article to make sure it is displaying as you expect it should.

Revision as of 01:42, 15 November 2014

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

Usage

1. First, add the following snippet into your article:

{{EvolvedRecipesForItem
|soup=x|stew=x|salad=x|stirfry=x|roastedvegetables=x|sandwich=x|burger=x|pie=x|cake=x}}

2. Replace the x values with the hunger values associated to each section based on the food. If the food cannot be used in a food recipe, please put a zero for the x value. The zeros are not required, but it will aid others editing the page later, if the food is added/removed from recipes.
Note: The negative sign will be added for you. Please do not add. 3. Preview the article to make sure it is displaying as you expect it should.

Example

Here is an example from the Bread page:

Product Nutrition
Soup
Soup
5
Stew
Stew
5
Salad
Salad
5
Stir Fry
Stir Fry
0
Roasted Vegetables
Roasted Vegetables
0
Sandwich
Sandwich
0
Burger
Burger
0
Pie (savory)
Pie (savory)
0
Cake
Cake
0

Here is the example code:

{{EvolvedRecipesForItem
|soup=5|stew=5|salad=5|stirfry=0|roastedvegetables=0|sandwich=0|burger=0|pie=0|cake=0}}