Template:ItemInfoTable/doc

ItemInfoTable Table
The ItemInfoTable was specially made for tables displaying an image, name, location, cost, and description. This template aims to provide an easier and more customized table for cosmetic item tables and dye tables. It aims to bring uniformity across similar tables on the wiki, while offering a high level of customization.

Benefits
The main benefits to using this table are as follows:
 * The table auto-formats and auto-links names, locations, and images.
 * The Pansun image automatically appears next to the price.
 * The price is automatically formatted with any needed punctuation.
 * While offering uniformity, the column titles, table name, and column widths can be manually set on a need basis.

Usage
For basic use

Renaming row names

All parameters

Parameters

 * BoxTitle
 * Default: List
 * Title of the table. Displays at the top of the table contents.


 * BoxWidth
 * Default: 100%
 * The width the entire table should take up. Accepts anything you throw at it, whether it's px, vw, or %.


 * collapse
 * Optional. When specified, the table's contents will initially appear hidden.


 * Column1Name
 * Default: Image
 * Optional. Title of Column 1 content.


 * Column2Name
 * Default: Name
 * Optional. Title of Column 2 content.


 * Column3Name
 * Default: Location
 * Optional. Title of Column 3 content.


 * Column4Name
 * Default: Cost
 * Optional. Title of Column 4 content.


 * Column5Name
 * Default: In-Game Description
 * Optional. Title of Column 5 content.


 * Column1Width
 * Default: auto
 * Optional. Width of Column 1. Accepts anything you thColumn at it, whether it's px, vw, or %.


 * Column2Width
 * Default: auto
 * Optional. Width of Column 2. Accepts anything you thColumn at it, whether it's px, vw, or %.


 * Column3Width
 * Default: auto
 * Optional. Width of Column 3. Accepts anything you thColumn at it, whether it's px, vw, or %.


 * Column4Width
 * Default: auto
 * Optional. Width of Column 4. Accepts anything you thColumn at it, whether it's px, vw, or %.


 * Column5Width
 * Default: auto
 * Optional. Width of Column 5. Accepts anything you thColumn at it, whether it's px, vw, or %. Automatically takes up the rest of the space available in the table.


 * Col2noformat
 * Optional. Removes formatting from column 2. This will remove any links automatically added for the text. Also removes any images auto added.


 * Col3noformat
 * Optional. Removes formatting from column 3. This will remove any links automatically added for the text. Also removes any images auto added.


 * Col4noformat
 * Optional. Removes formatting from column 4. This will remove any links automatically added for the text. Also removes any images auto added.

Note: This table supports X amount of rows, with X being 1-9999.... When creating rows, increase X by 1 for each row. See the example below for more information.
 * RowXImage
 * Image for Row. Only inlcude the filename, NOT the File:.


 * RowXName
 * Name of item. This will automatically create a link to it's article.


 * RowXLocation
 * Location of item. This will automatically create a link to the location's article.


 * RowXCost
 * Cost of the item. The number will be auto-formatted and the Pansun image will be added to the right of the number.


 * RowXDesc
 * The in-game description of the item. Any page linking needed can be done as well.

Example
The below example is taken from the Template:Cosmetics Bag page. 

Produces: Table below.