> For the complete documentation index, see [llms.txt](https://academy.gopersonal.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.gopersonal.ai/en/admin-ui/catalogs/templates.md).

# Templates

Templates empower developers to design and construct custom structures that can be later employed when creating variants. Similar to variants, a template can incorporate variables in the code, providing marketers with access to specific sections of the code.

<figure><img src="https://77548240-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6jDsmHXQ0gdSKhPuXFMw%2Fuploads%2FTZvfLRMMjy48z9kh0HHd%2FScreenshot%202024-01-06%20at%209.23.36%20PM.png?alt=media&amp;token=19d8dc28-ef79-4066-823c-28d205cf0027" alt=""><figcaption></figcaption></figure>

Templates can also be saved while creating the variant.

### New Template&#x20;

You can start the[ creation of a template from scratch](/en/admin-ui/personalizations/experiences/new-variant-from-scratch.md) or select one of your template created previously.&#x20;

<figure><img src="https://77548240-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6jDsmHXQ0gdSKhPuXFMw%2Fuploads%2FyzdLijBCuNxTSeYDM1oT%2FScreenshot%202024-01-06%20at%209.24.32%20PM.png?alt=media&amp;token=5e0fc196-198a-48eb-9caf-70d5d60a65a2" alt=""><figcaption></figcaption></figure>
