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:
I have a group of tiddlers tagged "Location" and a group of tiddlers tagged
"Faction". The Location tiddlers contain a field titled "faction-dominant"
that always contains the title of a single Faction tiddler.
SO in order to maintain consistency I have a "footer" template that is a
foldable reveal. I'd like this footer to only display the Location tiddlers
where *faction-dominant has a value that matches the title of the tiddler
that holds the filter. *
To further complicate things, the filter must first pass the title to a
system tiddler where I am storing the fields for editing purposes. The code:
<$list filter="[tag[Location]sort[tags]]" >
<$list filter= "[[$:/]addsuffix[state]addsuffix[/]addsuffix{!!title}]">
<$list filter= "[has:field[faction-dominant]]">
</$list>
</$list>
</$list>
I've tried $set and $vars but I am having trouble parsing what exactly I
need to set where and documentation is a bit out of my scope of
understanding as someone who isn't a trained coder. Any advice?
Thanks,
-Reece
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1f770aae-df96-4001-a282-42a569e5bf50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.