Template:Recipe: Difference between revisions

From FHX Wiki
mNo edit summary
Tag: Manual revert
mNo edit summary
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
:[[{{{output-type}}}]]{{#if:{{{output-level|}}}|
:[[{{{output-type}}}]]{{#if:{{{output-level|}}}|
;Item level
;Item level
:{{{output-level}}}}}
:{{{output-level}}}}}{{#if:{{{craft-cost|}}}|
;Craft cost
:{{money|value={{{craft-cost}}}|showZeros=0}}}}
</div>
</div>
{{clear}}
{{clear}}
Line 28: Line 30:
:{{skill icon|{{{skill2}}}}}
:{{skill icon|{{{skill2}}}}}
;
;
:{{skill icon|{{{skill3}}}}}
:{{skill icon|{{{skill3}}}}}{{#if:{{{skill4|}}}|
;
:{{skill icon|{{{skill4}}}}}}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Description ==
== Description ==
Line 39: Line 43:
|sheet=
|sheet=
|craft-level=
|craft-level=
|craft-cost=
|output-type=
|output-type=
|output-level=
|output-level=
Line 45: Line 50:
|skill2=
|skill2=
|skill3=
|skill3=
|skill4=
|ingredient1=
|ingredient1=
|ingredient1-type=
|ingredient1-type=
Line 55: Line 61:
== Parameters ==
== Parameters ==
; name : Optional. Only include if the name of the Recipe name differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; name : Optional. Only include if the name of the Recipe name differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; icon : Required. Crafting sheet icon.
; icon : Required. Crafting sheet icon. Options:
:: Armor Manufacturing Sheet icon.gif
:: Bow Manufacturing Sheet icon.gif
:: Mystical Manufacturing Sheet icon.gif
:: Weapon Manufacturing Sheet icon.gif
:: Armor Magic Upgrade Sheet icon.gif
:: Mystical Magic Upgrade Sheet icon.gif
:: Weapon Magic Upgrade Sheet icon.gif
:: Armor Rare Upgrade Sheet icon.gif
:: Mystical Rare Upgrade Sheet icon.gif
:: Weapon Rare Upgrade Sheet icon.gif
; craft-level : Required. Required manufacturing level to craft recipe.
; craft-level : Required. Required manufacturing level to craft recipe.
; craft-cost : Optional. The cost to perform the craft action in the Crafting window.
; sheet : Required. Type of crafting sheet. Options:  
; sheet : Required. Type of crafting sheet. Options:  
:: Item Creation
:: Item Creation

Revision as of 04:58, 26 August 2024

Description

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

{{recipe
|name=
|icon=
|sheet=
|craft-level=
|craft-cost=
|output-type=
|output-level=
|upgrade=
|skill1=
|skill2=
|skill3=
|skill4=
|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. Options:
Armor Manufacturing Sheet icon.gif
Bow Manufacturing Sheet icon.gif
Mystical Manufacturing Sheet icon.gif
Weapon Manufacturing Sheet icon.gif
Armor Magic Upgrade Sheet icon.gif
Mystical Magic Upgrade Sheet icon.gif
Weapon Magic Upgrade Sheet icon.gif
Armor Rare Upgrade Sheet icon.gif
Mystical Rare Upgrade Sheet icon.gif
Weapon Rare Upgrade Sheet icon.gif
craft-level
Required. Required manufacturing level to craft recipe.
craft-cost
Optional. The cost to perform the craft action in the Crafting window.
sheet
Required. Type of crafting sheet. Options:
Item Creation
Item Improvement
output-type
Required. Type of item crafted by recipe.
output-level
Optional. Level of item crafted by recipe.
upgrade
Optional. Improvement type for upgrade sheets. Options: magic, rare
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

{{recipe
|name=Elite Short Sword Sheet
|icon=Weapon Manufacturing Sheet icon.gif
|craft-level=1
|sheet=Item creation
|output-type=Sword
|output-level=20
|ingredient1=Crude Copper
|ingredient2=Skeleton Leg
|ingredient2-type=bone
|ingredient3=Graphite
|skill1=Smelting
|skill2=Reinforcement
|skill3=Design
}}
{{recipe
|name=Level 3 Magic Weapon Sheet
|icon=Weapon Magic Upgrade Sheet icon.gif
|craft-level=30
|sheet=Item Improvement
|output-type=Weapon
|upgrade=magic
|ingredient1=Pearl
|ingredient2=Sharp Grizzly Tooth
|ingredient2-type=tooth
|ingredient3=Dusy Jelly Piece
|ingredient3-type=jelly
|skill1=Reinforcement
|skill2=Design
|skill3=Refinement
}}
{{recipe
|name=Level 1 Rare Cloak Sheet
|icon=Armor Rare Upgrade Sheet icon.gif
|craft-level=18
|sheet=Item Improvement
|output-type=Cape
|upgrade=rare
|ingredient1=Ruby
|ingredient2=Killer Wolf Leather
|ingredient2-type=leather
|ingredient3=Rutile
|skill1=Reinforcement
|skill2=Design
|skill3=Refinement
}}

Elite Short Sword Sheet

Req. level
1
Sheet
Item creation
Type
Sword
Item level
20
Necessary Materials
Crude Copper
Skeleton Leg
Graphite
Necessary Skills
Smelting
Reinforcement
Design

Level 3 Magic Weapon Sheet

Req. level
30
Sheet
Item Improvement
Type
Weapon
Necessary Materials
Pearl
Sharp Grizzly Tooth
Dusy Jelly Piece
Necessary Skills
Reinforcement
Design
Refinement

Level 1 Rare Cloak Sheet

Req. level
18
Sheet
Item Improvement
Type
Cape
Necessary Materials
Ruby
Killer Wolf Leather
Rutile
Necessary Skills
Reinforcement
Design
Refinement

TODO

  • Add properties to parameters