Template:Recipes/extract/doc

Use this template to extract info from certain crafting recipe(s).

Usage
This template is designed for extracting info from recipe(s) for "single result item"(however can be multiple recipes), so you need to use query constraint paramters (,  ...) to query "single" result. See recipes for details of all query constraint paramters.

If query result is more than one row, this template will only return first row for  or , and all rows for   or.

then, use following parameters for output format:

Output mode. If not specified, it will be  by default. See examples below. NOTE: for ingredients-buy/ingredients-sell, you should make sure there is only 1 result recipe and no alternative crafting ingredient in ingredients list. For ingredients-buy, you should make sure all ingredients are actually buyable.
 * mode = compact/result/ingredients/station/stationraw

Separator between multiple ingredients lists. Only valid when  or. Default is  for   or   for. Note: single ingredients list will be wrapped in &lt;div&gt; when  and in &lt;span&gt; when.
 * sep or seperator

Only valid when. By default, it will output as [version]: [ingredients]@[station], if, will output as [ingredients]@[station]=[result], if  , there wil be no @[station], if  , there will be no [version]:.
 * withresult and nostation and noversion

Only valid when. result item will show their internal item ID (if available), and/or have no link, respectively.
 * showresultid=y and link=no

Multiple recipes
Note: single ingredients list will be wrapped in &lt;div&gt; when  and in &lt;span&gt; when.