Dyes/dye

 ||

Description
This template is used to list a Dye, primarily on the main Dye page. It displays a dye's inventory icon, an optional example image of the dye applied to a character, and creates an invisible anchor that can be linked using "" (spaces in the dye name are automatically converted to underscores in the anchor).

This template should only be used to display a dye that is the primary dye being listed. To display dyes in other areas of a dye list, eg. crafting ingredients or crafting results, use dye2 instead, which excludes the anchor.

Note that dye is intended for use in tables only. It places images in one cell and the item name in the next, so you will generally want to add  to the column header code. dye2 does not do this, and can be used in a single cell or outside a table.

Usage
Item name, without the word "Dye". "Dye" is added automatically. For Dye items that do not end with "Dye" (eg. Skiphs's Blood), enter the item name using the t= parameter instead; no "Dye" will be added to names entered that way.
 * Unnamed param 1

Optional: Quantity. Use this to enter a quantity number of a crafted Dye. The quantity number will be placed within parentheses following the dye name. Default is 1 which won't be displayed.
 * Unnamed param 2

Alternate method of entering the dye name. This method will not append "Dye" to the end of the name. If both an unnamed parameter and a t= parameter are entered, the name entered into this t= parameter will take precedence.
 * t

Optional: Set link = yes to create a link to the dye's page.
 * link

Optional: Display an example image of the dye applied to a character. Example images must be uploaded with the name "[dye name] applied". Set ex = png or gif to specify the extension of the image file.
 * ex


 * Example:  will display the file File:Red Dye applied.png.

''Note that some legacy images still exist as .jpg files. Images uploaded in the future should be either .png for still images, or .gif for animations.''

Optional: Use to display the Item ID of the dye item.
 * id