How to adress the targetTiddler-variable in an itemTemplate for the list-links draggable and list-tagged-draggable macros

The Original Title was:
Could we replace the code of $:/core/ui/SideBar/Open with list-links-draggable and a template
I changed it to make more clear what I want.

If given:

<<list-links-draggable  itemTemplate:"$:/plugins/JJ/drag-and-close" type:"div" subtype:"span">>

no
What is wrong with this $:/plugins/JJ/drag-and-close

<$link tooltip={{!!title}} >
<div style="width:100%;text-align:left;padding-top:4px"><<targetTiddler>>
<$button class="tc-btn-invisible">{{$:/core/images/cancel-button}}
<$action-listops $tiddler=<<targetTiddler>> $subfilter="-[<currentTiddler>]"/>
</$button><<!--the title which allows to sho an optional alias
<$list filter="[all[current]has[alias]]" emptyMessage={{!!title}}>{{!!alias}}</$list>
</div>
</$link>

Hi @JanJo,

This code seems to work:

<div style="width:100%;text-align:left;padding-top:4px">
<$button class="tc-btn-invisible">{{$:/core/images/cancel-button}}
<$action-listops $tiddler="$:/StoryList" $subfilter="-[<currentTiddler>]"/>
</$button>&nbsp;<$link tooltip=<<currentTiddler>>><$list filter="[all[current]has[alias]]" emptyMessage={{!!title}}>{{!!alias}}</$list></$link>
</div>

along with:

<<list-links-draggable tiddler:"$:/StoryList" itemTemplate:"$:/plugins/JJ/drag-and-close" type:"div" subtype:"span">>

Fred

Hi @tw-FRed thank you.
This works for the $:/StoryList - I would like it to work for any given list-links-draggable-macro using the targetTiddler Variable