Use separate name-var in template