caption: Tables created: 20130914132100000 modified: 20220819103416274 tags: WikiText title: Tables in WikiText type: text/vnd.tiddlywiki ! Basics TiddlyWiki5 formats tables using vertical bar `|` characters. Exclamation marks `!` are used to indicate header cells. <> ! Cell Alignment Table cell alignment is controlled by inserting space characters before and/or after the cell content. For example: <> ! Cell vertical Alignment Vertical alignment of cells is done by inserting either a `^` for top alignment or a `,` for bottom alignment as the first character of a cell. The normal horizontal alignment is still possible. For example: ``` |^top left |^ top center |^ top right| |middle left | middle center | middle right| |,bottom left |, bottom center |, bottom right| ``` The example renders as: | :: | ::::::::::::::::::::::::::: | ::::::::::::::::::::::::::: | ::::::::::::::::::::::::::: | :: | | ::
:: |^top left |^ top center |^ top right| ::
:: | | ::
:: |middle left | middle center | middle right| ::
:: | | ::
:: |,bottom left |, bottom center |, bottom right| ::
:: | | :: | ::::::::::::::::::::::::::: | ::::::::::::::::::::::::::: | ::::::::::::::::::::::::::: | :: | If you need to have a `^`or a `,` as the first character of a left aligned cell, you can use HTML escaping: | `^` | &#94; | | `,` | &#44; | ! Cell Merging To merge a table cell with the one above, use the special cell text `~`. To merge a cell with the one to its left use the text `<`. To merge one to its right use `>`. For example: <|Cell9 |Cell10 |Cell11 | """>> ! Table Classes, Captions, Headers and Footers {{Table Classes, Captions, Headers and Footers}} More examples can be found at: [[Tables in WikiText CSS Utility Classes]]