[[PageOutline(2-5,Contents,pullout)]] = Table Plugin = == Description == The !TablePlugin allows the creation of tables within a wiki page. As part of the table markup, styles can be defined in a CSS style markup. These styles can be applied to elements of the table, including the rows, columns and the overall table. The CSS styles can be defined as part of the table markup or as part of the !TableStyles wiki page inside a `codeblock`. This page is the recommended way to store and use any predefined styles. == Bugs/Feature Requests == Existing bugs and feature requests for TablePlugin are [report:9?COMPONENT=TablePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TablePlugin&owner=jonny new ticket]. == Download == Download the zipped source from [download:tableplugin here]. == Source == You can check out TablePlugin from [http://trac-hacks.org/svn/tableplugin here] using Subversion, or [source:tableplugin browse the source] with Trac. == Example == {{{ Example definition of a table: #!table @table table1: .table1 table, th, td { border: 1px solid black; } .table1 tbody tr:nth-child(even){ background-color:#444; color:yellow; } @css heading: font-weight: bold; text-align: center; @column task @column details @column status @row (@heading) @task: Task @details: Details @status: Status @task: Task 1 @details: Details of Task 1. @status: Complete @task: Task 2 @details: Details of Task 2. We should be highlighted correctly using tr:nth-child(even) @status: Complete @task: Task 3 @details: Details of Task 3. @status: Complete @task: Task 4 @details: Details of Task 4. We should be highlighted correctly using tr:nth-child(even) @status: Complete @task: Task 5 @details: Details of Task 5. @status: Complete @task: Task 6 @details: Details of Task 6. We should be highlighted correctly using tr:nth-child(even) @status: Complete @task: Task 7 @details: Details of Task 7. @status: Complete }}} == Recent Changes == [[ChangeLog(tableplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:jonny] [[BR]] '''Maintainer:''' [wiki:jonny] [[BR]] '''Contributors:'''