Difference between revisions of "Template:Recipe Icon"
From SpiralKnights
m (Added more detailed usage notes.) |
m (Explanation) |
||
Line 1: | Line 1: | ||
[[Image:Recipe-icon_{{{1<noinclude>|sword</noinclude>}}}.png|{{{3|36}}}px|link={{{2|Calibur}}}]] [[{{{2|Calibur}}}|{{{2|Calibur recipe}}}]] <noinclude> | [[Image:Recipe-icon_{{{1<noinclude>|sword</noinclude>}}}.png|{{{3|36}}}px|link={{{2|Calibur}}}]] [[{{{2|Calibur}}}|{{{2|Calibur recipe}}}]] <noinclude> | ||
− | + | {{Documentation | |
− | Usage | + | | content = |
− | The first parameter is type of recipe. Please use "helmet", "armor", "shield", "sword", "handgun", or "bomb" as appropriate. | + | Creates a link to the equipment page with a click-through recipe icon. |
− | The second parameter is the full name of recipe, without the word "recipe". For example, "Emberbreak Armor". | + | == Usage == |
− | The third parameter (optional) is the size of icon to be displayed | + | <nowiki>{{Recipe_Icon|armor|Emberbreak Armor|40}}</nowiki> |
+ | == Parameters == | ||
+ | === Optional === | ||
+ | ; 1 : The first parameter is the type of recipe. Please use "helmet", "armor", "shield", "sword", "handgun", or "bomb" as appropriate. | ||
+ | ; 2 : The second parameter is the full name of the recipe, without the word "recipe". For example, "Emberbreak Armor". | ||
+ | ; 3 : The third parameter (optional) is the size in pixels of the icon to be displayed (defaults to 36). | ||
+ | }}</noinclude> |
Revision as of 14:28, 6 September 2012
Creates a link to the equipment page with a click-through recipe icon.
Usage
{{Recipe_Icon|armor|Emberbreak Armor|40}}
Parameters
Optional
- 1
- The first parameter is the type of recipe. Please use "helmet", "armor", "shield", "sword", "handgun", or "bomb" as appropriate.
- 2
- The second parameter is the full name of the recipe, without the word "recipe". For example, "Emberbreak Armor".
- 3
- The third parameter (optional) is the size in pixels of the icon to be displayed (defaults to 36).
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |