Hi Mark, Emmanuel,
> You can't "glue" the outputs of transclusions together that way, In the past
> I would have said to use a macro, but with the <$wikify> widget you can now,
> sometimes, put results together in the way you want:
>
> <$wikify name=Résumé text='{{!!released}} {{!!author}}-Résumé'>
> <$wikify name=Notes text='{{!!released}} {{!!author}}-Notes'>
> <<tabs "[<Résumé>] [<Notes>]" "Click the little link">>
>
> </$wikify>
> </$wikify>
>
Just to point out a pitfall of that approach -- the tranclusions {{!!released}}
and {{!!author}} will be wikified, so if you have an author Mary McManus, then
their second name would be turned into a link.
If you want to display those fields without wikifying them, then use the <$text
text={{!!released}}/> or <$view field="released"/> widgets.
Best wishes
Jeremy
> Good luck
> -- Mark
>
>> On Monday, October 15, 2018 at 4:12:43 PM UTC-7, Emmanuel Calvet wrote:
>> Hi, I have trouble trying to create new tabs with a name containing many
>> variables.
>>
>> So my problem is the following :
>>
>> I have a tiddler which possess two fields : released=ddd, and author=xxx.
>>
>> When I do that
>> <$set name=Résumé value='{{!!released}} {{!!author}}-Résumé'>
>> <<Résumé>><br/>
>> <$set name=Notes value='{{!!released}} {{!!author}}-Notes'>
>> <<Notes>><br/>
>> <br/>
>>
>> I obtain this :
>>
>> ddd xxx-Résumé
>> ddd xxx-Notes
>>
>> Then I've tried to create a tab, with both variables
>>
>> <<tabs "[<Résumé>] [<Notes>]" "Click the little link">>
>>
>> And this is what it displays :
>>
>>
>>
>>
>>
>>
>>
>> I guess this comes from the way I write the value='{{!!released}}
>> {{!!author}}-Notes',
>> Because, if I change my code and put only one variable inside each name
>>
>> <$set name=Résumé value={{!!released}}>
>> <$set name=Notes value={{!!author}}>
>>
>> Then
>>
>> <<tabs "[<Résumé>] [<Notes>]" "Click the little link">>
>>
>>
>> Displays the variables correctly
>>
>>
>>
>>
>>
>>
>> So I've run out of ideas, and I am wondering what is the way to write it
>> properly ?
>>
>> Thanks for your help !
>>
>>
>>
>
> --
> 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/689b913a-55a9-49c6-9988-4a848c0a348b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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/E73B2047-F2DD-414D-B869-818A1B14C016%40gmail.com.
For more options, visit https://groups.google.com/d/optout.