No no no. The issue isn't just about running code to get the template... it is to get a template THAT CAN THEN BE INTERPRETED BY MATHEMATICA TO CALCULATE THE ACTUAL MULTI-VARIABLE DERIVATIVE.
As background: for example when you enter D[Sin[a x] Cos[ b y], {x, 2}, {y, 3}] you get
-a^2 b^3 Sin[a x] Sin[b y]
In short the actual two-variable symbolic derivative IS COMPUTED.
Great. But here the input is in the unwanted "computer science" form (D[Sin[a x] Cos[ b y], {x, 2}, {y, 3}]) rather than the desired "mathematical typography" form such as provided by the template you created.
But getting the mathematical typography is just HALF my problem: I then want that input form TO BE INTERPRETED (calculated) by Mathematica. Your approach does not achieve that!!! If I fill in your template AND THEN TRY TO CALCULATE THE ACTUAL DERIVATIVE OF SOME FUNCTION, MATHEMATICA FAILS.
Try computing the derivative from your filled-in template to see why your approach does not provide a solution as follows: Execute your code to get the nice mathematical typography as you've shown. Now fill in for the function an example, such as Sin[a x] + Cos[b x]. I'm sure it all looks precisely how I'd like... in a mathematical form that is easy to read by mathematicians. Great.
But now the problem: TRY TO EXECUTE YOUR CODE TO HAVE MATHEMATICA CALCULATE THE ACTUAL DERIVATIVE, to get the result in the above example (-a^2 b^3 Sin[a x] Sin[b y]). Your code does NOT achieve that.
In short, I WANT the solution -a^2 b^3 Sin[a x] Sin[b y] to appear BUT IT DOES NOT. THAT is the problem. (Actually, it is the second HALF of the problem.)
In short (again): Render a multi-variable derivative in the nice mathematical form you have BUT ALSO HAVE THE INPUT INTERPRETABLE BY MATHEMATICA SO THAT THE ACTUAL DERIVATIVE IS CALCULATED.
I don't think I can be any clearer than that.