Creating custom EditTemplates for tiddler with different tags

Hi,

I am currently struggling big to create a custom plugin according to me idea:

I want to create custom EditTemplates for different tiddlers according to their tags. The default EditTemplate should sustain but be overwritten for specific tags.

I tried several ways with EditTemplateFilter, with the tags $:/tags/EditTemplate but without any success.

The only working code contains a <$list filter="[all[current]tag[XYZ]]">inside the custom EditTemplate.

But I am stuck and do not know which way will work. Do you have any suggestions? Is my idea working at all?

My main reason is to simply the EditTemplate for different types of tiddlers to create a specific kind of management system with reduced field and function in EditTemplate.

Thanks for your help and ideas.