Jump to content

Template:RecipeRow/doc: Difference between revisions

From Stardew Valley Wiki
imported>IBugOne
m →Example: Replace first example with Squid Ink Ravioli for previewing
imported>IBugOne
m Forgot to replace sample code
Line 6: Line 6:
<pre>
<pre>
{{Recipes|header}}
{{Recipes|header}}
{{:Autumn's Bounty|RecipeRow}}
{{:Squid Ink Ravioli|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{Recipes|footer}}
{{Recipes|footer}}

Revision as of 16:44, 9 August 2022

This template creates a row in a recipe table. It requires transclusion tags in the infobox on the page to be included. For an example, please see Template:Infobox cooking/doc. For information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion

Credit to Lilly for creating the sandbox template.

This template is intended to be used in conjunction with Template:Recipes, which provides the table header and footer, as shown:

{{Recipes|header}}
{{:Squid Ink Ravioli|RecipeRow}}
{{:Fried Egg|RecipeRow}}
{{Recipes|footer}}

Example

Image Name Description Ingredients Energy / Health Buff(s) Buff Duration Recipe Source(s) Sell Price
Squid Ink Ravioli Temporarily protects from debuffs. Squid Ink (1) Wheat Flour (1) Tomato (1) 125
56
Mining (+1) Squid Ink Ravioli Buff 4m 39s (Mining)
2m 59s (Squid Ink
Ravioli Buff)
Combat Level 9 data-sort-value="150">150g
Fried Egg Sunny-side up. Egg (1) 50
22
N/A N/A Starter data-sort-value="35">35g

Other Languages

In languages other than English, the name of the recipe page needs to be in the native language, as shown below:

German Example

{{Recipes|header}}
{{:Herbstfülle|RecipeRow}}
{{:Spiegelei|RecipeRow}}
{{Recipes|footer}}

Japanese Example

{{Recipes|header}}
{{:秋のめぐみ|RecipeRow}}
{{:目玉焼き|RecipeRow}}
{{Recipes|footer}}