Loading...
 
Skip to main content

Features / Usability


wiki syntax for tables do not work

I just noticed this evening that the wiki syntax for tables does not work for me. If I input the following into a page, I get the same thing back out — no translation occurs at all:

Copy to clipboard
||row1-col1|row1-col2|row1-col3 row2-col1|row2-col2col3||


Any idea what might be causing this?

If I use FANCYTABLE everything works fine.

I'd really like to figure this out, as I'm having to resort to HTML table syntax to format text.

Any help you can offer is much appreciated.

Thanks,
Starlock

But following syntax works well in old version (maybe before 1.9.x, I cannot remember clearly).

row1-col1row1-col2row1-col3
row2-col1row2-col2 row2-col3


When we upgrade our tikiwiki to current version, it also fail !
(interesting, it works well in tiki's official web)

row1-col1row1-col2row1-col3
row2-col1|row2-col2 | row2-col3||

Keep in mind there are two options for wiki table syntax --"|| for rows" and "\n for rows" (new line in the wiki edit box for a new row in the table). The second option is older, the first is relatively new. If tables were made originally with one method and then the option was changed, the old tables might break, I'm not sure. The example you show is the newer method, which this site is configured to use.

-- Gary


I've found when I split a table over lines (but a break in it) then it doesn't do it properly. If you placed a '||' between row1-col3 and row2-col1 and kept it all on an unbroken line, it will work.

> I've found when I split a table over lines (but a break in it) then it doesn't do it properly. If you placed a '||' between row1-col3 and row2-col1 and kept it all on an unbroken line, it will work.

Thanks. That was exactly what the problem was. Interestingly enough, some of the examples I found for tables in the docs site are not correct...as I tried those examples thinking they were and got the results I described above. I appreciate you pointing me in the right direction. 😊

> Interestingly enough, some of the examples I found for tables in the docs site are not correct...as I tried those examples thinking they were and got the results I described above.

Where are these bad examples in the docs? Obviously this is something that should be corrected. Thanks.

-- Gary

> I've found when I split a table over lines (but a break in it) then it doesn't do it properly. If you placed a '||' between row1-col3 and row2-col1 and kept it all on an unbroken line, it will work.

That's because your wiki table syntax choice is apparently set to "|| for rows". You can switch this (on the Admin Wiki page) to "/n for rows".

-- Gary