Menu

#49 WikiMedia style tables

open
nobody
Browser (6)
5
2009-10-27
2009-10-27
No

Perhaps this involves a WikiMedia renderer, but given the code:

{| align="center"
|
a single cell
|+ style="caption-side: bottom;"|The caption
|}

the TWiki renderer gives:

{| align=&quot;center&quot;</p>
<table ><tr></tr>
</table>
<p>
a single cell</p>
<table ><tr><td>+ style=&quot;caption-side: bottom;&quot;</td><td>The caption</td></tr>
<tr><td>}</td></tr>
</table>

whereas a MediaWiki that supports captions gives:

<table align="center">
<tr>
<td>
<p>a single cell
</p>
</td><caption style="caption-side: bottom;">The Caption
</caption></tr></table>

As you can imagine, this makes for a fairly unsightly preview.

Discussion

  • The Shady Watcher

    • summary: Wikipedia style tables --> WikiMedia style tables
     
  • Channing Walton

    Channing Walton - 2009-10-28

    Hi,
    yes this would need a new renderer to work properly. I'm not sure I will get time to do that for a while though.

    Channing

     

Log in to post a comment.