I guess a better definition for this "%0" in this case would be: "placeholder that refers to the tiddler being represented by this line".
On Monday, February 9, 2015 at 7:37:59 AM UTC-5, jpt wrote: > > I was looking for a way to manipulate tiddler tags in lists of tiddlers as > is done in mGSD (http://mgsd.tiddlyspot.com/demo3.html) or TiddlyMarks ( > http://tiddlymarks.tiddlyspot.com/). > > The first, relatively easy solution that pointed me in the right direction > was Tobi Beer's "cycleTags" (http://lastfm.tiddlyspot.com/#cycleTagsInfo > <http://lastfm.tiddlyspot.com/>) where he uses it with the > TiddlerListMacro (http://jackparke.tiddlyspot.com/#TiddlerListMacro > <http://jackparke.tiddlyspot.com/>) like so: > > <<tiddlerList tags:"queued" order:"modified" itemTemplate:"<<tiddler > cycleTags with: tagsTasks %0 $))%link\n">> > > When I finally understood the significance of the "%0" near the end of > that line (it is a placeholder for the tiddler that's supposed to be > tagged) I was able to to also use: > > the CheckboxToggleTag transclusion ( > http://www.tiddlytools.com/#CheckboxToggleTag) like so: > > <<tiddlerList tags:"anytag" order:"modified" itemTemplate:"<<tiddler > CheckboxToggleTag with: tag1 tag2 %0 $))%link\n">> > > the AddTagMacro (http://lastfm.tiddlyspot.com/#AddTagMacroInfo) like so: > > <<tiddlerList tags:"anytag" order:"modified" itemTemplate:"<<addTag > tag:'tagA' text:'add tagA' tooltip:'click here to add tagA' %0 $))%link\n">> > > and the ToggleTagTB (http://tbgtd.tiddlyspot.com/#ToggleTagTB) like so: > > <<tiddlerList tags:"anytag" order:"modified" itemTemplate:"<<tTag > mode:text text:N tag:#next title: %0 $))%link\n">> > > Thanks to the giants for lending me their shoulders. > > > -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

