You can have a UDT or number of UDTs that can be represented by a Template.
I add DeviceParentPath and DeviceName string template parameters, and DeviceTagPath as a string internal parameter.
If you use a single UDTType parameter and link that to a single UDT, you will have a number of limitations: