{{$Collection.CollectionName}}

{{foreach from=$EmailData key=myId item=i}} {{assign var='EmailDataTaxonomy' value=$i.taxonomy}} {{assign var='EmailDataLookups' value=$i.lookups}}{{assign var='EmailDataActualValue' value=$i.value}} 
{{$EmailDataTaxonomy.CollectionFieldName}} :  {{if $EmailDataTaxonomy.CollectionFieldLookupCollectionID gt 0}}{{$EmailDataLookups.$EmailDataActualValue}}{{else}}{{if $EmailDataTaxonomy.CollectionFormula eq 2}}{{$smarty.now|date_format:'%A, %B %e, %Y'}}{{else}}{{if $EmailDataTaxonomy.CollectionFieldType eq 4}}{{$EmailDataActualValue|date_format:'%m/%d/%Y'}}{{else}}{{$EmailDataActualValue}}{{/if}}{{/if}}{{/if}}
{{/foreach}}