Template:Recipe: Difference between revisions
(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...") |
No edit summary |
||
Line 9: | Line 9: | ||
:{{{sheet}}} | :{{{sheet}}} | ||
;Type | ;Type | ||
:[[{{{output-type}}}]] | :[[{{{output-type}}}]]{{#if:{{{output-level|}}}| | ||
;Item level | ;Item level | ||
:{{{output-level}}} | :{{{output-level}}}}} | ||
</div> | </div> | ||
{{clear}} | {{clear}} | ||
Line 29: | Line 29: | ||
; | ; | ||
:{{skill icon|{{{skill3}}}}} | :{{skill icon|{{{skill3}}}}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 61: | Line 60: | ||
:: Item Improvement | :: Item Improvement | ||
; output-type : Required. Type of item crafted by recipe. | ; output-type : Required. Type of item crafted by recipe. | ||
; output-level : | ; output-level : Optional. Level of item crafted by recipe. | ||
; skill1...skill3 : Required. Necessary skills to craft recipe. | ; skill1...skill3 : Required. Necessary skills to craft recipe. | ||
; ingredient1...ingredient3 : Required. Necessary materials to craft recipe. | ; ingredient1...ingredient3 : Required. Necessary materials to craft recipe. | ||
Line 68: | Line 67: | ||
== Example == | == Example == | ||
{{recipe | {{recipe | ||
|name=Elite Short Sword | |name=Elite Short Sword Sheet | ||
|icon=Weapon Manufacturing Sheet icon.gif | |icon=Weapon Manufacturing Sheet icon.gif | ||
|craft-level=1 | |craft-level=1 | ||
Line 74: | Line 73: | ||
|output-type=Sword | |output-type=Sword | ||
|output-level=20 | |output-level=20 | ||
|ingredient1=Crude Copper | |ingredient1=Crude Copper | ||
|ingredient2=Skeleton Leg | |ingredient2=Skeleton Leg | ||
|ingredient2-type=bone | |ingredient2-type=bone | ||
|ingredient3=Graphite | |ingredient3=Graphite | ||
|skill1=Smelting | |||
|skill2=Reinforcement | |||
|skill3=Design | |||
}} | }} | ||
<pre> | <pre> | ||
{{recipe | {{recipe | ||
|name=Elite Short Sword | |name=Elite Short Sword Sheet | ||
|icon=Weapon Manufacturing Sheet icon.gif | |icon=Weapon Manufacturing Sheet icon.gif | ||
|craft-level=1 | |craft-level=1 | ||
Line 90: | Line 89: | ||
|output-type=Sword | |output-type=Sword | ||
|output-level=20 | |output-level=20 | ||
|ingredient1=Crude Copper | |ingredient1=Crude Copper | ||
|ingredient2=Skeleton Leg | |ingredient2=Skeleton Leg | ||
|ingredient2-type=bone | |ingredient2-type=bone | ||
|ingredient3=Graphite | |ingredient3=Graphite | ||
|skill1=Smelting | |||
|skill2=Reinforcement | |||
|skill3=Design | |||
}} | |||
</pre> | |||
{{recipe | |||
|name=Level 1 Rare Cloak Sheet | |||
|icon=Armor Upgrade Sheet icon.gif | |||
|craft-level=18 | |||
|sheet=Item Improvement | |||
|output-type=Cape | |||
|ingredient1=Ruby | |||
|ingredient2=Killer Wolf Leather | |||
|ingredient3=Rutile | |||
|skill1=Reinforcement | |||
|skill2=Design | |||
|skill3=Refinement | |||
}} | |||
<pre> | |||
{{recipe | |||
|name=Level 1 Rare Cloak Sheet | |||
|icon=Armor Upgrade Sheet icon.gif | |||
|craft-level=18 | |||
|sheet=Item Improvement | |||
|output-type=Cape | |||
|ingredient1=Ruby | |||
|ingredient2=Killer Wolf Leather | |||
|ingredient3=Rutile | |||
|skill1=Reinforcement | |||
|skill2=Design | |||
|skill3=Refinement | |||
}} | }} | ||
</pre> | </pre> | ||
== TODO == | == TODO == | ||
:*Add properties to parameters | :*Add properties to parameters |
Revision as of 00:08, 1 July 2024
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
- Optional. 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 Sheet
- Req. level
- 1
- Sheet
- Item creation
- Type
- Sword
- Item level
- 20
Necessary Materials
Necessary Skills
{{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 }}
Level 1 Rare Cloak Sheet
- Req. level
- 18
- Sheet
- Item Improvement
- Type
- Cape
Necessary Materials
Necessary Skills
{{recipe |name=Level 1 Rare Cloak Sheet |icon=Armor Upgrade Sheet icon.gif |craft-level=18 |sheet=Item Improvement |output-type=Cape |ingredient1=Ruby |ingredient2=Killer Wolf Leather |ingredient3=Rutile |skill1=Reinforcement |skill2=Design |skill3=Refinement }}
TODO
- Add properties to parameters