Add xtemplate syntax
Merge pull request #3646 from noyobo/master

Add xtemplate syntax