Template:Recipe

From FHX Wiki
Revision as of 00:22, 1 July 2024 by Ryzuhr (talk | contribs) (Created page with "<includeonly><templatestyles src="Infobox/styles.css" /> <div class="infobox recipe"> {{#if:{{{icon|}}}|<div class="infobox-icon">[[File:{{{icon}}}|40px]]</div>}} <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> <div class="wrapper"> ;Req. level :{{{craft-level}}} ;Sheet :{{{sheet}}} ;Type :[[{{{output-type}}}]] ;Item level :{{{output-level}}} </div> {{clear}} <div class="subheading">Necessary Materials</div> ; :{{item icon|{{{ingredient1}}}|{{{ingredie...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This is the Recipe template. It should be transcluded in the following format:

{{recipe
|name=
|icon=
|sheet=
|craft-level=
|output-type=
|output-level=
|skill1=
|skill2=
|skill3=
|ingredient1=
|ingredient1-type=
|ingredient2=
|ingredient2-type=
|ingredient3=
|ingredient3-type=
}}

Parameters

name
Optional. Only include if the name of the Recipe name differs from the article name. Defaults to the name of the article: {{PAGENAME}}
icon
Required. Crafting sheet icon.
craft-level
Required. Required manufacturing level to craft recipe.
sheet
Required. Type of crafting sheet. Options:
Item Creation
Item Improvement
output-type
Required. Type of item crafted by recipe.
output-level
Required. Level of item crafted by recipe.
skill1...skill3
Required. Necessary skills to craft recipe.
ingredient1...ingredient3
Required. Necessary materials to craft recipe.
ingredient1-type...ingredient3-type
Optional. Alternate material name for icon search. (e.g. bone, green slime small, etc.)

Example

Elite Short Sword

Req. level
1
Sheet
Item creation
Type
Sword
Item level
20
Necessary Materials
Crude Copper
Skeleton Leg
Graphite
Necessary Skills
Smelting
Reinforcement
Design
{{recipe
|name=Elite Short Sword
|icon=Weapon Manufacturing Sheet icon.gif
|craft-level=1
|sheet=Item creation
|output-type=Sword
|output-level=20
|skill1=Smelting
|skill2=Reinforcement
|skill3=Design
|ingredient1=Crude Copper
|ingredient2=Skeleton Leg
|ingredient2-type=bone
|ingredient3=Graphite
}}

TODO

  • Add properties to parameters