I don't know if you'll find this helpful, but I use a small macro - that I 
use to put in the *caption* field of Table of Content Tiddlers, and also 
use above lists based on a tag.

Tiddler name (example): $:/_macro/count-tag
Tiddler must be tagged: $:/tags/Macro

\define count-tag(tag-name)
<$count filter="[tag[$tag-name$]]"></$count>
\end

The macro <<count-tag MyTagName>> ` is useful in places such as:

   - A summary above a list based on a single tag, Example:
      - This list contains <<count-tag MyTagName>> tiddlers tagged with 
      <<tag MyTagName>>
   - The *caption* field of a Table of Contents tiddler, where it can be 
   used to display the number of tiddlers that will be found under that link. 
   Example, the *caption* field contains: 
      - My Tag Name ^^(<<count-tag MyTagName>>)^^
   
Of course it can also be used within a tiddler whose title is the tag in 
this way:  <$macrocall $name="count-tag" tag-name={{!!title}}/> :but then 
it is simpler to just use the $count widget: <$count 
filter="[tag<currentTiddler>]"/>


Regards

-- 
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/e2e86d79-2a8e-4bd2-b574-3ccf78b6e9bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to