Andre Engels wrote:
Although also using HTML in this case, I still use a slightly different syntax. What I do is:
<table align=right> <tr><td align="center">[[image:xyz.jpg]] <tr><td align="center"> ''Some longer caption, which is wider<br>than the image itself'' </table>
OK, here's an idea: Let's keep the <table>s valid, but expand the wiki syntax for some often reoccurring cases!
I'm going to use HTML-style here, but we can do | or \ or {} or whatever:
<layout image right> [[image:xyz.jpg]]
''Some longer caption, which is wider<br>than the image itself'' </layout>
Which would translate <layout image right> => <table align=right width=1><tr><td align=center> </layout> => </table> (or </td></tr></table>)
We could also define that within <layout>, all blank lines are converted into <br>s.
Similar for the "current events" on the Main Page: <layout box center> ...stuff... </layout>
All this would _not_ eliminate <table> tags from wikipedia, but for every-day stuff, it would do. Things like the PSE or the nucleotide decay table would stay HTML.
Comments?
Magnus