<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">

<div style="padding: 10px; border: 1px solid #ccc;">
    <strong>Map Contact Card</strong>
    <f:if condition="{data.card_headline}">
        <br />Headline: {data.card_headline -> f:format.crop(maxCharacters: 40)}
    </f:if>
    <f:if condition="{data.contact_items}">
        <br />Contact items: {data.contact_items -> f:count()}
    </f:if>
</div>

</html>
