Conditional
Test Tags. If the test is true (example: ifNote is true if the event
has a note field), then everything up to the matching brace is executed
(and skipped if false). These are the conditionals used in the Template
Drawing Routines.
ifDeleted
ifModification_date
ifCreation_date
ifLast_access_date
ifPrefix
ifFirst_name
ifMiddle_name
ifLast_name
ifSuffix
ifNick_name
ifAnniversary
ifBirthday
ifAnniversary_alarm_set
ifAnniversary_alarm_adv
ifBirthday_alarm_set
ifBirthday_alarm_adv
ifSecret
ifCategory
ifNote
ifProfession
ifCompany
ifJobtitle
ifStreet_1
ifCity_1
ifState_1
ifZip_1
ifCountry_1
ifStreet_2
ifCity_2
ifState_2
ifZip_2
ifCountry_2
ifStreet_3
ifCity_3
ifState_3
ifZip_3
ifCountry_3
ifStreet_4
ifCity_4
ifState_4
ifZip_4
ifCountry_4
ifAddressLabel_1
ifAddressLabel_2
ifAddressLabel_3
ifAddressLabel_4
ifPhone_1
ifPhone_2
ifPhone_3
ifPhone_4
ifPhone_5
ifPhone_6
ifPhone_7
ifPhone_8
ifPhoneLabel_1
ifPhoneLabel_2
ifPhoneLabel_3
ifPhoneLabel_4
ifPhoneLabel_5
ifPhoneLabel_6
ifPhoneLabel_7
ifPhoneLabel_8
ifPreferredLabel
ifEmail_1
ifEmail_2
ifEmail_3
ifEmail_4
ifEmail_5
ifEmail_6
ifEmailLabel_1
ifEmailLabel_2
ifEmailLabel_3
ifEmailLabel_4
ifEmailLabel_5
ifEmailLabel_6
ifCustom_1
ifCustom_2
ifCustom_3
ifCustom_4
ifCustom_5
ifCustom_6
ifCustom_7
ifCustom_8
ifCustom_9
ifCustomLabel_1
ifCustomLabel_2
ifCustomLabel_3
ifCustomLabel_4
ifCustomLabel_5
ifCustomLabel_6
ifCustomLabel_7
ifCustomLabel_8
ifCustomLabel_9
ifUrl
ifPhoto
ifpicturefilename
ifRingtone
ifUnique_id
ifFavorite
ifCustom_vcards
ifInactive
IfVersionString
iffullname
ifcompanyorname
ifnameorcompany
iflastnamefirst
ifAnyPhone
These are the Field names that are used in the Template Drawing Routines
Deleted
Modification_date
Modification_date_exists
Creation_date
Creation_date_exists
Last_access_date
Last_access_date_exists
Prefix
First_name
Middle_name
Last_name
Suffix
Nick_name
Anniversary
Anniversary_exists
Birthday
Birthday_exists
Anniversary_alarm_set
Anniversary_alarm_adv
Birthday_alarm_set
Birthday_alarm_adv
Secret
Category
Note
Profession
Company
JobTitle
Street_1
City_1
State_1
Zip_1
Country_1
Street_2
City_2
State_2
Zip_2
Country_2
Street_3
City_3
State_3
Zip_3
Country_3
Street_4
City_4
State_4
Zip_4
Country_4
AddressLabel_1
AddressLabel_2
AddressLabel_3
AddressLabel_4
Phone_1
Phone_2
Phone_3
Phone_4
Phone_5
Phone_6
Phone_7
Phone_8
PhoneLabel_1
PhoneLabel_2
PhoneLabel_3
PhoneLabel_4
PhoneLabel_5
PhoneLabel_6
PhoneLabel_7
PhoneLabel_8
Preferred_label
Email_1
Email_2
Email_3
Email_4
Email_5
Email_6
EmailLabel_1
EmailLabel_2
EmailLabel_3
EmailLabel_4
EmailLabel_5
EmailLabel_6
Custom_1
Custom_2
Custom_3
Custom_4
Custom_5
Custom_6
Custom_7
Custom_8
Custom_9
CustomLabel_1
CustomLabel_2
CustomLabel_3
CustomLabel_4
CustomLabel_5
CustomLabel_6
CustomLabel_7
CustomLabel_8
CustomLabel_9
Url
Photo
Picture_filename
Ringtone
Unique_id
Favorite
Custom_vcards
Inactive
VersionString
The following items are not actually fields in the database, but rather convenient combinations for template drawing:
Fullname
Start-Middle-Last Name
Companyorname Company, but if null use fullnamae
Nameorcompany Full Name, but if null, use Company
Lastnamefirst
Full Name as Last
name, comma, first name, middle name