I've uploaded the template to the file section. Parameters are where you'd expect them from their X-Station counterparts, i.e. the "Amp Env" controls are for ENV2, "Mod Env" sliders control ENV1, and so on.
As you know, on the original firmware releases (V1.12 and below) parameters ENV1 Sustain and ENV2 to VCA do not work. So the ENV1 Sustain is transmitted via NRPN - firmwares below v1.16 are going to ignore that. Apart from that, parameters are transmitted as Sysex rather than as NRPN to keep the template downward compatible.
Gligli's Unison Detune parameter (CC94) is mapped to the Effects Level control.
There is another template available in the download section of the X-Station group that does things differently - and tries to achieve some basic mod matrix control. This is more straightforward.