BEGIN:VCARD VERSION:4.0 N:{{ last_name }};{{ first_name }};;; FN:{{ display_name }} {{ prefix("NICKNAME:", "nickname") }} {{ prefix("BDAY:", "birthday") }} {{ prefix("ORG:", "company") }} {%- if street %}ADR;TYPE=home;PREF=1:;;{{ street }};{{ city }};;{{ zip }};{{ country }}{% endif %} {% if cell_1 %}TEL;TYPE="cell";PREF=1:tel:{{ cell_1 }}{% endif %} {% if cell_2 %}TEL;TYPE="cell";PREF=2:tel:{{ cell_2 }}{% endif %} {% if tel_1 %}TEL;TYPE="home";PREF=3:tel:{{ tel_1 }}{% endif %} {% if tel_2 %}TEL;TYPE="home";PREF=4:tel:{{ tel_2 }}{% endif %} {% if email_1 %}EMAIL;TYPE=home;PREF=1:{{ email_1 }}{% endif %} {% if email_2 %}EMAIL;TYPE=home;PREF=2:{{ email_2 }}{% endif %} {% if email_3 %}EMAIL;TYPE=home;PREF=3:{{ email_3 }}{% endif %} {% if email_4 %}EMAIL;TYPE=home;PREF=4:{{ email_4 }}{% endif %} {% if url %}URL;TYPE=home;PREF=1:{{ url }}{% endif %} {% if url %}URL;TYPE=home;PREF=1:{{ url }}{% endif %} {% if note %}NOTE:{{ note }}{% endif %} END:VCARD