Difference between revisions of "Mediawiki table"
From thelinuxwiki
(Pushed from Themanclub.) |
Latest revision as of 01:52, 26 February 2013
Table headers
Table headers can be created by using "!
" (exclamation mark) instead of "|
" (pipe symbol). Headers usually show up bold and centered by default.
You type | You get | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| cellspacing="5" border="1" ! align="left"|Item ! Amount ! Cost |- |row 1, col 1 |row 1, col 2 |row 1, col 3 |- |row 2, col 1 |row 2, col 2 |row 2, col 3 |- |row 3, col 1 |row 3, col 2 |row 3, col 3 |- !Total | |15.00 |} |
|
Note: When using attributes as in the heading 'Item' a vertical bar '|' is used for separation. Not an exclamation character '!'.