On Feb 7, 12:47 pm, funkyeah <[email protected]> wrote:
> What would you consider that type of statement to be? It doesn't fit
> in with the <<macro>> formatting thats described everywhere, but I've
> seen it referred to as a macro. Is it a special case of a macro that
> doesn't need <<>>? What else fits into this category? Is there an
> existing resource that describes this?
>
> The tag parameter is mentioned athttp://www.tiddlywiki.com/#Reference
> but I haven't found much of anywhere that describes what and where the
> syntax like the item in the title can be used.

The "[tag[...]]" syntax is called a "filter".  It is used by the
TWCore <<list>> macro, as well as in the handling for DefaultTiddlers
(e.g, if you put [tag[startup]] into DefaultTiddlers, then any
tiddlers tagged with 'startup' will be displayed whenever the document
is first opened.

The tag filter syntax is also supported by several plugins, including
TiddlyTools' MatchTagsPlugin, which extends the syntax to permit use
of Boolean expressions (and/or/not) to select tiddlers based on
logical combinations of tag values.  This allows you to write filters
such as:
   [tag[someTag OR (someOtherTag AND NOT aThirdTag)]]

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
WAS THIS ANSWER HELPFUL?  IF SO, PLEASE MAKE A DONATION
   http://www.TiddlyTools.com/#Donations
note: donations are directly used to pay for food, rent,
gas, net connection, etc., so please give generously and often!

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to