Template:Recipe: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 18: Line 18:
<div class="subheading">Necessary Materials</div>
<div class="subheading">Necessary Materials</div>
;
;
:{{item icon|{{{ingredient1}}}|{{{ingredient1-type}}}}}
:{{item icon|{{{ingredient1}}}|{{{ingredient1-type}}}}}[[Category:Sheets that use {{{ingredient1}}}|{{{output-type}}}]]
;
;
:{{item icon|{{{ingredient2}}}|{{{ingredient2-type}}}}}
:{{item icon|{{{ingredient2}}}|{{{ingredient2-type}}}}}[[Category:Sheets that use {{{ingredient2}}}|{{{output-type}}}]]
;
;
:{{item icon|{{{ingredient3}}}|{{{ingredient3-type}}}}}
:{{item icon|{{{ingredient3}}}|{{{ingredient3-type}}}}}[[Category:Sheets that use {{{ingredient3}}}|{{{output-type}}}]]
{{clear}}
{{clear}}
<div class="subheading">Necessary Skills</div>
<div class="subheading">Necessary Skills</div>
Line 30: Line 30:
:{{skill icon|{{{skill2}}}}}
:{{skill icon|{{{skill2}}}}}
;
;
:{{skill icon|{{{skill3}}}}}
:{{skill icon|{{{skill3}}}}}{{#if:{{{skill4|}}}|
</div></includeonly><noinclude>
;
:{{skill icon|{{{skill4}}}}}}}
</div>{{#if:{{{upgrade|}}}|[[Category:Level {{string split|{{PAGENAME}}|" "|2}} upgrade sheets]]|{{clear}}}}</includeonly><noinclude>
== Description ==
== Description ==
This is the '''{{PAGENAME}}''' template.
This is the '''{{PAGENAME}}''' template.
Line 48: Line 50:
|skill2=
|skill2=
|skill3=
|skill3=
|skill4=
|ingredient1=
|ingredient1=
|ingredient1-type=
|ingredient1-type=
Line 80: Line 83:
; ingredient1...ingredient3 : Required. Necessary materials 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.)
; ingredient1-type...ingredient3-type : Optional. Alternate material name for icon search. (e.g. bone, green slime small, etc.)
== Example ==
<pre>
{{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
}}
</pre>
{{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
}}


== TODO ==
== TODO ==

Latest revision as of 03:18, 3 October 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.)

TODO

  • Add properties to parameters