Template:RecipeRow/doc

< Template:RecipeRow
Revision as of 16:44, 9 August 2022 by IBugOne (talk | contribs) (→‎Example: Replace first example with Squid Ink Ravioli for previewing)

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}}
{{: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
Squid Ink Ravioli.png
Squid Ink Ravioli Temporarily protects from debuffs. Squid Ink.png Squid Ink (1)Wheat Flour.png Wheat Flour (1)Tomato.png Tomato (1) Energy.png 125
Health.png 56
Mining.png Mining (+1)Squid Ink Ravioli Buff.png Squid Ink Ravioli Buff Time Icon.png 4m 39s (Mining)
Time Icon.png 2m 59s (Squid Ink
Ravioli Buff)
Combat Skill Icon.png Combat Level 9 data-sort-value="150">Gold.png150g
Fried Egg.png
Fried Egg Sunny-side up. Egg.png Egg (1) Energy.png 50
Health.png 22
N/A N/A Starter data-sort-value="35">Gold.png35g

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}}