Skip to content

Template Tags

Template Tags

Template tags are used extensively within Luna, they are essential in creating rich template documents. Template tags are replaced with actual values when templates are linked to the case.

Each client on the case will have a set of template tags, for example: - The first client will be: client_1_<tag-name> - The second client will be: client_2_<tag-name> - The third client will be: client_3_<tag-name>

This also applies to third-parties: - The first third-party will be: third_party_1_<tag-name> - The second third-party will be: third_party_2_<tag-name> - The third third-party will be: third_party_3_<tag-name>

Core System Tags

Template Tag Alternative Tag Description
{{branch_address_inline}} Branch Address Inline
{{branch_address_full_inline}} Branch Address Full Inline
{{branch_address}} Branch Address
{{branch_address_block}} Branch Address Block
{{company_name}} Company Name
{{legal_company_name}} Legal Company Name
{{trading_name}} Trading Name
{{sra_number}} Sra Number
{{company_number}} Company Number
{{vat_number}} Vat Number
{{date_now_short}} Date Now Short
{{date_now_long}} Date Now Long
{{page_break}} Page Break
{{authorised_signatory}} Authorised Signatory
{{authorised_signatory_email}} Authorised Signatory Email
{{complaints_signatory}} Complaints Signatory
{{complaints_signatory_email}} Complaints Signatory Email
{{dpo_signatory}} Dpo Signatory
{{dpo_signatory_email}} Dpo Signatory Email
{{supervisor_signatory}} Supervisor Signatory
{{supervisor_signatory_email}} Supervisor Signatory Email
{{case_id}} {{enquiry_id}} Case Id
{{case_type}} Case Type
{{fee_earner}} Fee Earner
{{fee_earner_title}} Fee Earner Title
{{fee_earner_email}} Fee Earner Email
{{claim_value}} Claim Value
{{file_handler}} File Handler
{{file_handler_title}} File Handler Title
{{file_handler_email}} File Handler Email
{{client_1_child_case}} {{client_child_case}} Client 1 Child Case
{{client_1_title}} {{client_title}} Client 1 Title
{{client_1_forename}} {{client_forename}} Client 1 Forename
{{client_1_surname}} {{client_surname}} Client 1 Surname
{{client_1_fullname_prefixed}} {{client_fullname_prefixed}} Client 1 Fullname Prefixed
{{client_1_fullname}} {{client_fullname}} Client 1 Fullname
{{client_1_address_block}} {{client_address_block}} Client 1 Address Block
{{client_1_address_inline}} {{client_address_inline}} Client 1 Address Inline
{{client_1_address_l1}} {{client_address_l1}} Client 1 Address L1
{{client_1_address_l2}} {{client_address_l2}} Client 1 Address L2
{{client_1_address_l3}} {{client_address_l3}} Client 1 Address L3
{{client_1_address_city}} {{client_address_city}} Client 1 Address City
{{client_1_address_county}} {{client_address_county}} Client 1 Address County
{{client_1_address_postcode}} {{client_address_postcode}} Client 1 Address Postcode
{{client_1_telephone_main}} {{client_telephone_main}} Client 1 Telephone Main
{{client_1_telephone_mobile}} {{client_telephone_mobile}} Client 1 Telephone Mobile
{{client_1_email}} {{client_email}} Client 1 Email
{{client_1_preferred_contact_time}} {{client_preferred_contact_time}} Client 1 Preferred Contact Time
{{client_1_preferred_contact_method}} {{client_preferred_contact_method}} Client 1 Preferred Contact Method
{{client_1_dob}} {{client_dob}} Client 1 Dob
{{client_1_occupation}} {{client_occupation}} Client 1 Occupation
{{client_1_ni_number}} {{client_ni_number}} Client 1 Ni Number
{{third_party_1_title}} {{defendant_title}} Defendant/Third Party 1 Title
{{third_party_1_forename}} {{defendant_forename}} Defendant/Third Party 1 Forename
{{third_party_1_surname}} {{defendant_surname}} Defendant/Third Party 1 Surname
{{third_party_1_business_name}} {{defendant_business_name}} Defendant/Third Party 1 Business Name
{{third_party_1_fullname_prefixed}} {{defendant_fullname_prefixed}} Defendant/Third Party 1 Fullname Prefixed
{{third_party_1_fullname}} {{defendant_fullname}} Defendant/Third Party 1 Fullname
{{third_party_1_address_block}} {{defendant_address_block}} Defendant/Third Party 1 Address Block
{{third_party_1_address_inline}} {{defendant_address_inline}} Defendant/Third Party 1 Address Inline
{{third_party_1_address_l1}} {{defendant_address_l1}} Defendant/Third Party 1 Address L1
{{third_party_1_address_l2}} {{defendant_address_l2}} Defendant/Third Party 1 Address L2
{{third_party_1_address_l3}} {{defendant_address_l3}} Defendant/Third Party 1 Address L3
{{third_party_1_address_city}} {{defendant_address_city}} Defendant/Third Party 1 Address City
{{third_party_1_address_county}} {{defendant_address_county}} Defendant/Third Party 1 Address County
{{third_party_1_address_postcode}} {{defendant_address_postcode}} Defendant/Third Party 1 Address Postcode
{{third_party_1_telephone_main}} {{defendant_telephone_main}} Defendant/Third Party 1 Telephone Main
{{third_party_1_telephone_mobile}} {{defendant_telephone_mobile}} Defendant/Third Party 1 Telephone Mobile
{{third_party_1_email}} {{defendant_email}} Defendant/Third Party 1 Email

System Tags dependant on custom post type activation

The following tags are present dependant upon the activation state of a a custom post type.

Insurers

Template Tag Description
{{insurer_name}} Insurer Insurer Name
{{insurer_address_block}} Insurer Address Block
{{insurer_address_inline}} Insurer Address Inline
{{insurer_address_l1}} Insurer Address L1
{{insurer_address_l2}} Insurer Address L2
{{insurer_address_l3}} Insurer Address L3
{{insurer_address_city}} Insurer Address City
{{insurer_address_county}} Insurer Address County
{{insurer_address_postcode}} Insurer Address Postcode
{{insurer_telephone_main}} Insurer Telephone Main
{{insurer_telephone_mobile}} Insurer Telephone Mobile
{{insurer_email}} Insurer Email

Medical practices

Template Tag Description
{{medical_practice_name}} Medical Practice Medical Practice Name
{{medical_practice_address_block}} Medical Practice Address Block
{{medical_practice_address_inline}} Medical Practice Address Inline
{{medical_practice_address_l1}} Medical Practice Address L1
{{medical_practice_address_l2}} Medical Practice Address L2
{{medical_practice_address_l3}} Medical Practice Address L3
{{medical_practice_address_city}} Medical Practice Address City
{{medical_practice_address_county}} Medical Practice Address County
{{medical_practice_address_postcode}} Medical Practice Address Postcode
{{medical_practice_telephone_main}} Medical Practice Telephone Main
{{medical_practice_telephone_mobile}} Medical Practice Telephone Mobile
{{medical_practice_email}} Medical Practice Email

Specialists

Template Tag Description
{{specialist_specialist_name}} Specialist Specialist Name
{{specialist_address_block}} Specialist Address Block
{{specialist_address_inline}} Specialist Address Inline
{{specialist_address_l1}} Specialist Address L1
{{specialist_address_l2}} Specialist Address L2
{{specialist_address_l3}} Specialist Address L3
{{specialist_address_city}} Specialist Address City
{{specialist_address_county}} Specialist Address County
{{specialist_address_postcode}} Specialist Address Postcode
{{specialist_telephone_main}} Specialist Telephone Main
{{specialist_telephone_mobile}} Specialist Telephone Mobile
{{specialist_email}} Specialist Email

Electronic Signature Tags

The tags below are available when electronic signature support is active.

Template Tag Description
{{client_1_signature}} Client 1 Signature: If used the clients signature is required in this section. Can be repeated once or many times.
{{client_1_signature_optional}} Client 1 Signature Optional: If used the client can optional sign in this section. Can be repeated once or many times.
{{client_1_sign_date}} Client 1 Sign Date: If used supplies the date the client signed automatically 1.
{{client_1_freetext_1}} Client 1 Freetext 1
{{client_1_freetext_2}} Client 1 Freetext 2
{{client_1_freetext_3}} Client 1 Freetext 3
{{client_1_freetext_4}} Client 1 Freetext 4
{{client_1_freetext_5}} Client 1 Freetext 5
{{client_1_freetext_6}} Client 1 Freetext 6
{{client_1_freetext_7}} Client 1 Freetext 7
{{client_1_freetext_8}} Client 1 Freetext 8
{{client_1_freetext_9}} Client 1 Freetext 9
{{client_1_freetext_10}} Client 1 Freetext 10
{{client_1_freetext_11}} Client 1 Freetext 11
{{client_1_freetext_12}} Client 1 Freetext 12
{{client_1_freetext_13}} Client 1 Freetext 13
{{client_1_freetext_14}} Client 1 Freetext 14
{{client_1_freetext_15}} Client 1 Freetext 15
{{client_1_freetext_16}} Client 1 Freetext 16
{{client_1_freetext_17}} Client 1 Freetext 17
{{client_1_freetext_18}} Client 1 Freetext 18
{{client_1_freetext_19}} Client 1 Freetext 19
{{client_1_freetext_20}} Client 1 Freetext 20

Dynamic Template

These tags are those derived from case type specific questionnaires created under the Enquiry Designer.

They follow the format <case_type>_<question_id> for example:

This image shows a entry from the enquiry designer; the id has been set to: "incident_occur" and the case type is PT (prototype) the resulting template tag would be {{pt_incident_occur}}

Test

Example tags

The following table demonstrates how tags from the Enquiry Designer translate to template tags.

Case Type Question ID Template Tag Description
PT incident_occur {{pt_incident_occur}} Example field: "Incident Occur"
EQ query_type {{eq_query_type}} Example field: "Query Type"
EQ subscription_id {{eq_subscription_id}} Example field: "Subscription ID"
TS01 incident_date {{ts01_incident_date}} Example field: "Incident Data"

  1. If supported by the electronic signature provider; both Adobe Sign and Dropbox sign support this.