I believe it was not until I used wikify to create a variable 

The Following example does not work even although <<currentWiki>> returns 
the correct value

\define currentWiki() {{$:/PSaT/wikimanager/wiki-tiddler##wiki-title}}

<<currentWiki>>


   <$list filter="[<currentWiki>] [{!!wiki-owner}] +[count[]] -[[2]]">
       same {{Certificate.svg}}
   </$list>
   <$list filter="[<currentWiki>] [{!!wiki-owner}] +[count[]] -[[1]]">
       different {{Certificate-not.svg}}
   </$list>

How ever when refactored this works

<$wikify name=this-wiki text="<<currentWiki>>">
   <$list filter="[<this-wiki>] [{!!wiki-owner}] +[count[]] -[[2]]">
       same {{Certificate.svg}}
   </$list>
   <$list filter="[<this-wiki>] [{!!wiki-owner}] +[count[]] -[[1]]">
       different {{Certificate-not.svg}}
   </$list>
</$wikify>

I stand to be corrected, but that is all I can say at this point.

Regards
Tony

On Wednesday, November 7, 2018 at 5:03:21 PM UTC+11, Mohammad wrote:
>
> Hello Tony!
>  This is really interesting! I would appreciate if you could put it inside 
> a wiki and give link for future references!
> By the way you said the variables cannot be the result of a macro call, 
> why?
>
> -Mohammad
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/962c78fe-6e3d-4860-a2c3-daeba7aeca98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to