Thanks Tony. That works - all down to the syntax.

On Thursday, 3 October 2019 23:41:02 UTC+1, TonyM wrote:
>
> Rick,
>
> I suggest you stick to one template and put your logic in your existing 
> one. 
>
> <$list filter="[<currentTab>match[Blank]]" variable=nul>
>   Template with blank
> </$list>
>
> <$list filter="[<currentTab>!match[Blank]]" variable=nul>
>   Template Not with blank
> </$list>
>
> Regards
> Tony
>
> On Friday, October 4, 2019 at 8:28:49 AM UTC+10, Rick Yagodich wrote:
>>
>> Hi,
>>
>> I've got a template that I call from the <<tabs>> macro (developed based 
>> on advice from morosanuae):
>>
>> <$transclude tiddler=<<currentTab>> field="caption" />
>> <$button>
>>  <$action-navigate $to=<<currentTab>> />
>>  <$action-sendmessage $message="tm-edit-tiddler" $param=<<currentTab>> />
>> <i class="fas fa-pen-square"></i>
>> </$button>
>>
>> Simply put, it adds a button (with a FontAwesome pen icon) to each tab 
>> which provides a one-click means of opens the tab's content tiddler for 
>> editing below the current tiddler.
>>
>> However… I want to be able to apply a different template to one specific 
>> tab, based on the tiddler's title (i.e. Blank). How do I achieve that?
>>
>> I have tried using <$reveal …> based on another question, but that didn't 
>> do what I wanted.
>>
>> Any suggestion appreciated
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdf954b8-e6d8-42e2-92b2-3fcbd6864ed4%40googlegroups.com.

Reply via email to