-
The alternative question/title to this discussion is "How to emulate MediaWiki's categorization system in TiddlyWiki5?" The tag system in TiddlyWiki5 is very nice. I like how every tag can have a corresponding tiddler, which crucially can be tagged itself. In fact, I've (ab)used this functionality to produce something that resembles MediaWiki's category system. For example, I created a tiddler titled
which creates a viewable listing of all tiddlers tagged with This works in principle, but this approach requires retyping the name of the tag every time. It sounds like something which should be solvable with variable
I tried using procedures for it, but nothing I tried made it work:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I've also tried using the ListWidget, without success:
|
Beta Was this translation helpful? Give feedback.
-
Figured out were I went wrong: while inside a filter, the variables have a different syntax, with single angle brackets and without square brackets. See section "Special parameters" in Introduction to filter notation. The fixed wikitext is then: <<list-links filter:"[tag<currentTiddler>]">>
<$list filter="[tag<currentTiddler>sort[title]]"/> Though output of ListWidget needs heavy tweaking to resemble output of
|
Beta Was this translation helpful? Give feedback.
-
Hi @rybak glad you got it figured out. Questions about wikitext may get more response at https://talk.tiddlywiki.org |
Beta Was this translation helpful? Give feedback.
Figured out were I went wrong: while inside a filter, the variables have a different syntax, with single angle brackets and without square brackets. See section "Special parameters" in Introduction to filter notation.
The fixed wikitext is then:
Though output of ListWidget needs heavy tweaking to resemble output of
<<list-links>>
: