# List of Replacement Variables

*Article Topics:* [*Design*](https://docs.toomuchmedia.com/getting-started/common-topics/design)*,* [*Blocks*](https://docs.toomuchmedia.com/getting-started/common-topics/blocks)

## Available Replacement Variables

{% hint style="info" %}
**Please Note:** Using the "type.debug" format will display all the respective data for that replacement type on your page.&#x20;
{% endhint %}

### CMS Area

The following replacement variables can be used in the HTML field of an HTML Block.

| Name             | Replacement Variable          | Results                   |
| ---------------- | ----------------------------- | ------------------------- |
| Area Name        | {{area.name}}                 | Displays Area Name        |
| Area Description | {{area.settings.description}} | Displays Area Description |
| Active CMS Theme | {{area.cms\_theme\_id}}       | Displays Theme ID         |

### Theme

| Name                     | Replacement Variable                 | Results                             |
| ------------------------ | ------------------------------------ | ----------------------------------- |
| Theme Name               | {{theme.name}}                       | Displays Theme Name                 |
| Theme Design Body Class  | {{theme.settings.body\_tag\_class}}  | If Set, displays Theme's Body Class |
| Theme Design Theme Color | {{theme.settings.--cms-theme-color}} | Displays Theme color in Hex         |

| Name              | Replacement Variable | Results                      |
| ----------------- | -------------------- | ---------------------------- |
| Member Username   | {{member.username}}  | Displays Member's Username   |
| Member First Name | {{member.firstname}} | Displays Member's First Name |
| Member Last Name  | {{member.lastname}}  | Displays Member's Last Name  |

### Site Details

| Name      | Replacement Variable | Results              |
| --------- | -------------------- | -------------------- |
| Site Name | {{site.name}}        | Displays Site's Name |
| Site ID   | {{site.siteid}}      | Displays Site's ID   |

### Tour Details

| Name      | Replacement Variable | Results              |
| --------- | -------------------- | -------------------- |
| Tour Name | {{tour.name}}        | Displays Tour's Name |
| Tour ID   | {{tour.siteid}}      | Displays Tour's ID   |

### Links

| Name            | Replacement Variable       | Results                           |
| --------------- | -------------------------- | --------------------------------- |
| Signup URL      | {{links.signup\_url}}      | Displays the Signup URL Link      |
| Full Signup URL | {{links.full\_signu\_url}} | Displays the Full signup URL Link |
| NATSCode        | {{links.natscode}}         | Displays the NATSCode             |

### Date

| Name                       | Replacement Variable     | Results                                |
| -------------------------- | ------------------------ | -------------------------------------- |
| Day of the Month           | {{date.day}              | Displays the Day of the Month          |
| Day of the Week            | {{date.dow}}             | Displays the Day of the Week           |
| Year                       | {{date.year}}            | Displays the Year                      |
| Month                      | {{date.month}}           | Displays the Month                     |
| Any PHP Date Format String | {{date.D M j G:i:s T Y}} | Displays the full date including time. |

### Query String

| Name         | Replacement Variable | Results |
| ------------ | -------------------- | ------- |
| Any QS Param | {{qs.PARAM}}         |         |

### Logical Examples

If/Else:&#x20;

```
{{if A=} X {else} Y {end}
```

## Related Articles

{% content-ref url="" %}
[](https://docs.toomuchmedia.com/content-management/member-areas-and-tours/customizing-your-theme/replacement-variables)
{% endcontent-ref %}
