Template:Itembox/doc

Usage
Small infobox that can be placed on page. Condensed so multiple can fit on the same page.

Parameters

 * width
 * The width of the itembox.


 * height
 * The height of the itembox.


 * name
 * The name of the item. This is also what page the itembox links to.


 * image
 * An image of the item.


 * cost
 * Optional. The cost of the item.


 * desc
 * Optional. Additional informative text. If used alongside cost, it will be in a separate box - it may be more desirable to just break-line in cost.


 * costheight
 * Optional, specify the height of the cost section. Can be useful to keep similar sizing with multiple itemboxes.


 * descheight
 * Optional, specify the height of the desc section. Can be useful to keep similar sizing with multiple itemboxes.


 * mainpercent
 * Optional, determine the percentage (in decimals) of the height of the itembox that the image will take.


 * epic
 * Optional, if present the item will be given the Epic Skin background.


 * displayname
 * Optional, displays as name of item, but will not change the link specified in "name".


 * nolink
 * Optional, if present the name will not be a link and the image will only direct to the image file.


 * noimglink
 * Optional, if present clicking the image will direct to the image file instead of the linked page.


 * compact
 * Optional, changes format to alternative compact form.

Examples
The following samples demonstrate the different possible icons from this template.

A basic itembox:

=

Itembox with a cost:

=

Itembox with cost, desc, costheight, descheight:

=

Multiple itemboxes side-by-side using flexbox:

Other variables:


 * displayname:

=


 * nolink:

=


 * noimglink:

=


 * compact:

=