<#assign makeLink=true>
<#if v.photos?has_content>
<#assign photo=v.photos[0]>
<#if photo.url??>
<#assign imgSrc=photo.url>
<#elseif photo.data??>
<#assign imgSrc=utils.base64(photo.contentType.mediaType, photo.data)>
#if>
<#assign imgClass="photo">
<#elseif v.logos?has_content>
<#assign logo=v.logos[0]>
<#if logo.url??>
<#assign imgSrc=logo.url>
<#elseif logo.data??>
<#assign imgSrc=utils.base64(logo.contentType.mediaType, logo.data)>
#if>
<#assign imgClass="logo">
<#else>
<#assign imgSrc=utils.base64(noProfile.contentType.mediaType, noProfile.data)>
<#assign makeLink=false>
#if>
<#if makeLink>#if>
|
<#if v.formattedName?? && v.formattedName.value??>
${v.formattedName.value}<#elseif v.structuredName?? && v.structuredName.family?? && v.structuredName.given??>${v.structuredName.given} ${v.structuredName.family}<#else>VCard #${v_index + 1}#if> <#if v.nickname?? && v.nickname.values?has_content> Nicknames: <#list v.nickname.values as nickname> ${nickname}<#if nickname_has_next>, #if> #list>#if> <#if v.birthday?? && v.birthday.date??> Birthday: #if> <#if v.categories?? && v.categories.values?has_content> Tags: <#list v.categories.values as category> ${category}<#if category_has_next>, #if> #list> #if> |
<#if v.addresses?has_content>
Addresses:
<#list v.addresses as adr>
#if>
<#if adr.label??>
#if>
<#if adr.types?has_content>
<#list adr.types as t>
<#if t_has_next>, #if>
#list>
#if> <#if adr.label??> #if> <#if adr.poBox??> P.O. Box ${adr.poBox} #if> <#if adr.streetAddress??> #if> <#if adr.extendedAddress??> #if> <#if adr.locality??> ${adr.locality}<#if adr.region??>, #if> #if> <#if adr.region??> ${adr.region} #if> <#if adr.postalCode??> ${adr.postalCode} #if> <#if adr.country??> ${adr.country} #if> #list> |
<#if v.telephoneNumbers?has_content>
Phone numbers:
<#list v.telephoneNumbers as tel>
<#if tel.types?has_content>
<#list tel.types as t>
<#if t_has_next>, #if>
#list>
:
#if>
<#if tel.uri??>
${tel.uri.number}<#if tel.uri.extension??> x${tel.uri.extension}#if>
<#elseif tel.text??>
${tel.text}
#if>
#list>
#if> <#if v.emails?has_content> Emails:
<#list v.emails as email>
<#if email.types?has_content>
<#list email.types as t>
<#if t_has_next>, #if>
#list>
:
#if>
${email.value}
#list>
#if> <#if v.impps?has_content> Instant messenger handles:
<#list v.impps as impp>
<#if impp.protocol == "aim">
<#assign protocol="AOL">
<#elseif impp.protocol== "icq">
<#assign protocol="ICQ">
<#elseif impp.protocol== "irc">
<#assign protocol="IRC">
<#elseif impp.protocol== "msnim">
<#assign protocol="MSN">
<#elseif impp.protocol== "sip">
<#assign protocol="SIP">
<#elseif impp.protocol== "skype">
<#assign protocol="Skype">
<#elseif impp.protocol== "xmpp">
<#assign protocol="XMPP">
<#elseif impp.protocol== "ymsgr">
<#assign protocol="Yahoo!">
<#else>
<#assign protocol=impp.protocol>
#if>
${protocol}: ${impp.handle}
#list> #if> <#if v.urls?has_content> URLs:
<#list v.urls as url>
${url.value}
#if>
#list> |
<#if v.structuredName??>
Name:
<#if v.structuredName.family??>
Family: ${v.structuredName.family}
#if> <#if v.structuredName.given??> Given: ${v.structuredName.given} #if> <#if v.structuredName.additional?has_content> Additional: <#list v.structuredName.additional as n> ${n}<#if n_has_next>, #if> #list> #if> <#if v.structuredName.prefixes?has_content> Honorific prefixes: <#list v.structuredName.prefixes as n> ${n}<#if n_has_next>, #if> #list> #if> <#if v.structuredName.suffixes?has_content> Honorific suffixes: <#list v.structuredName.suffixes as n> ${n}<#if n_has_next>, #if> #list> #if> #if> <#if v.geo?? && v.geo.latitude?? && v.geo.longitude??> Geo: , #if> <#if v.mailer?? && v.mailer.value??> Mailer: ${v.mailer.value} #if> <#if v.timezone?? && v.timezone.hourOffset??> Timezone: <#if v.timezone.hourOffset >= 0>+#if> #if> <#if v.organization?? && v.organization.values?has_content> Organization: <#list v.organization.values as org> <#if org_index == 0> ${org}<#if org_has_next>, #if> <#elseif org_index == 1> ${org}<#if org_has_next>, #if> <#else> ${org}<#if org_has_next>, #if> #if> #list> #if> <#if v.titles?has_content> Titles: <#list v.titles as title> ${title.value}<#if title_has_next>, #if> #list> #if> <#if v.roles?has_content> Roles: <#list v.roles as role> ${role.value}<#if role_has_next>, #if> #list> #if> |