Template:ItemRecipe

From DSP Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
[editview]
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
Visit Template:ItemRecipe/doc to edit this text! (How does this work?) (Refresh this text - why?)