Support multiple variables in Template