I had seen something similar before, if not WikiPedias table mark up which is different in ways I don’t like.
- The current tiddlywiki method is great for quickly entering/typing a small table, documentation Tables in WikiText.
- The wikitext table is also better than many when wanting to align and merge cells
However when wanting your table to have rows and/or columns that respond to tiddlywiki data, the result of list widgets etc… I find using the full HTML table syntax easier to use for complex data driven tables.
For example try on tiddlywiki.com
<table>
<thead>
<tr>
<th>Tag</th>
<th>Count</th>
</tr>
</thead>
<tbody>
<$list filter="[tags[]limit[10]]">
<tr>
<td><<tag>></td>
<td><$text text={{{ [tag<currentTiddler>count[]] }}}/></td>
</tr>
</$list>
</tbody>
</table>
- Although someone may know a trick to doing this with the markup?
If you install the Internals plugin as as on tiddlywiki.com you can see the wiki tables converted to HTML
- This can assit in rapid development of and learing HTML table for use in TiddlyWiki (See evenRow/oddRow)
eg;
|myclass anotherClass|k
|This is a caption |c
|Cell1 |Cell2 |
|Cell3 |Cell3 |
|Header|Header|h
|Footer|Footer|f
Gives
<table class="myclass anotherClass"><caption>This is a caption </caption>
<tbody>
<tr class="evenRow">
<td align="left">Cell1</td><td align="left">Cell2</td>
</tr>
<tr class="oddRow">
<td align="left">Cell3</td><td align="left">Cell3</td>
</tr>
</tbody>
<thead><tr class="evenRow"><td>Header</td><td>Header</td></tr></thead>
<tfoot><tr class="oddRow"><td>Footer</td><td>Footer</td></tr></tfoot>
</table>
- Spacesa and new lines added for readability.