Hi Matabele

The transclude wikitext syntax actually generates a combination of the
tiddler widget (to set the current tiddler) and the transclude widget (to
do the actual transclusion). You can fix things by wrapping your transclude
widget in a tiddler widget.

Best wishes

Jeremy



On Fri, Apr 18, 2014 at 11:36 AM, Matabele <[email protected]> wrote:

> Hi Danielo
>
> Thanks -- I have it at last:
>
> \define linkTiddler(mytiddler) {{$mytiddler$}}
>
> <$macrocall $name="linkTiddler" mytiddler={{!!tiddlername}} />
>
> regards
>
> On Monday, March 3, 2014 9:10:48 PM UTC+2, cmari wrote:
>
>> Hi all,
>> The mode option in the TranscludeWidget (which is great!) allows
>> something like this in a tiddler:
>>
>> Some text <$transclude tiddler="A" mode="block"/><$transclude tiddler="B"
>> mode="block"/> and even more text.
>>
>> I tend to prefer block transclusion, which made me notice that the
>> documentation for using WikiText
>> (http://tiddlywiki.com/static/Transclusion%2520in%2520WikiText.html)
>> doesn't really make clear that achieving the same effect without the
>> widget, as best I can tell,
>> requires the not entirely intuitive procedure of listing the transcluded
>> tiddlers on separate lines
>> (with no trailing spaces, and preceded by an additional blank line):
>>
>> ___________________________
>> Some text
>>
>> {{A}}
>> {{B}}
>>  and even more text.
>> _________________________
>>
>>
>> So two things:
>> 1. perhaps the documentation could be updated, and
>> 2. perhaps there could even be built-in templates to allow for something
>> like {{A||block}} vs. {{A||inline}}?
>> (or 3, I'm sure cleverer people will think of even better ideas and/or
>> correct my misunderstandings).
>> cmari
>>
>>
>>  --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

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

Reply via email to