Skip to main content

Inline

Request Dynasend Developer Credentials

Formatting Phone Numbers: Inline

Copy and paste this code block into your HTML:

{% raw %}
<!--BEGIN TELEPHONE MOBILE FAX ROW-->
<tr>
<td nowrap style="text-align:left; border-style: hidden; padding-top: 0px; white-space: nowrap; line-height:15px;" colspan="2">
<p class="contentStyle">


{%- if phone -%}
<!--BEGIN PHONE NUMBER -->{{ phone }}<!--END PHONE NUMBER -->{%- if extension -%}&nbsp;x&nbsp;{{ extension }}{%- endif -%}
{%- endif -%}

{%- if phone -%}
{%- if mobile or fax -%}
&nbsp;<font size="1" color="#B9B9B9">|</font>&nbsp;
{%- endif -%}
{%- endif -%}

{%- if mobile -%}
cell: <!--BEGIN MOBILE NUMBER -->{{ mobile }}<!--END MOBILE NUMBER -->
{%- endif -%}

{%- if mobile and fax -%}
&nbsp;<font size="1" color="#B9B9B9">|</font>&nbsp;
{%- endif -%}

{%- if fax -%}
fax: <!--BEGIN FAX NUMBER -->{{ fax }}<!--END FAX NUMBER -->
{%- endif -%}

</p>
</td>
</tr>
<!--END TELEPHONE MOBILE FAX ROW-->
{% endraw %}