Advanced Tables
Table Plugin
This plugin extends the basic table markup with the following features:
• merge cells horizontally and/or vertically (colspan and rowspan)
• auto-numbering of rows
• multi-line table markup to ease the entry of large or complex table cells, including nested tables
• additional formatting for odd/even rows, headers, etc.
[{Table
|Nr |A |< |C |<
|#|a |b |c |(background:yellow;)d
|#|^ |b |^ |(background:yellow;)d
}]
You can easily organize any content into grid layout with this:
[{Table
|[{ProjectList}] |(vertical-align:top;) [{MySubscriptions}]
|^ |(vertical-align:top;) [{PullRequests}]
}]
See more details on the
plugin's home page.
Zebra Striped Tables
You can render alternate row coloring for large tables. by enclosing them inside zebra- tags. You can specify the odd and even colors using HTML hex color values or HTML color names like aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow, and transparent.
%%zebra-#FFFFCE-#F0C000
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%
Sortable Tables
You can make tables sortable by enclosing them inside a sortable block. Just click the column header and your table is sorted without a round-trip to the server.
%%sortable
|| Title || Author || Published || Edition
| book1|zappy|25-Feb-2005 |5
| book2|happy|25-Jan-2005 |19
| book3|pappy|23-Mar-2005 |06
| book4|dappy|21-Apr-2005 |199
| book5|rappy|25-Jul-2005 |017
%%
Title | Author | Published | Edition |
---|
book1 | zappy | 25-Feb-2005 | 5 |
book2 | happy | 25-Jan-2005 | 19 |
book3 | pappy | 23-Mar-2005 | 06 |
book4 | dappy | 21-Apr-2005 | 199 |
book5 | rappy | 25-Jul-2005 | 017 |