That was the answer Eric, thanks, it all works perfectly now. I've got such 
a lot to do now, creating all the templates I'll be using for my offline 
wiki.

On Monday, September 14, 2015 at 6:31:18 PM UTC+12, Eric Shulman wrote:
>
> 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/fe8ae896-9920-4787-9dfc-1fc5102aef74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to