I'm inside a <$list> where the iterator var is "item".  This code is 
correctly displaying the value of the subtitle field for the tiddler in 
question.

<$transclude tiddler=<<item>> field="subtitle" />

But I'd also like to wrap it in a CSS class, so this now works just fine....

<span class="subtitle"> ... <$transclude tiddler=<<item>> field="subtitle" 
/></span>


But the final tweak is to only show that span when there is actually text 
in the field.  If it's blank or not defined, I'd like not to display the 
span or "..." separator, and of course there won't be text to show for the 
field either.  

I tried the Reveal widget but couldn't figure that out quite right.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b4ce05ce-1a34-4fe6-9057-182648a1770c%40googlegroups.com.

Reply via email to