The mustache is intentionally very simple ("patterns without logic"), so you cannot do much. One option is to add the positionUC property:
player.positionUC = player.position.toUpperCase();
and then in the template:
{{positionUC}}
You can also add functions:
// Note that render(text) will be HTML though... player.uc = function(text, render) { return render(text).toUpperCase() };
and then in the template:
{{
Perhaps you can switch to Handlebars and add an assistant to the uppercase.
source share