Made some updates. Hereâs what it looks like for 3 of your cases.
However, the problem with âParameterised transclusionsâ is that there is syntax nested inside of tables. AFAIK, most block wikitext doesnât work inside wikitext tables. So blockquotes, multi-line code blocks, headers â none of these work.
Iâm thinking of removing the code that attempts to make wikitext tables and instead keeping tables as HTML, albeit simplified â stripped of classes and arranged so the tags are easy to see. That way other tags could then be rendered as wikitext. Wikitext purists could then change the html table to wikitext by hand, if that seems warranted.
So, anyone else using this macro?