> For the complete documentation index, see [llms.txt](https://docs.itsaffinity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itsaffinity.com/product-guides/lms-authoring/customizing-content/custom-templating.md).

# Custom Templating

Custom templating allows you to dynamically inject learner names, departments, roles and company names into your trainings.

The authoring platform allows you to use a templating substitution system to dynamically inject the following content into trainings:

* Learner Name
* Learner Department
* Learner Role
* Company Name

This allows for content that feels very bespoke to the learner and thus hopefully engages them more when reading through the content.

### Adding in a Template Substitution

You can start typing the open bracket  "`{` " to see a dropdown list of available substitutions. You can either type in the name of the substitution and click enter, or you can just point and click on the one you want.

<figure><img src="https://4002322345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPBRTajgfHQ6Xtnedn3oe%2Fuploads%2Fwfg9YT36elI50C0ZUg38%2FScreenshot%202024-10-18%20at%201.37.52%E2%80%AFPM.png?alt=media&amp;token=ec1921f7-5a63-4a3f-a25c-dc0be1a39def" alt=""><figcaption></figcaption></figure>

Below we see what a sentence with all of the substitutions might look like. You can use these substitutions anywhere in the training, including page titles and section titles.

<figure><img src="https://4002322345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPBRTajgfHQ6Xtnedn3oe%2Fuploads%2FWv0oI5u8LO1mfnVwo7A3%2FScreenshot%202024-10-18%20at%201.38.31%E2%80%AFPM.png?alt=media&amp;token=1db33426-fc69-49ee-aa94-2aafdab34b26" alt=""><figcaption></figcaption></figure>

When a learner takes your training, they will see the result of the substitution templates. Below we see that all of this learners information was filled in successfully. If a learner does not have a department or role, then it will display as blanks. We encourage you to have department and roles for all learners.

<figure><img src="https://4002322345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPBRTajgfHQ6Xtnedn3oe%2Fuploads%2FgYRKdxf5OXzNtzZpKT7h%2FScreenshot%202024-10-18%20at%201.38.40%E2%80%AFPM.png?alt=media&amp;token=cce06cbc-5c41-43e1-8d0a-ae8ef7902f0d" alt=""><figcaption></figcaption></figure>
