Difference between revisions of "Template:Recipe"

From SpiralKnights

Jump to: navigation, search
(Test)
m ({{documentation}})
Line 38: Line 38:
 
| bgcolor="#f5f5ff" colspan="2" | [[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
 
| bgcolor="#f5f5ff" colspan="2" | [[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
 
|}<noinclude>
 
|}<noinclude>
{| align="center" width="50%" style="background-color: transparent;"
+
{{documentation}}
|+ '''Use the following to display a recipe table.'''
+
|-
+
| <pre>
+
{{Recipe
+
| mat1 = (First material name)
+
| mat1amount = (First material amount)
+
| mat2 = (Second material name)
+
| mat2amount = (Second material amount)
+
| mat3 = (Third material name)
+
| mat3amount = (Third material amount)
+
| mat4 = (Fourth material name)
+
| mat4amount = (Fourth material amount)
+
| mat5 = (Fifth material name)
+
| mat5amount = (Fifth material amount)
+
| mat6 = (Sixth material name)
+
| mat6amount = (Sixth material amount)
+
| mat7 = (Seventh material name)
+
| mat7amount = (Seventh material amount)
+
| mat8 = (Eighth material name)
+
| mat8amount = (Eighth material amount)
+
| special = (Name of special item)
+
| speciallevel = (Level necessary for special item)
+
}}
+
</pre>
+
|}
+
 
</noinclude>
 
</noinclude>

Revision as of 23:31, 30 January 2011


Name Amount
[[Image:Crafting-{{{mat1}}}.png|18px]] [[{{{mat1}}}]] {{{mat1amount}}}
[[Image:Crafting-{{{mat2}}}.png|18px]] [[{{{mat2}}}]] {{{mat2amount}}}
[[Image:Crafting-{{{mat3}}}.png|18px]] [[{{{mat3}}}]] {{{mat3amount}}}
[[Image:Crafting-{{{mat4}}}.png|18px]] [[{{{mat4}}}]] {{{mat4amount}}}
[[Image:Crafting-{{{mat5}}}.png|18px]] [[{{{mat5}}}]] {{{mat5amount}}}
[[Image:Crafting-{{{mat6}}}.png|18px]] [[{{{mat6}}}]] {{{mat6amount}}}
[[Image:Crafting-{{{mat7}}}.png|18px]] [[{{{mat7}}}]] {{{mat7amount}}}
[[Image:Crafting-{{{mat8}}}.png|18px]] [[{{{mat8}}}]] {{{mat8amount}}}
[[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
[edit] [purge] Template documentation

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.

Personal tools