Template:Recipe/doc

This template is used to create a recipe box that is uniform across all items and easily searchable via DPL tables.

The recipe can have up to a maximum of ten items.

Adding this recipe to an item also sets the default category for that item to Category:Craftable_items

Usage
Recipes should only be used in the page that they are tied to, i.e. The recipe for a Chemistry Station should only appear on the Chemistry Station page, it should not appear on the pages of the components eg. the Beaker page. This is because the recipe is tied to the page it is on, so dpl searches would list the Beaker as having an ingredient of Chemistry Station, it will also include the Beaker as a Category:Craftable_items which it is not.

Parameters
The recipe formats a borderless table with three main columns; an image column, a page link column, and a column containing the count of the required item. There are a maximum of 10 items that can be used in the recipe. Recipes should start at with the 1st version and count up to make sure that formatting in other locations works correctly. The system also allows for including the workplace, the implements that are used from the workplace and if you need any special knowledge to use the recipe. The parameters are as follows:


 * imageX : The name of the image of the item.


 * linknameX : The name of the item page (tip: use spaces instead of under-cores (_) for better formatting)


 * itemcountX : The number of items required for the recipe

Where X is between 1 and 10.
 * optionalX : If this flag exists, it specifies that the ingredient is optional, only available on 2 - 10.

The other parameters which are all optional are:
 * workstation:The workplace location that the recipe must be performed. Note: This has changed from workplace to match the ingame description.
 * workstationimage:The image of that workplace location. Note: This has changed from workplaceimage to match the ingame description.


 * implement:The implement in the workplace that must be there.
 * implementimage:The image of that implement.
 * schematic:The schematic or book that must have been read to perform this recipe.
 * schematicimage:The image of that schematic.
 * skill:The skill or perk that must have been read to perform this recipe.
 * skillimage:The image of that skill.
 * skilllevel:The minimum level that must be attained to use this recipe.
 * time:The time for the recipe to complete. Note: Only put time if it is set apart from the default one calculated through the crafting ingredients. See recipes.xml for this: if there is no time set, the pre-calculated value is used and this parameter should be omitted.
 * yield:The number that is produced if it differs from 1.
 * LeveledCraft: If the amount of items increases according to the tier eg. with most weapons. If not, leave this parameter out.

Copy, Paste, & Delete
You can copy and paste the following where you need it then delete the sections you don't need:

Example
{


 * Produces:

es:Template:Recipe/doc