Thread:Hatebunny/@comment-25012939-20140915215704/@comment-3361105-20140916001849

Well, the sad thing is that there is no function for the thing you want to do.

As for your example, yes, the first one would work.

It knows that the string is the variable, because you told it that it was. would take whatever the variable in the template call was, and insert it into every case where is written into the code.

So, tells it to put "X" into every instance of  within the template code.