Difference between revisions of "Template:CompactTable"
(add facility for 12th row to allow use on Olympic Basketball medal tables) |
m (1 revision) |
(No difference)
| |
Latest revision as of 07:24, 22 August 2014
Usage
Creates a table of up to 12 rows and 4 columns, with tightly packed entries and no other formatting. Useful for creating neat columns of items within a larger table cell, for example.
{{CompactTable
|r1c1 = entry for row 1, column 1
|r1c2 = entry for row 1, column 2
...
|r1c8 = entry for row 1, column 8
|r2c1 = entry for row 2, column 1
...
|r9c4 = entry for row 9, column 4
}}
Empty table cells are permitted.
Example
| r1c1 | r1c2 | r1c3 | r1c4 | |||
| r2c1 | r2c2 | r2c3 | ||||
| r3c1 | r3c2 | r3c3 | r3c4 | |||
| r4c2 | ||||||
| r5c1 | r5c3 | r5c4 | ||||
| r6c1 | r6c2 | r6c3 | r6c4 | |||
| r7c1 | r7c2 | r7c4 | ||||
| r8c1 | r8c2 | r8c3 | r8c4 | |||
| r9c2 | r9c3 | r9c4 |
| The above documentation is transcluded from Template:CompactTable/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |