Difference between revisions of "Template:Recipe"

From SpiralKnights

Jump to: navigation, search
m (It works, but whoops, it aligns center. Not anymore.)
m (Leave align as left to keep icons lined up)
Line 8: Line 8:
 
}}
 
}}
  
{| cellpadding="0" cellspacing="4" style="border: 2px solid #496e8b; background: #114255; text-align:center;" class="sortable round"
+
{| cellpadding="0" cellspacing="4" style="border: 2px solid #496e8b; background: #114255;" class="sortable round"
 
|-  valign="top"
 
|-  valign="top"
 
| style="background: #ebc94d; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | '''Name'''
 
| style="background: #ebc94d; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | '''Name'''
Line 40: Line 40:
 
| style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |{{{mat9amount}}}
 
| style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |{{{mat9amount}}}
 
|- {{#if: {{{special|}}} || style="display: none;"}}
 
|- {{#if: {{{special|}}} || style="display: none;"}}
| colspan="2" style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" |[[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
+
| colspan="2" style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px; text-align:center;" |[[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
 
|}
 
|}
  
 
''Note: When crafting using a bound item as a precursor, the upgraded item will also be bound.''<noinclude>{{documentation}}</noinclude>
 
''Note: When crafting using a bound item as a precursor, the upgraded item will also be bound.''<noinclude>{{documentation}}</noinclude>

Revision as of 13:54, 17 July 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:Crafting-{{{mat9}}}.png|18px]] [[{{{mat9}}}]] {{{mat9amount}}}
[[Image:Equipment-{{{special}}}_icon.png|36px]] [[{{{special}}}]] (Level {{{speciallevel}}})
Note: When crafting using a bound item as a precursor, the upgraded item will also be bound.
[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