Common Fields

  • {{first_name}} (person only)
  • {{last_name}} (person only)
  • {{address_lines}} (a list on one line)
  • {{address_lines|format_list_with_newlines}} (one per line)
  • {{locality}}
  • {{region}}
  • {{postal_code}}
  • {{primary_email}} (single)
  • {{email}} (a list of emails)
  • {{telephone}} (a list of phone numbers)
  • {{formatted_name}}

Tickets

  • {{ticket.buyer}}
  • {{ticket.ticket_id}}
  • {{ticket.ticket_type}}
  • {{ticket.date}}
  • {{ticket.reference}}
  • {{ticket.amount}}

Membership

  • {{member.membership_number}} 
  • {{member.membership_type.display_value}} 
  • {{member.start_date}} 
  • {{member.end_date}} 
  • {{member.amount}}
  • {{member.membership_record_status}}  
  • {{member.auto_renew}} 
  • {{member.admin_contact}} 
  • {{member.linked_members}} (list)

Booking

  • {{booking.title}}
  • {{booking.date_range}}
  • {{booking.start_date}}
  • {{booking.start_datetime}}
  • {{booking.end_date}}
  • {{booking.end_datetime}}
  • {{booking.venue_for_display}}
  • {{booking.activity_for_display}}

(booking fields are also available when a ticket is selected)

Formatting Controls

Use formatting controls to change the normal output. Date formats are the most common control.

Date Time Format

houselongtime

{{booking.start_datetime|datetimeformat('house_long_time')}}

e.g. Monday, 03 July 2017 16:00

house_long

{{booking.start_datetime|datetimeformat('house_long')}}

e.g. Monday, 03 July 2017

custom

{{booking.start_datetime|datetimeformat('%Y-%m-%d')}}

e.g. 2017-07-03

The custom formats use the python date format definitions

List on multiple lines

{{address_lines|format_list_with_newlines}}

e.g. Flat 1a The Cresent Peak Road

List with commas

{{address_lines|format_list_with_commas}}

e.g. Flat 1a, The Cresent, Peak Road

Numbers

{{amount|integer}}  12.345 becomes 12
{{amount|decimal}}  12.345 becomes 12.35

Did this answer your question?