Returns null if var is not exist in a template