Template:CompareBox

Components:

Template:CompareBox/Top | edit

Template:CompareBox/Row | edit

Template:CompareBox/Bottom | edit

Overview
CompareBox is designed to be a modular, flexible and customizable table with use in multiple applications. While originally intended to be used with icon templates, so that multiple attributes can be sorted and compared, there are other potential uses.

Default Example
Example with default settings:

Top Variables
this will create within the table: colspan="1" rowspan="2"
 * sortable
 * Usage: "sortable = false" will turn off sortable class
 * cellspacing
 * Default: 1
 * cellpadding
 * Default: 5
 * align
 * Default: no alignment
 * font-size
 * Default: 100%
 * width (Width of table)
 * Default: 100%
 * width 1 (Width of first column)
 * Default: 100%
 * colspan defaults are all 1
 * colspan 1 (First cell)
 * colspan 2 (Second cell)
 * colspan 3 (Third cell)
 * colspan 4 (Fourth cell)
 * colspan 5 (Fifth cell)
 * colspan 6 (Sixth cell)
 * Usage: colspan can also allow "rowspan" by using it as follows:
 * colspan 1 = 1" rowspan="2

Row Variables

 * text-align (Text align of first cell)
 * Default: left
 * font-size (Font-size of first cell)
 * Default: 100%

Armor
Result:

Enemy Defense
Result: