Implementing compiling {{template}} variables