Live template variables

Hi all,

I've got a small question: is it possible to define variables in templates in a way that a variable only needs one value, but can be displayed in multiple ways?

For example: if the text is like this:

<button id="$var1$">$var2$</button>

I want this to be the output:

<button id="save">Save</button>

So, I'd like to create a template, it should have one input value, but it should once be displayed in lowercase, and once be displayed in uppercase. Is this possible? And if so, do I need one variable (var1) or two (var1, var2) ?

thanks, Erik

Please sign in to leave a comment.