At the moment, to output a postal address, I might do something like this:
{property-address1}
{if property-address2}<br>{property-address2}{/if}
{if property-city}<br><strong>{property-city}</strong>{/if}
{if property-county}<br>{property-county}{/if}
{if property-postcode}<br><span class="red">{property-postcode}</span>{/if}
But I wonder if something like this would be more useful…?
{property-address1}
{property-address2 prepend="<br>"}
{property-city prepend="<br><strong>" append="</strong>"}
{property-county prepend="<br>"}
{property-postcode prepend="<br><span class="red">" append="</span>"}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.