# Parameter templates

> Some parameters accept a template instead of a fixed value

---

Site [llms.txt](/llms.txt)

---

Cloud Management Platform (CMP) fills in the template for each new server, using details from the order.

For example, a hostname template of `{{ requestor.user.username }}-00X` names each server after the person who ordered it and adds a number that makes the name unique. The user doesn't need to enter a hostname.

## Parameters that accept templates

| Parameter | What it sets | Topic |
| --- | --- | --- |
| *Hostname Template* (`hostname_template`) | The hostname of each new server | [Hostname specification](/docs/cmp/configure/order-forms-and-pricing/parameters/parameter-templates/hostname-specification/) |
| *Annotation* (`annotation`) | The notes on each new server | [Annotations specification](/docs/cmp/configure/order-forms-and-pricing/parameters/parameter-templates/annotations-specification/) |

Set these parameters on a group or environment like any other parameter. A blueprint's server tier also has its own *Hostname template* field. Each parameter has its own context variables, listed in its topic.

## Other fields that use templates

These fields aren't parameters, but they use the same template format:

- *Resource Name Template* on a blueprint
- *Virtual folder path* on a VMware resource handler
- *Body* and *From Address* on an email action
- *Commandline args* on a remote script action

## The template format CMP uses

CMP uses the Django template format. These resources cover it:

- [The Django template language](https://docs.djangoproject.com/en/stable/topics/templates/)
- [Built-in filter reference](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#built-in-filter-reference)

## Related

- [Order form customization](/docs/cmp/use/blueprints/customize-order-form/order-form-customization/): Every way to customize the order form.

---

Section pages:

- [Hostname specification](/docs/cmp/configure/order-forms-and-pricing/parameters/parameter-templates/hostname-specification/): Choose how hostnames are assigned to new servers, from manual entry to dynamically generated templates
- [Annotations specification](/docs/cmp/configure/order-forms-and-pricing/parameters/parameter-templates/annotations-specification/): Set descriptive notes (annotations) on new servers, from manual entry to dynamically generated templates
