Template:RecipeRow

From Go-Go Town Wiki
Jump to navigation Jump to search
View or edit this template's documentation. (How does this work?)
Note: portions of the template samples may not be visible without values provided.

Usage

Formats a recipe row to be used in the RecipeListTable.

Syntax

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Recipe Itemrecipe

The item name this recipe creates. Do not include "Recipe" since it will be added.

Example
Leafy Greens
Page namerequired
Crafted Bycrafter

The crafter or fitout that crafts the recipe.

Default
Empty string
Example
Sweets N' Treats
Page namesuggested
Items Requireduses

A comma-separated list of item names and their quantities used in this recipe.

Default
Empty string
Example
Roasted Coffee Beans=1,Milk=1
Stringsuggested
Item(s) Producedmakes

A comma-separated list of items and their quantities produced from this recipe.

Default
Empty string
Example
Cup of Coffee=4
Stringsuggested

Examples

Labeled Section Transclusion Item Setup

On the individual item page

<section begin="recipe-row" /><includeonly>{{RecipeRow|recipe=Cheese|crafter=Dairymaker|uses=Cow Milk=1|produces|Cheese=2}}</includeonly><section end="recipe-row" />

On the crafter/fitout page

== Recipes ==
<section begin="recipes" />
{{RecipeListTable|{{#lst:Butter|recipe-row}}{{#lst:Cheese|recipe-row}}{{#lst:Chocolate|recipe-row}}{{#lst:Milk|recipe-row}}{{#lst:Milk|recipe-row-2}}}}
<section end="recipes" />
Recipe Crafter Uses Makes