This should actually be really easy to programatically achieve.
I would like to propose some simple enhancements to the “Advanced Tables” syntax:
Attribute | Wiki Syntax | HTML Transformation | Description |
---|---|---|---|
th | [[hcell]] | <th> | Header Cell |
colspan | [[cell colspan="2"]] | <td colspan="2"> | Allows a cell to span across multiple columns |
rowspan | [[cell rowspan="2"]] | <td rowspan="2"> | Allows a cell to span across multiple rows |
Though we don't necessarily require the th element, I included it only because the “Simple Tables” use them in their syntax. Anything you can possibly do in a “simple” table should also be achievable in an “advanced” table, in my opinion.
I have been wanting colspan and rowspan for forever now. I wonder why no one has made a wish for it until now!
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
You could have made the wish ;-)
Seems we all forgot to request this.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
7 votes in 24 hours. On the weekend. That's impressive. It means people really want this feature.
Good wish James! Forgot about it also… I thought it to be a such stupid problem that I stoped including complex tables in my solutions… So yes… I forgot about it. But it would be good and easy to have this, instead of calculating widths an border collaps and…
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Have always needed this.
Any word on this? Such a simple change, but powerful. It's frustrating that it's available in the "simple" table syntax, but as soon as you want to add styles, your hands are tied.
Nested tables are also not a good solution, because they don't maintain consistent column widths from one row to the next. And manually specifying widths for each column, in each row of each table is horribly repetitive and error-prone.
*Bump!*
Come on Wikidot! This wish is piss easy!
Though it is possible to work without TH, I feel the reason it is most necessary is because of a deficiency elsewhere. When using ListPages module and outputting data in a table, one must put their table definition and header row within the argument "prependLine". It's a major pain in the butt to set a class or style for any of those elements due to not being able to easily use quotation marks within an argument that requires quotation marks. This makes providing different formatting for the a header line on such a table a clutsy endeavor. If we could generate TH elements, they are simple to style separately from TD cells using CSS.
Besides, why does the simple version have functionality the advanced version lacks? This seems counter-intuitive at best. As an experienced programmer, I almost feel like WikiDot is intentionally punishing my intelligence and curiosity.
Wow!
Thanks for accepting this!
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Now we have another new issue to test and implemnt and change in the ListPages Modules…
Thanks to the Team!
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Just now saw that this was done; thanks Wikidot!
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
You're welcome! :)