Best way to access variables in template markup

Best way to access variables in template markup