Jump to content

Template:RecipeRow/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Created page with "This template creates a row in a recipe table based on parameters in Template:Infobox cooking. It was created to eliminate the need for a separate "Stats" table on food p..."
 
imported>Margotbean
changed examples
Line 6: Line 6:
<pre>
<pre>
{{Recipes|header}}
{{Recipes|header}}
{{:Autumn's Bounty|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{:Algae Soup|RecipeRow}}
{{Recipes|footer}}
{{Recipes|footer}}
</pre>
</pre>
Line 13: Line 13:
==Example==
==Example==
{{Recipes|header}}
{{Recipes|header}}
{{:Autumn's Bounty|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{:Algae Soup|RecipeRow}}
{{Recipes|footer}}
{{Recipes|footer}}



Revision as of 11:07, 14 April 2017

This template creates a row in a recipe table based on parameters in Template:Infobox cooking. It was created to eliminate the need for a separate "Stats" table on food pages, since these tables contain information already in the infobox on the page.

Credit to Lilly for creating the sandbox template.

This template is intended to be used as follows:

{{Recipes|header}}
{{:Autumn's Bounty|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{Recipes|footer}}

Example

Image Name Description Ingredients Energy / Health Buff(s) Buff Duration Recipe Source(s) Sell Price
Autumn's Bounty A taste of the season. Yam (1) Pumpkin (1) 220
99
Foraging (+2) Defense (+2) 7m 41s

Demetrius (Mail - 7+ )

data-sort-value="350">350g
Fried Egg Sunny-side up. Egg (1) 50
22
N/A N/A Starter data-sort-value="35">35g