Template:ItemRecipe/doc

Template page
< Template:ItemRecipe
Revision as of 21:29, 19 January 2021 by imported>76561198018895007 (Created page with "This template is NOT meant to stand on its own. It is used in Template:ItemInfo. Usage:<pre><nowiki> {{ItemRecipe |Out1= |Out1Qty= |Out2= |Out2Qty= |CraftTi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is NOT meant to stand on its own. It is used in Template:ItemInfo.

Usage:

  {{ItemRecipe
    |Out1= |Out1Qty=
    |Out2= |Out2Qty=
    |CraftTime=
    |In1= |In1Qty=
    |In2= |In2Qty=
    |In3= |In3Qty=
    |In4= |In4Qty=
    |In5= |In5Qty=
    |In6= |In6Qty=
  }}

There can be a maximum of 2 outputs, and 6 inputs. Remove any that are not used.

NOTE: The Out1/Out2 and In1...In6 Fields MUST match the file name, but WITHOUT the Icon_ prefix or .png suffix.
For example, if the icon file name is Icon_Unknown.png then you would put: Unknown. This allows the mouseover alt text to be just the Item name, and the Template adds the Icon_ and .png to load the image.

Usage Example:

  {{ItemRecipe
    |Out1=Unknown |Out1Qty=1
    |CraftTime=10 s
    |In1=Unknown |In1Qty=1
    |In2=Unknown |In2Qty=4
  }}

Result:

Icon Unknown.png
1
10 s
Icon Unknown.png
1
Icon Unknown.png
4
🍪 We use cookies to keep session information to provide you a better experience.