When using variables as a filter parameter, the syntax is different from
what you are attempting. Try {{{[tag<currentTiddler>count[]]}}}

See https://tiddlywiki.com/#Filter%20Parameter and the bottom of
https://tiddlywiki.com/#Introduction%20to%20filter%20notation for the
documentation related to this.

On Sun, Jan 6, 2019 at 12:40 PM Elijah <[email protected]> wrote:

> There is a little bit in TagTemplate: tag=<<currentTiddler>>, which tells
> the tag-pill what to display. With the default <<currentTiddler>>, it will
> display the title of the tiddler corresponding to the tag. With
> {{!!caption}} it'll display the contents of the caption-field of the
> tag-tiddler.
>
> Now, I'm trying to figure out how to get the tag-pill to instead display
> the number of tiddlers tagged with some specific tag. I thought
> {{{[tag[<<currentTiddler>>]count[]]}}} would work, but it doesn't - it
> simply displays "0". However, if you manually-input the title of the tag in
> the same filter as follows: {{{[tag[ACTUALTAG]count[]]}}}, it displays the
> correct count. I admit I don't understand how the filter-operators work, or
> even how to correctly call them (the documentation (specifically Filter
> Operators, count Operator, and count Operator (Examples)) was unhelpful to
> me), and I got the {{{[tag[ACTUALTAG]count[]]}}} from Tobias Beer's
> tiddlywiki. Any help would be appreciated. Thanks.
>
> --
> 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/450ee4a9-b7f1-4132-984e-72298540a3a6%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/450ee4a9-b7f1-4132-984e-72298540a3a6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAO5X8Cz%2BZdS_pKRzL_R2Ta4Q5m1brgfa%3DzgWzNsVyHRzfMv%2BVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to