On Sunday, September 13, 2015 at 9:47:25 PM UTC-7, Hegart Dmishiv wrote:
>
> On Monday, September 14, 2015 at 7:26:24 AM UTC+12, Eric Shulman wrote:
>>
>> Thus, in TWC you write:
>>>
>> <<tiddler NameOfTiddler with: arg1 arg2 arg3 ...>>
>>> while in modern TW you write:
>>> <$vars var1="arg1" var2="arg2" var3="arg3" ...>
>>> {{NameOfTiddler}}
>>> </$vars>
>>>
>>
> As a practice, I have created a template tiddler to apply CSS formatting
> to a single variable *{{!!cons-text}}* which is then invoked from an
> example tiddler using Eric's example of the <$vars>..</$vars> block. For
> some reason my transclusion works fine, but the parameter isn't parsed.
>
The {{...}} syntax is used to retrieve values from tiddler fields (e.g.,
{{!!fieldname}}). However, in your implementation, "cons-text" is not a
tiddler field, but simply a variable defined in the current scope. For
variables, use <<nameOfVariable>>, like this:
<span style="display: inline-block; border: 2px solid black; background-
color: black; color: GhostWhite; font-family: FixedSys, Terminal, monospace;
width:90%;">~$ <<cons-text>> </span>
-e
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/dc02564c-b785-4e69-ba1c-2fe96206080b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.