{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {htxt id="label-tokens-title"} {ts}Mailing Label Tokens{/ts} {/htxt} {htxt id="label-tokens"} {capture assign="example"}{ldelim}contact.custom_12{rdelim}{/capture}

{ts}Configure mailing labels for your site using tokens, which are replaced by contact field values when the labels are generated. Place your cursor within the Mailing Labels box where you want to the token to be inserted. Then click the "Insert Tokens" link to see a list of available tokens (including custom fields). Insert the token by clicking the desired token name.{/ts}

{/htxt} {htxt id="address-tokens-title"} {ts}Address Tokens{/ts} {/htxt} {htxt id="address-tokens"}

{ts}The following tokens are available to format Address display on Contact and Event screens.{/ts}

{literal}{contact.address_name}{/literal}{ts}Descriptive name assigned to a contact or event address. EXAMPLES: 'College address' for a person. 'Johnson Pavilion' for an event.{/ts}
{literal}{contact.street_address}{/literal}{ts}Full street address (e.g. 110 Main Street).{/ts}
{literal}{contact.supplemental_address_1}{/literal}{ts}Supplemental address 1 (line is skipped if empty).{/ts}
{literal}{contact.supplemental_address_2}{/literal}{ts}Supplemental address 2 (line is skipped if empty).{/ts}
{literal}{contact.city}{/literal}{ts}City.{/ts}
{literal}{contact.county}{/literal}{ts}County name. If you want to include the county in your screen displays, the County checkbox should be set under Address Editing » Address Fields on this screen, and county names must be added to the civicrm_county table in your database.{/ts}
{literal}{contact.state_province}{/literal}{ts}State or province abbreviation.{/ts}
{literal}{contact.state_province_name}{/literal}{ts}State or province full name.{/ts}
{literal}{contact.postal_code}{/literal}{ts}Postal code.{/ts}
{literal}{contact.country}{/literal}{ts}Country name (e.g. Canada).{/ts}
{literal}{, }{/literal}{ts}Add spaces or punctuation to layout by surrounding them with brackets.{/ts}
{/htxt} {htxt id="name-tokens-title"} {ts}Name Tokens{/ts} {/htxt} {htxt id="name-tokens"}

{ts}The following tokens are available to control the format of individuals' contact names when they are included in mailing labels.{/ts}

{literal}{contact.individual_prefix}{/literal}{ts}Assigned name prefix, if any (e.g. 'Ms.', 'Dr.', 'Hon.' etc.).{/ts}
{literal}{contact.individual_suffix}{/literal}{ts}Assigned name suffix, if any (e.g. 'II', 'Jr.', 'Sr.' etc.).{/ts}
{literal}{contact.first_name}{/literal}{ts}Contact's first name.{/ts}
{literal}{contact.middle_name}{/literal}{ts}Contact's middle name.{/ts}
{literal}{contact.last_name}{/literal}{ts}Contact's last name.{/ts}
{literal}{contact.current_employer}{/literal}{ts}Current employer name as configured in the individual contact edit form. You will probably want this on a separate line, so use the Enter key to create a line-break after the name fields.{/ts}
{literal}{, }{/literal}{ts}Add spaces or punctuation to layout by surrounding them with brackets.{/ts}
{/htxt}