So I'm not sure if there's something I should have been trying to search 
here, but here's my concern.

I've got a static format I want to output, but I want to be able to 
maintain separate lists, and trying to use a template somewhere in there as 
well. I'm awfully new to this, so I'm sorry if this is super obvious.

So for an example, say we're throwing two parties, which we use as tags: 
JohnsBirthday, MomsBirthday

Then we have five tiddlers:

Title: Dad
Tags: JohnsBirthday, MomsBirthday, Guest
Name: Father

Title: Sarah
Tags: JohnsBirthday, MomsBirthday, Guest
Name: Sarah

Title: Karen
Tags: MomsBirthday, Guest
Name: Karen

Title: JohnsFriend
Tags: JohnsBirthday, Guest
Name: Redd

Title: New TV
Tags: MomsBirthday, GiftIdea
Name: n/a

Then we want to apply the template, for ALL cases of Guest...

Title: GuestListTemplate

Here's who will be coming to the party:


<$list filter="[tag[Guest]tag[x]">

<$view field="name"/>
</$list> 


Then, you would have two more tiddlers, which would include the full output 
of the template. So instead of code, I'm going to include the intended 
output

Title: Mom's Party
Body:

Gift Ideas:

 

New TV

Here's who will be coming to the party:

 

Father
Sarah
Karen


Title: John's Party
Body: 

Gift Ideas:


Here's who will be coming to the party:

Father
Sarah
Redd


Somehow, I want to be able to pass the tag JohnsParty or MomsParty to 
GuestListTemplate, so that I can avoid rewriting any more code than 
necessary.

Is this doable?

-- 
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/3db7a106-0680-4801-90c4-547882cb4026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to