{$smarty} variable can be used to refer to "section" and "foreach" loop properties. See docs for section and foreach.