Letterheads are HTML templates that are used to provided a consistent layout for the communication. They are created and maintained inside of Dispatch for use across clients. One common use for the letterheads are to provide access to the University of Iowa letterhead used in official communications. By providing the department's name, you can insert the department's mailing address into the upper right-hand corner of the page.

Tag Attributes:

Attribute Required Description
department Required if name is not used. Many departments have configured letterheads available. When specifying a department, the ui_letterhead will be used. See list of available "department" letterheads.
name Required if department is not used. The name of the letterhead to use. See list of available "named" letterheads.
address Optional Address block to be used if using a "named" letterhead that supports an address block. See Standard letterhead for example usage.
icon Optional Boolean if the IOWA logo should appear. Default is true. This should only be set to to false if you are using pre-printed shells at Printing Services.

Standard Letterhead

You can make use of the University of Iowa standard letterhead by passing into the letterhead tag your mailing address. The following CSS classes are available for styling the address block:

college
College or Org
dept-only
Department name if no college or org used.
dept
Main department name
dept2
Sub-department name
address
Street address, city, state, zip, phone, and website address

Each part of the address block should be encased in its own <div> with the appropriate CSS class applied.

<@letterhead address="
    <div class='college'>College of Amesome</div>
    <div class='dept'>Department Name</div>
    <div class='dept2'>Sub-department Name</div>
    <div class='address'>123 Street Address<br/>Iowa City, IA  52242<br/>319-335-1000</br>uiowa.edu</div>">

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus nisl nec lectus fringilla, nec eleifend urna fringilla. Curabitur vehicula hendrerit urna non aliquet. Aenean nec congue augue. Aenean vel elit at purus dignissim molestie in eu eros. Cras a tincidunt velit, sit amet laoreet neque.</p>

</@letterhead>

This would render a message like this:

If you have a need to share your letterhead with other groups, please contact dispatch-support@uiowa.edu and your letterhead can be converted into a department letterhead.

Department letterheads

Department letterheads can be used in conjunction with named letterheads that have an address block reserved. Those named letterheads are:

Note: Letterhead template might not render correctly because they are normally processed by the template engine. Viewing the rendered raw HTML should give you an idea of what parameters they are expecting.

  • ui_letterhead (default if no name attribute is provided in the tag

All departments with address blocks available for use with the department attribute.

Example:

Use the standard University of Iowa letterhead for the Admissions

<@letterhead department="admissions">

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus nisl nec lectus fringilla, nec eleifend urna fringilla. Curabitur vehicula hendrerit urna non aliquet. Aenean nec congue augue. Aenean vel elit at purus dignissim molestie in eu eros. Cras a tincidunt velit, sit amet laoreet neque.</p>

</@letterhead>

This would render a message like this:

Named letterheads

Named letterheads are special use letterheads. Some are designed to be used in conjunction with departmental address like those specified above.

Note: Letterhead template might not render correctly because they are normally processed by the template engine. Viewing the rendered raw HTML should give you an idea of what parameters they are expecting.

Example:

Use the admissions_simple_2015 letterhead. This named letterhead can be used by itself.

<@letterhead name="admissions_simple_2015">

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus nisl nec lectus fringilla, nec eleifend urna fringilla. Curabitur vehicula hendrerit urna non aliquet. Aenean nec congue augue. Aenean vel elit at purus dignissim molestie in eu eros. Cras a tincidunt velit, sit amet laoreet neque.</p>

</@letterhead>

This would render a message like this: