FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Infobox recipe/doc.
Template:Infobox recipe invokes Module:Infobox recipe using Lua.

The Recipe template is used to show the details of a recipe in item articles.


Parameters

Parameter Format Usage Mandatory?
name Exact name of the item Item name used for display and fetching GEMW prices. Will default to the pagename if not given; Do not include brackets; e.g. Abyssal whip for Abyssal whip Yes
amount Integer Amount of the item made for display and calculation; e.g. if 15 bolts are made, then amount should be set to 15 No
image image.png Item's image for display. Do not include the 'File:' prefix (though doing so will not break the template); do not use brackets

This parameter can be removed if it would be the same as "name.png"

No
skill skill name The primary skill in which experience is gained for creating the item Yes
skillXP number The amount of experience gained for performing the action; amount is disregarded; e.g. if 15 bolts are made, use the experience gained for creating all 15 Yes
secSkill skill name The secondary skill in which experience is gained for creating the item; omitted if blank No
secXP number The amount of experience gained in the secondary skill for performing the action; amount is disregarded; e.g. if 15 bolts are made, use the experience gained for creating all 15; omitted if blank No
geValue gemw or no A binary decision on whether or not to look for the price of item in the GEMW; if the item can be traded on the Grand Exchange, set to "gemw", otherwise, set it to "no" Yes
level Integer The level required in the primary skill to create the item; omitted if blank No
quest Text to display The name of the ultimate quest requirement for creating the item. This parameter is unformatted, but will be prefixed with the Quest symbol; e.g. setting quest = [[Cook's Assistant]] will display

Quests Cook's Assistant

members Yes or No Whether or not the item can only be created by members Yes
misc1 Text to display Unformatted text to indicate any other requirements for creating the item; omitted if blank No
misc2
misc3
misc4
misc5
The material parameters are technically limited to 10 materials; however, this can be changed within the module
mat#name Exact name of the item Item name used for display and fetching GEMW prices. Do not include brackets; e.g. Abyssal whip for Abyssal whip Only for mat1<x>
mat#img image.png Item's image for display. Do not include the 'File:' prefix (though doing so will not break the template); do not use brackets

This parameter can be removed if it would be the same as "name.png"

mat#price gemw or integer or no or see #Prices Price of the material; use gemw to look for prices on the GEMW; set to no if the item is not tradeable and has no distinct value; use an unformatted integer if the item has a value outside of the Grand Exchange (e.g. a Blast fusion hammer is unvariable 1,000,000 coins); see #Prices for how to format untradeable items with distinct values
mat#qty Integer The amount of the material used in the process

This parameter can be removed if it would be 1

Prices

Certain materials are not tradeable on the Grand Exchange, but can still be given a distinct market value because all of their materials are. For full documentation for and the templates to use are:

For example, an Extreme attack (3) is required for creating overloads; it would be included as:

|mat1name = Extreme attack (3)
|mat1img = Extreme attack (3).png
|mat1qty = 1
|mat1price = {{GETotal|Super attack (3)|Clean avantoe}}

Total

The total cost for production will only be displayed if there are 2 or more items with a definite value.

Example

This is an example that uses random values just to display the functionality of the template

{{Infobox recipe
|name = Supreme overload salve (6)
|amount = 3
|skill = Herblore
|skillXP = 888
|geValue = no
|level = 17
|members = Yes
|quest = Fully completed [[Cook's Assistant]]
|misc1 = Must have soloed [[Nex]] with an [[Abyssal whip]]
|mat1 = Supreme overload potion (6)
|mat1price = {{#expr:{{ovlcost|4/3}} + 162}}
|mat2 = Prayer renewal (4)
|mat2price = gemw
|mat3 = Apple
|mat3img = Cooking apple.png
|mat3price = 9001
|mat3qty = 1337
|mat4 = Argonite ore
|mat4price = 7777
|mat5 = Runite ore
|mat5price = 5
|mat6 = Primal 2h sword
|mat6qty = 666
|mat6price = no
}}
Supreme overload salve (6) Supreme overload salve (6) ×3
Herblore-Make-X GE icon
888 XP--
Requirements
Herblore Herblore level17
Quests Fully completed Cook's Assistant
Must have soloed Nex with an Abyssal whip
P2P icon Members onlyYes
Materials
ItemQuantityPriceTotal
Supreme overload potion (6)Supreme overload potion (6)1107,251107,251
Prayer renewal (4)Prayer renewal (4)110,25610,256
Cooking appleApple1,3379,00112,034,337
Argonite oreArgonite ore17,7777,777
Runite oreRunite ore155
Primal 2h swordPrimal 2h sword666N/A-
Total price12,159,626

Blank infobox

{{Infobox Recipe
|name       = 
|image      = 
|skill      = 
|skillXP    = 
|geValue    = 
|level     = 
|members   = 
|questReq  = 
|mat1      = 
|mat1img   = 
|mat1qty   = 
|mat1price = 
|mat2      = 
|mat2img   = 
|mat2qty   = 
|mat2price = 
|mat3      = 
|mat3img   = 
|mat3qty   = 
|mat3price = 
}}
Community content is available under CC-BY-SA unless otherwise noted.