I know there's something obvious I'm overlooking, but how do I add another
class for yellow, for example? if I have this in a "mytable" tiddler:
\define mytable(colorclass)
|persontable $colorclass$|k
|>| @@display:block;width:23em;<div class="lightgrey">''[Tiddler-specific
title]''</div>@@ |
|^@@display:block;width:6.5em; ''Value 1'' @@
|@@display:block;width:15em;{{!!value1}}@@ |
|^@@display:block;width:6.5em;''Value 2''@@ |@@display:block;width:15em;@@ |
|^@@display:block;width:6.5em;''Value 3''@@ |@@display:block;width:15em;@@ |
\end
<$macrocall $name="mytable" colorclass={{!!tablecolor}}/>
And then call the template with {{mytable}} in "Person 1", the cell comes
out as lightgrey without any "colorclass" field. I imagine the solution as
to do with what you said here:
Tables can add their own class with a line like:
>
> |firstclass secondclass|k
>
> at the start.
>
But playing around that second column only produces errors...
Do I need to modify the Stylesheet? What am I missing?
Rafael
--
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/a2ba4842-e06b-4e17-bc4f-039f51b3ba0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.