Template:Recipe: Difference between revisions
m (→Example) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Infobox/styles.css" /> | <includeonly><templatestyles src="Infobox/styles.css" /> | ||
<div class=" | <div class="recipe {{#if:{{{upgrade|}}}|{{lcfirst:{{{upgrade}}}}}}}"> | ||
{{#if:{{{icon|}}}|<div class=" | {{#if:{{{icon|}}}|<div class="recipe-icon">[[File:{{{icon}}}|40px]]</div>}} | ||
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
Line 83: | Line 83: | ||
|skill2=Reinforcement | |skill2=Reinforcement | ||
|skill3=Design | |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=jelly | |||
|skill1=Reinforcement | |||
|skill2=Design | |||
|skill3=Refinement | |||
}} | }} | ||
{{recipe | {{recipe | ||
Line 114: | Line 130: | ||
|skill2=Reinforcement | |skill2=Reinforcement | ||
|skill3=Design | |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=jelly | |||
|skill1=Reinforcement | |||
|skill2=Design | |||
|skill3=Refinement | |||
}} | }} | ||
{{recipe | {{recipe |
Revision as of 01:29, 4 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
{{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=jelly |skill1=Reinforcement |skill2=Design |skill3=Refinement }} {{recipe |name=Level 1 Rare Cloak Sheet |icon=Armor 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
Necessary Skills
Level 3 Magic Weapon Sheet
- Req. level
- 30
- Sheet
- Item Improvement
- Type
- Weapon
Necessary Materials
Necessary Skills
Level 1 Rare Cloak Sheet
- Req. level
- 18
- Sheet
- Item Improvement
- Type
- Cape
Necessary Materials
Necessary Skills
TODO
- Add properties to parameters