Template:Recipe: Difference between revisions
m (→Example) |
No edit summary |
||
(3 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}}}}}[[Category:Sheets that use {{{ingredient1}}}]] | :{{item icon|{{{ingredient1}}}|{{{ingredient1-type}}}}}[[Category:Sheets that use {{{ingredient1}}}|{{{output-type}}}]] | ||
; | ; | ||
:{{item icon|{{{ingredient2}}}|{{{ingredient2-type}}}}}[[Category:Sheets that use {{{ingredient2}}}]] | :{{item icon|{{{ingredient2}}}|{{{ingredient2-type}}}}}[[Category:Sheets that use {{{ingredient2}}}|{{{output-type}}}]] | ||
; | ; | ||
:{{item icon|{{{ingredient3}}}|{{{ingredient3-type}}}}}[[Category:Sheets that use {{{ingredient3}}}]] | :{{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|}}}| | ||
; | ; | ||
:{{skill icon|{{{skill4}}}}}}} | :{{skill icon|{{{skill4}}}}}}} | ||
</div></includeonly><noinclude> | </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 83: | 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.) | ||
== 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