Template:Recipes/doc

Query crafting recipes from database and display them as crafts table.

Usage
Parameters for query constraints:

List only recipes that using these stations.
 * = station1/station2/...

Exclude recipes that using these stations.
 * = station1/station2/...

List only recipes that will get this result item.
 * = result1/result2/...

Exclude recipes that will get this result item.
 * = result1/result2/...

List only recipes that contain this item in its ingredient list. You can use "Any xxx" as ingredient name for some substitutable items group; and, if you query a item in one of substitutable item group, you will get "Any xxx" as well. Prefix name with "#" will turn this off on this item(and only on this item). For example, if you query by, you will get recipes as if you query by  ;   equals to.
 * = ingredient1/ingredient2/...

NOTE: The relationship between above parameters is "and", and the relationship of multiple values inside single parameter is "or". For example,  means (in SQL style):

Raw input string for where parameter of cargo query. If specified, all of above parameters are ignored. Used to write complex queries when necessary, with caution.
 * = whereString

Other parameters:

The content of table caption.

If set, Crafting Station column will be hidden.
 * = y

By default, this template will add transcluding page to crafting station category if crafting result is the page title itself. will disable this. will force categorization, no matter what the result and page title are.
 * = no/force

Assert the expected number of rows in this crafts table. If expected and actual number of rows are not equal, this page will be added to Category:Recipes_table_with_unexcepted_total_number_of_rows.
 * = number

Example
Query for all Bone furniture. Select all recipes that have as one of its ingredient, and crafting station is, then exclude  from list. There are 18 items in Bone furniture, so we assert.

Register Recipes
Recipes in database are registered by recipes/register, all recipes should be registered on the corresponding crafting station page ( Recipes/[station] ), e.g. Recipes/Sawmill. For usage of recipes/register, see its document.