Purpose
This infobox summarizes an item associated with a crafting recipe. It displays the item name, optional icon and image, and an optional link to a Recipe-namespace page with its crafting discipline and station.
Usage
{{Infobox Recipe
|name=
|icon=
|iconwidth=
|caption=
|craftrecipe=
|craftskill=
|crafttable=
|image=
|imagewidth=
}}
Parameters
| Parameter
|
Required
|
Explanation
|
name
|
No
|
Item name displayed at the top of the infobox and stored in Has recipename. Defaults to the page name.
|
icon
|
No
|
Icon filename. When omitted, the template looks for a page-derived filename with colons and slashes replaced by hyphens and _icon.png appended.
|
iconwidth
|
No
|
Icon width in pixels. Defaults to 64.
|
caption
|
No
|
Caption displayed beneath the detected icon.
|
craftrecipe
|
No
|
Recipe name. When supplied, the template links to Recipe: craftrecipe and stores the value in Has recipe.
|
craftskill
|
No
|
Crafting discipline displayed when craftrecipe is supplied. The value is linked and stored in Created with.
|
crafttable
|
No
|
Crafting station displayed when craftrecipe is supplied. The value is linked and stored in Requires table.
|
image
|
No
|
Filename of a representative image. When supplied, the template displays it and stores the filename in Has picture.
|
imagewidth
|
No
|
Display width passed to the representative-image row. Defaults to 250.
|
Behavior and unsupported inputs
The template always stores the effective item name in Has recipename and the current page name in Has pagename. If neither an explicit icon nor the page-derived icon exists, it adds the page to Category:Items missing icon.
The current template does not implement skilllevel or lastseen. Some legacy invocations pass those names, but they produce no output or semantic values here. Put recipe verification and proficiency details on the associated Recipe page using its supported template rather than relying on ignored Infobox Recipe inputs.
Example
{{Infobox Recipe
|name={{PAGENAME}}
|icon=Spool_of_Thread.png
}}
See Spool of Thread for this template in use. The example is not rendered here because it would assign recipe metadata to the documentation page.
|