# Variables

Section: Ticket Design · Page: https://artsvp.com/docs/ticket-design/variables

(Plans: Expert)

Variables are placeholders in a pass field that fill in with each guest's own
details when their pass is issued. A design is made once, and a variable is how
one design reads *"Alex Rivera, VIP Preview, 6:00 PM"* on one pass and
*"Sam Chen, General Admission, 7:30 PM"* on the next.

## Inserting a variable

Every pass field value, and Google's event name and venue name lines, has a
quill beside it. Click it to see the variables and pick one; it drops into the
field at the cursor as `{{event.name}}`. Variables sit happily inside plain
text, so *"Doors at {{event.time}}"* is a perfectly good value, and a field
can hold more than one.

The preview fills variables with its sample guest and event as you type, so
you always see finished wording rather than placeholders.

## The variables

| Variable | Fills in with |
|---|---|
| `{{guest.name}}` | The name on the booking, what the guest is checked in under |
| `{{guest.email}}` | The email the booking was made with |
| `{{guest.ticket_name}}` | Their ticket type, such as *"General Admission"* |
| `{{guest.ticket_entry}}` | *Single* or *Multi*, depending on whether the ticket re-admits |
| `{{event.name}}` | The event's public name |
| `{{event.time}}` | When this guest should arrive, worded exactly as it was when booking: their ticket's entry time if it has one, otherwise the event's time or full range of dates |
| `{{event.location_name}}` | The venue's name, such as *"Main Gallery"* |
| `{{event.location_address}}` | The venue's full street address |
| `{{booking.reference}}` | The short reference for the whole booking, for looking a guest up at the door |
| `{{booking.tickets_url}}` | A link back to the guest's tickets, so they can view or manage the booking |

A variable with nothing to fill in, such as a venue address on an event with
no location, leaves that part of the field empty rather than printing the
placeholder. Only the variables in the list are recognised; a design that
contains an unknown one will not save, and the error names it.

---

Keep reading: [Apple Wallet passes](https://artsvp.com/docs/ticket-design/apple-wallet-passes) ·
[Google Wallet passes](https://artsvp.com/docs/ticket-design/google-wallet-passes)

---
