Token with multiple lines

Anonymous
Not applicable
Is there a way to insert a token so that it renders multiple lines of data?

For instance, I would like to use a token to past a mailing address so that it shows multiple lines of information rather than having to break up the information into 3 seperate fields (Address line 1, 2, and 3).
Tags (1)
3 REPLIES 3
Dory_Viscoglio
Level 10
Ah, yea... Erik's idea would also work. I'm just not sure how spacing would work if you had something like:

Address:  My Place
                123 Main Street
                Anytown, USA 12345

And wanted all of them to line up after Address. Not sure how that would work with the snippet either, though.
Anonymous
Not applicable
Can't you make a rich text my token and put the line breaks into the HTML for that token as well? Or is there anything tricky about that approach you've seen in the past?
Dory_Viscoglio
Level 10
Hi Taylor, you can create a snippet with the different tokens, so that this can be done as a single entry.

Example:

In my tokens:
{{my.Location}}
{{my.Address}}
{{my.City State Zip}}

Create a snippet:
{{my.Location}}
{{my.Address}}
{{my.City State Zip}}

Then you would add the snippet to your page or email. Otherwise, you could just add the three tokens to a text box in the email or landing page.