[tw5] Re: Variables in list filters

2019-03-03 Thread S. S.
Reece, You actually made implementation much smoother by your naming structure, by choosing meaningful tiddler titles of System tiddlers templates (and other data tiddlers) with the right *suffixes* - such as the names of tiddlers and tags they relate to. As you can see by the simplicity of

[tw5] Re: Variables in list filters

2019-03-03 Thread Reece Shaw
This worked perfectly! I also better understand how sets work, and on top of that I didn't realize there was a removeprefix operator. Thanks so much! I think I can apply this in a few other ways as well... -Reece On Friday, March 1, 2019 at 1:20:47 AM UTC-5, S. S. wrote: > > Reece, > > Maybe

[tw5] Re: Variables in list filters

2019-02-28 Thread S. S.
Reece, Maybe using a filter like this in your footer would work: <$set name="title-remove-prefix" filter="[{!!title}removeprefix[$:/world/faction/]]"> <$wikify name="fixed-title" text=<>> <$list filter="[faction-dominant removeprefix[$:/world/location/]]"> The complication is that having

[tw5] Re: Variables in list filters

2019-02-28 Thread Reece Shaw
On Thursday, February 28, 2019 at 12:58:14 AM UTC-5, Reece Shaw wrote: > > Hey All, > > I'm currently working on additional features for a campaign/world manager > wiki. I'm fond of having dynamic lists that generate based on what the user > puts into the wiki. I've run into the below issue: >

[tw5] Re: Variables in list filters

2019-02-27 Thread S. S.
Hello Reece, It's a little difficult to understand your requirements the way you phrased it. I could not understand what is meant by "the title of the tiddler that holds the filter" - which filter? The one pasted below? What do you want that tiddler to do? Anyway to get you started - If you