# Awareness Training Diploma

Training Diplomas can be emailed to recipients upon successful completion of an awareness training.

{% hint style="info" %}
Navigate to **Templates > Awareness Training Diploma**
{% endhint %}

***

## Diploma Templates

Lucy comes with nine diploma designs ready to use right away, or you can overwrite any of these pre-made templates with your own designs. Each template is comprised of three files:

* **content.html** - the email with the diploma attachment
* **index.html** - the diploma itself
* **style.css** - a stylesheet for the diploma

***

## Customizing Diplomas

&#x20;To customize a template simply select it and begin editing the content:

<figure><img src="https://3536856424-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVYPsDfg76rUuy4DWfSsJ%2Fuploads%2Fjyu86VZyvyIknsbpjLDo%2Fchrome_5qqXSh52Sw.gif?alt=media&#x26;token=653b305c-aa98-407d-85fe-59b70887a876" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can preview your template to see how it will look to the user with the **Preview** button.
{% endhint %}

***

## Preview, Restore, and Save

You can restore a template to its default stateby clicking "Restore", or view your changes by clicking "Preview":

<figure><img src="https://3536856424-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVYPsDfg76rUuy4DWfSsJ%2Fuploads%2FDD54JQs0mizlB8XjhPEy%2Fimage.png?alt=media&#x26;token=6f0ea693-1937-4fef-86eb-058c84cee2c7" alt=""><figcaption></figcaption></figure>

When you're ready, click "Save" to commit your changes.

***

## Template Variables

You can use the following variables to personalize the diploma template:

* `%name%`: the recipient of the diploma
* `%awareness%`: the name of the awareness training
* `%gender%`: the title of the recipient (Mr., Mrs, or no title)
* `%score%`: the recipient's score
* `%date%`: the completion date of the training
* `%time%`: the completion time of the training

{% hint style="warning" %}
These variables are not available in CSS and JavaScript files.
{% endhint %}
