Template:Item link 2-cell/doc

This template is similar to the item link template, but is meant for use in tables where the item image and item name are to be placed in separate, horizontally adjacent table cells. This allows all item images to align with each other, separate from the text names which will also align with each other.

Usage
Use the shortcut il2c for convenience:

This displays an centered image link for the item in one cell, and a text link in the next.


 * unnamed parameter 1
 * Item name.


 * unnamed parameter 2
 * Optional parameter to set the CSS style of the cell containing the item name.


 * istyle
 * Optional parameter to set the CSS style of the cell containing the item image.


 * tstyle
 * Optional parameter same as parameter 2.


 * attr
 * Optional parameter to set cell attributes (e.g., rowspan).
 * A colon can be used between the attribute and its value, or =.
 * The default middle vertical alignment for rowspans greater than 1 can be changed with valign=top (attr=valign:top).


 * size
 * Optional parameter to set the image width.


 * id
 * Optional parameter to display the item ID.


 * t
 * Optional parameter to set custom link text. This replaces the item name displayed, while keeping the link destination and image intact.


 * image
 * Optional parameter to set a custom image. This replaces the image displayed, while keeping the link destination and text intact. Enter as a naked image name with no [[File: code, eg. Paintbrush.png.

Example
Produces: