> For the complete documentation index, see [llms.txt](https://wiki.lucysecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.lucysecurity.com/application-reference/templates/awareness-training-diploma.md).

# 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="/files/eq9wCwc6RRXyl08oP4ZG" 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="/files/vjRxMUfeMvtzVSc9pxU1" 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.lucysecurity.com/application-reference/templates/awareness-training-diploma.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
