I have been thoroughly enjoying the Internals Plugin. For those of you who haven’t discovered it yet, it’s one of the standard plugins, doesn’t require a reload and allows you to see the HTML as you type Wikitext.
But I wondered if I could hexp expand the Wikitext, giving it more functionality.
Is there someone who could help me get started? For example, add background colours to cells in a table and line widths and line types.
Which means you can use WikiText in your template tiddler.
For example: your template tiddler might have |NAME:|{{!!user-name}}|
When a tiddler refers to that template, we don’t need to create another table. If a large template is made, it saves a lot of space in TW.
@vuk mentioned using CSS. That’s also possible in this scenario. But it would be nice to use WikiText in the template instead.
That said, there’s a work-around if you use something like LibreOffice, OpenOffice or Word. When you drag an item into TW (but not your tiddler), you can get the HTML code made up for you. Certain elements are embedded into the HTML which normally should be handled by CSS. However, since you’re using templates through transclusion, much of the need for using single-source CSS (forgive me, I don’t know the proper page-developer term) is not necessary.
The combination of using transclusion with templates and WikiText might simplify layout creation.
Not abandoned, but I am not happy with it, so I do not promote it. It needed some adjustments to work with v5.4.0 … It lacks documentation … It needs to be simpler to use.
It is an opinion of mine when the table gets complex and fine grained styling is needed tranfering to full html tables is a smart move. They are a sophisticated and time tested solution and even llms produce decent ones with static data.
A few of us have built tw tables on top of html with nested list widgets and a few such as Mohammeds/Kookamas great dynamic table