Demo (the demo use a field named location and list all the countries ever listed in that field, then for each country list all the relevant tiddlers): https://demos.tiddlyhost.com/#/find-listed-links
It takes a bit of time to learn how to find relevant info in the doc, for sure. For filters specifically, you can refer to this tiddler: https://tiddlywiki.com/#Filter%20Operators
Generally you can find what you want quickly in this table.
Note that tiddlywiki is open source so if you know how to improve the doc, feel free to create a Pull Request !
In my testing I have some fields where the “value” is two words sepparted by a space. The filter treats them as two separate values, rather that the one they are intended to be. How can I fix this?
{{{ "one two three" +[count[]] }}} = 1
{{{ [[one two]] three +[count[]] }}} = 2
{{{ one two three +[count[]] }}} = 3
If this is an issue then you could define a list separator and treat the field as one text string to split using the separator you defined, but this will increase the complexity of the filter.
If your field contains only one title with spaces you need NOT format it to titles with square brackets.
If you are storing more than one title in a field there is now the format:titlecase operator and when manipulating lists (other than tags) we use the listops operators and listops action.
The format:titlelist (I suppose since I dont find the format:titlecase) operator would work for a field with a single title, but for multiple titles in the same field brackets or “” are needed, otherwise tiddlywiki has no way of knowing when a title begins or stop.
If you use [[tiddler names]] I believe only space delimited is necessary (maybe not even that) but it all depends on how you are “enlisting” the list. One way to think of it is a list can be a filter, only a filter with a list of tiddlernames.
I must revisit the different list manipulating parts of tiddlywiki core to check which are the key methods used, and if more than one, I think have seen comma delimited as well.
Personally I like to code fields containing titles in a way that they are also valid as filters because then you can include a filter eg; [[title 1]] title2 [tag[mytag]]
expect a title list, and while using “” works in a filter run, a title list need to be formatted with brackets … this filter will accept fields containing single values without brackets, or list of values with brackets :
However it’s less efficient than my previous filter so I encourage you to use the first version and always add [[brackets]] around your values. Using a properly formatted title list will improve compatibility if you need to manipulate your fields later on, and performance thanks to the list-specific filters that tiddlywiki provide.