Template:Prettytable
Jump to navigation
Jump to search
border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 1em; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; "
Usage
{| {{prettytable}} |- | cell 1 | cell 2 |- | cell 3 | cell 4 |} |
|
Additional style rules can be added as an optional parameter:
{| {{prettytable|background: #FFF5FA; font-weight: bold;}} |- | cell 1 | cell 2 |- | cell 3 | cell 4 |} |
|
This template should not be used for sortable tables (class="wikitable sortable") as it will be overridden by the default sortable style.