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/b708ae9c-dc8a-448f-bd36-a1f25f0b0c68%40googlegroups.com.

Reply via email to