Hi Matabele
 

> I think in your use case you would want a variable as the name of the data 
> tiddler -- so references might look something like {{$gender$##gender1}}, 
> where the variable takes the value 'male' or 'female' as appropriate. I 
> think you'll need a macro call to insert the variable before using the 
> text-reference as the syntax I've used above won't work (this was for 
> illustration only.)
>

You are absolutely right :-)

I set gender as a field "gender" to male or female - now I need to retrieve 
the result from the correct library..

I tried to do it like this: {{!!gender##gender2b}} 

It doesn't seem to be possible to use templates with substitutions as 
values either

Sth. like:

index1:Value of {{!!gender##gender2b}} should be Him

Simply:

index2:{{!!title}}

Doesn't show the title when you input it as {{IndexTiddler##index2}}

Does anyone know how to exploit a datalibrary as a library of textsnippets 
with substitution markers? 

Cheers Måns Mårtensson

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to