{# /** * @file * Default template for the 'plain' address formatter. * * Available variables: * - given_name: Given name. * - additional_name: Additional name. * - family_name: Family name. * - organization: Organization. * - address_line1: First address line. * - address_line2: Second address line. * - postal_code: Postal code. * - sorting_code: Sorting code. * - dependent_locality: The dependent locality. * - dependent_locality.code: Dependent locality code. * - dependent_locality.name: Dependent locality name. * - locality: The locality subdivision. * - locality.code: Locality code. * - locality.name: Locality name. * - administrative_area: The administrative area subdivision. * - administrative_area.code: Administrative area code. * - administrative_area.name: Administrative area name. * - country: The country. * - country.code: Country code. * - country.name: Country name. * * if a subdivision (dependent_locality, locality, administrative_area) was * entered, the array will always have a code. If it's a predefined subdivision, * it will also have a name. The code is always prefered. * * @ingroup themeable */ #}
{{ address_line1 }}
{% if address_line2 %}{{ address_line2 }}
{% endif %}{{ dependent_locality.code }}
{% endif %} {% if locality.code or postal_code or administrative_area.code %}{{ locality.code }} {{ postal_code }} {{ administrative_area.code }}
{% endif %}{{ country.name }}