Jump to content

User talk:Plutonix/WikiTables

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Wiki tables examples

[edit]

Too tired to think about answering the above, but here's some tables that illustrate some things.

Example 1 - class=wikitable
The data
default 1 xxx 2 xxx 3 xxx 4 xxx 5 xxx
left 1 2 3 4 5
center 1 2 3 4 5
right 1 2 3 4 5
using "! x || x ||" 1 2 3 4 5 Note that they're all bold and centered
using "! x !! x !!" 1 2 3 4 5 Identcal result
split 1 2 3 4 5 Note that "!" line is bold-centered, but "|" line is "default" (=left)
Example 2 - Same, but without the class=wikitable
colspan The data
default 1 xxx 2 xxx 3 xxx 4 xxx 5 xxx
left 1 2 3 4 5
center 1 2 3 4 5
right 1 2 3 4 5
using "! x || x ||" 1 2 3 4 5 Note that they're all bold and centered
using "! x !! x !!" 1 2 3 4 5 Identcal result
split 1 2 3 4 5 Note that "!" line is bold-centered, but "|" line is "default" (=left)
Example 3 - colspan and rowspan
colspan The data
rowspan 1 xxx 2 xxx 3 xxx 4 xxx 5 xxx
both 2 3 4
rowspan 2 4 5
colspan 1 5
Example 4a - OMG what you've done looks complicated! Here's one way to do it
Heart
Release Date Jan 1, 1900 (US)
Jan 1, 1901 (Canada)
Record Label Capital / EMI Records, Inc
Chart Entry Jan 1, 1900
Entry Spot / Peak 5 / 2
Weeks on Chart 78
(RIAA ?) Status RIAA 5x Multi-Platinum
Example 4b - Here's another way
Album Name Heart
Release Date Jan 1, 1900 (US)
Jan 1, 1901 (Canada)
Record Label Capital / EMI Records, Inc
Chart Entry Jan 1, 1900
Entry Spot / Peak 5 / 2
Weeks on Chart 78
(RIAA ?) Status RIAA 5x Multi-Platinum