Template:Recipe/doc

From RuneScape Classic Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Recipe.
It contains usage information, categories, and other content that is not part of the original template page.
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
|skill = Crafting
|skilllvl = 14
|skillboostable = Yes
|skillexp = 25
|members = No
|ticks =
|tools = needle
|mat1 = leather
|mat2 = thread
|outputname = Leather Armour
}}
Requirements
SkillLevelXP
Crafting1425
Members
Free-to-play icon.png
Ticks?
ToolsNeedle.pngFacilitiesNone
Materials
ItemQuantity
Leather.pngleather1
Thread.pngthread1
Leather Armour.pngLeather Armour1

Quest requirement

{{Recipe
|skill = Smithing
|skilllvl = 60
|skillboostable = Yes
|skillexp = 75
|ticks =
|tools = Hammer
|facilitilies = Anvil
|notes = Complete [[Legend's Quest]]
|members = Yes
|mat1 = Half Dragon Square Shield (right)
|mat2 = Half Dragon Square Shield (left)
|outputname = Dragon Square Shield
|outputquantity = 1
}}
Requirements
SkillLevelXP
Smithing6075
Members
Member icon.png
Ticks?
ToolsHammer.pngFacilitiesNone
Materials
ItemQuantity
Half Dragon Square Shield (right).pngHalf Dragon Square Shield (right)1
Half Dragon Square Shield (left).pngHalf Dragon Square Shield (left)1
Dragon Square Shield.pngDragon Square Shield1

Tool requirement

{{Recipe
|skill = Crafting
|skilllvl = 8
|skillboostable = Yes
|skillexp = 40
|ticks = 2
|members = no
|tools = Ring mould
|mat1 = Sapphire
|mat2 = Gold bar
|outputname = Sapphire ring
|outputquantity = 1
}}
Requirements
SkillLevelXP
Crafting840
Members
Free-to-play icon.png
Ticks2 (1.2s)
ToolsRing mould.pngFacilitiesNone
Materials
ItemQuantity
Sapphire.pngSapphire1
Gold bar.pngGold bar1
Sapphire ring.pngSapphire ring1

Facility requirement

{{Recipe
|skill = Smithing
|skilllvl = 15
|skillexp = 25
|members = No
|ticks =
|tools = Hammer
|facilities = Anvil
|mat1 = Iron bar
|outputname = Iron dagger
}}
Requirements
SkillLevelXP
Smithing1525
Members
Free-to-play icon.png
Ticks?
ToolsHammer.pngFacilitiesAnvil
Materials
ItemQuantity
Iron bar.pngIron bar1
Iron dagger.pngIron dagger1