> I have tiddlers tagged "work" and "personal"
>
> I would like to have part of a tiddler rendered if the tiddler is tagged
> work and another part if it is tagged personal.

Add the following CSS to your StyleSheet:
   .work { display:none; }
   div[tags~="work"].tiddler .work { display:inline; }
   .personal { display:none; }
   div[tags~="personal"].tiddler .personal { display:inline; }
Next, in your tiddler content, write something like this:
   {{work{this is work content}}}
   {{personal{this is personal content}}}
and tag the tiddler with either "work" or "personal" (or neither or
both!).  By default, the CSS-wrapped content is hidden, and will only
be displayed if the tiddler is tagged with the corresponding tag
value.  QED.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

WAS THIS ANSWER HELPFUL?  IF SO, PLEASE MAKE A DONATION
   http://www.TiddlyTools.com/#Donations
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