@BJ, brilliant, that's exactly what I needed.  

Matt

On Saturday, October 15, 2016 at 1:47:52 AM UTC-4, BJ wrote:
>
> It is possible to turn linking off:
>
> \define g() <$link to="b">linktob</$link>
>
> <$link to="a"><$vars tv-wikilinks=no>linktoa <<g>></$vars></$link> <<g>>
>
> all the best
> BJ
>
> On Friday, October 14, 2016 at 7:53:12 PM UTC+1, Matthew Lauber wrote:
>>
>> Oops, looks like I wasn't completely clear.  The issue isn't links inside 
>> `{{NPC $number$!!name}}` but rather inside something like <$link to 
>> "...">Talking with <<npc 13>></$link>
>>
>> So, I want it to be a link if the macro is called outside a <$link> 
>> block, but not inside.
>>
>> On Friday, October 14, 2016 at 2:48:11 PM UTC-4, Tobias Beer wrote:
>>>
>>> Hi Matthew,
>>>  
>>>
>>>> \define npc(number) <$link to="NPC $number$">{{NPC $number$!!name}}</
>>>> $link>
>>>>
>>>
>>> Try:
>>>
>>> \define npc(number) <$link to="NPC $number$"><$text text={{NPC $number$
>>> !!name}}/></$link>
>>>
>>> Best wishes,
>>>
>>> Tobias. 
>>>
>>

-- 
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/eec0b5aa-fcce-4546-a056-e9fe1ef16ff8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to