Hey all, I'm trying to write a template. It works as a template in that it 
renders the currentTiddler, but if I try to use the color from the tiddler 
on the background, it doesn't evaluate and simply renders the text as-is.

For example
\whitespace trim
\define col() {{!!color}}
<$set name="transclusion" value=<<currentTiddler>>>
    <span style="background-color:<<col>>" >
    <<currentTiddler>>
    </span>
</$set>

doesn't work. Neither did style="background-color:{{!!color}}" and it 
doesn't matter if I use quotes or not. Clearly I'm missing some syntax or 
something.
The goal is just to make the background the color set in the color field. 
Ideas?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/439c7ef2-7c44-4d28-b3ca-f4e00e398a7a%40googlegroups.com.

Reply via email to