Template:Recipe

From RuneScape Classic Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Recipe/doc. [edit] [purge]
Template:Recipe invokes function main in Module:Recipe using Lua.
Template:Recipe invokes Module:Recipe using Lua.

About

This template is used to generate the level requirements, experience gained, members icon, and materials required to do skilling creation. For example, listing the materials required to make a black d'hide vambraces along with the Crafting level required and the experience gained for the action.

Usage

For a complete list of facilities and special case tool names, visit the Module:Recipe page and look for toolsList and facilitiesIcons. The names before the equal sign (=) is what you will use.

{{Recipe
|skill#              = <!-- Name of the main skill; Set to None or exclude this parameter if there are no skill requirements --> 
|skill#lvl           = <!-- Level requirement of the first skill -->
|skill#boostable     = <!-- Boostable skill requirement or not; Default is unknown; Fill in with yes or no if known -->
|skill#exp           = <!-- Experience gained for the first skill -->

|notes              = <!-- (Optional) Quest, miniquest, etc additional requirements text -->
|members            = <!-- Members only or not -->
|ticks              = <!-- Number of ticks per action (defaults to ? if not passed in and sets a category for missing ticks, can also be set to na -->
|ticksnote          = <!-- (Optional) Extra information for Make-All tick rates, tick manipulation information, etc -->
|tools              = <!-- (Optional) List of tools required to create the item; This parameter list CAN be comma delimited to render multiple tools; An example of comma delimited is the following:                                       Knife, Shears, Knife -->
|facilities         = <!-- (Optional) List of facilities that the action may require (e.g. anvil or pottery wheel) -->
|nosmw              = <!-- (Optional) Turns off SMW rendering for entire recipe template usage -->

|mat#               = <!-- Name of the material -->
|mat#pic            = <!-- (Optional) Picture override for the material -->
|mat#quantity       = <!-- (Optional) Quantity of the material; Defaults to 1 -->
|mat#txt            = <!-- (Optional) Text override for the material link -->
|mat#cost           = <!-- (Optional) Cost override for the material -->
|mat#currency       = <!-- (Optional) Currency override for the material (i.e. agility arena ticket or castle wars ticket)

|outputname         = <!-- Name of the item produced -->
|outputpic          = <!-- (Optional) Picture override for the output -->
|outputquantity     = <!-- (Optional) Quantity of the item produced; defaults to 1 -->
|outputtxt          = <!-- (Optional) Text override for the output link -->
|outputcost         = <!-- (Optional) Cost override for output item, set to No if not tradeable; Defaults to GE price -->
|outputitemnote     = <!-- (Optional) Extra information on the item output of a recipe -->
|outputquantitynote = <!-- (Optional) Extra information for the quantity of outputs (e.g., 50% success chance for iron bars without rings of forging) -->
}}

Examples

One skill

{{Recipe
|skill1 = Crafting
|skill1lvl = 79
|skill1boostable = Yes
|skill1exp = 86
|ticks = 2
|members = Yes
|mat1 = Black dragon leather
|mat2 = Thread
|outputname = Black d'hide vambraces
|outputquantity = 1
}}

Two skills

{{Recipe
|skill1 = Crafting
|skill1lvl = 70
|skill1boostable = Yes
|skill1exp = 2500
|skill2 = Smithing
|skill2lvl = 70
|skill2boostable = Yes
|skill2exp = 2500
|ticks = 2
|members = Yes
|mat1 = Crystal armour seed
|mat2 = Crystal shard
|mat2quantity = 50
|mat2cost = 0
|outputname = Crystal helm
|outputquantity = 1
|outputcost = No
}}

Quest requirement

{{Recipe
|skill1 = Herblore
|skill1lvl = 37
|skill1boostable = Yes
|skill1exp = 27
|ticks = 2
|notes = Learn the [[Barbarian Training#Barbarian Herblore|barbarian]] way of mixing potions.
|members = Yes
|mat1 = Agility potion(2)
|mat2 = Caviar
|outputname = Agility mix(2)
|outputquantity = 1
}}

Tool requirement

{{Recipe
|skill1 = Crafting
|skill1lvl = 1
|skill1boostable = Yes
|skill1exp = 10
|ticks = 2
|members = yes
|tools = Ring mould
|mat1 = Opal
|mat2 = Silver bar
|outputname = Opal ring
|outputquantity = 1
}}
Requirements
Members
Member icon.png
Ticks2 (1.2s)
ToolsRing mould.pngFacilitiesNone
Materials
ItemQuantity
Opal.pngOpal1
Silver bar.pngSilver bar1
File:Opal ring.pngOpal ring1

Facility requirement

{{Recipe
|skill1 = Crafting
|skill1lvl = 1
|skill1exp = 10
|ticks = 2
|members = yes
|facitilies = Anvil
|mat1 = Opal
|mat2 = Silver bar
|outputname = Opal ring
|outputquantity = 1
}}
Requirements
Members
Member icon.png
Ticks2 (1.2s)
ToolsNoneFacilitiesAnvil
Materials
ItemQuantity
Opal.pngOpal1
Silver bar.pngSilver bar1
File:Opal ring.pngOpal ring1

Currency override

{{Recipe
|skill1 = Construction
|skill1lvl = 69
|skill1boostable = No
|skill1exp = 420
|ticks = 101
|members = Yes
|mat1 = Thread
|mat1quantity = 4
|mat1currency = Castle wars ticket
|mat2 = Needle
|mat2quantity = 899
|outputname = Attack potion(3)
|outputquantity = 1
}}