Template:Recipes/extract/doc

Using this template to extract info from centain 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 specitied, it will be  by default. See examples below.
 * mode = compact/result/ingredients/station

Seperator 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 [result]=[ingredients]@[station], if  , there wil be no @[station], if  , there wil 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

Example
Platforms exclusive:

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

de:Vorlage:Recipes/extract