Template:Recipe: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Infobox/styles.css" /> | <includeonly><templatestyles src="Infobox/styles.css" /> | ||
<div class="infobox recipe"> | <div class="infobox recipe {{#if:{{{upgrade|}}}|{{lcfirst:{{{upgrade}}}}}}}"> | ||
{{#if:{{{icon|}}}|<div class="infobox-icon">[[File:{{{icon}}}|40px]]</div>}} | {{#if:{{{icon|}}}|<div class="infobox-icon">[[File:{{{icon}}}|40px]]</div>}} | ||
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | ||
| Line 41: | Line 41: | ||
|output-type= | |output-type= | ||
|output-level= | |output-level= | ||
|upgrade= | |||
|skill1= | |skill1= | ||
|skill2= | |skill2= | ||
| Line 61: | Line 62: | ||
; output-type : Required. Type of item crafted by recipe. | ; output-type : Required. Type of item crafted by recipe. | ||
; output-level : Optional. Level 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. | ; 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 104: | Line 106: | ||
|sheet=Item Improvement | |sheet=Item Improvement | ||
|output-type=Cape | |output-type=Cape | ||
|upgrade=magic | |||
|ingredient1=Ruby | |ingredient1=Ruby | ||
|ingredient2=Killer Wolf Leather | |ingredient2=Killer Wolf Leather | ||
| Line 119: | Line 122: | ||
|sheet=Item Improvement | |sheet=Item Improvement | ||
|output-type=Cape | |output-type=Cape | ||
|upgrade=magic | |||
|ingredient1=Ruby | |ingredient1=Ruby | ||
|ingredient2=Killer Wolf Leather | |ingredient2=Killer Wolf Leather | ||
Revision as of 20:21, 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=
|upgrade=
|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.
- 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
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
|upgrade=magic
|ingredient1=Ruby
|ingredient2=Killer Wolf Leather
|ingredient2-type=leather
|ingredient3=Rutile
|skill1=Reinforcement
|skill2=Design
|skill3=Refinement
}}
TODO
- Add properties to parameters