Template:Table
Jump to navigation
Jump to search
border="1" cellpadding="4" cellspacing="0" style="border:#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"
Usage
This template is used in the first line of the wiki-markup for a table as an easy way to make the table look like standard Wikipedia tables.
Example
Without this template, this table:
{| ! Column 1 !! Column 2 |- | A || B |- | C || D |}
displays as:
Column 1 | Column 2 |
---|---|
A | B |
C | D |
With the template, this table:
{| {{table}} ! Column 1 !! Column 2 |- | A || B |- | C || D |}
displays as:
Column 1 | Column 2 |
---|---|
A | B |
C | D |