Difference between revisions of "Template:Recipe"
From SpiralKnights
m ({{documentation}}) |
m (Grammar) |
||
Line 1: | Line 1: | ||
{{#switch: {{{star}}} | {{#switch: {{{star}}} | ||
− | | 1 = The [[crafting|alchemy]] | + | | 1 = The [[crafting|alchemy]] cost for this 1-star item is 200 [[crowns]] and 10 [[energy]]. Below are the materials needed to make the {{PAGENAME}}. |
− | | 2 = The [[crafting|alchemy]] | + | | 2 = The [[crafting|alchemy]] cost for this 2-star item is 400 [[crowns]] and 50 [[energy]]. Below are the materials needed to make the {{PAGENAME}}. |
− | | 3 = The [[crafting|alchemy]] | + | | 3 = The [[crafting|alchemy]] cost for this 3-star item is 800 [[crowns]] and 100 [[energy]]. Below are the materials needed to make the {{PAGENAME}}. |
− | | 4 = The [[crafting|alchemy]] | + | | 4 = The [[crafting|alchemy]] cost for this 4-star item is 1,600 [[crowns]] and 200 [[energy]]. Below are the materials needed to make the {{PAGENAME}}. |
− | | 5 = The [[crafting|alchemy]] | + | | 5 = The [[crafting|alchemy]] cost for this 5-star item is 3,200 [[crowns]] and 300 [[energy]]. Below are the materials needed to make the {{PAGENAME}}. |
}} | }} | ||
Revision as of 23:33, 30 January 2011
Name | Amount |
---|
[edit] [ ] Template documentation
Contents
Usage
To display a recipe and link to the item that recipe is for. The template also links to the recipe page via the icon.
Code
{{recipe|ITEMNAME|TYPE}}
Parameters
Required
|1
- The item's name (not item name recipe, just item name. Use capitals etc - the item's true name)
|2
- The item's type. Types include:
- armor
- helmet
- shield
- bomb
- handgun
- sword
- rarity (fire crystals)
Other recipes built in to certain alchemy machines do not have item recipe icons.
Please use lowercase.
Optional
|star
- 0,1,2,3,4, or 5. Shows the star level in parenthesis, uses Template:Star.
Notes
We could have the recipe icon change to the appropriate item type via a switch containing all items, but that seems silly to maintain when we can just have a type field.
The above documentation is transcluded from Template:Recipe/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |