# TemplatePlaceholder

One `{name}` or `{name|formatter}` in a template.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { TemplatePlaceholder } from "@mapcairn/core";
 
interface TemplatePlaceholder
```

## Properties

### formatter

```ts
readonly formatter?: string;
```

The name of the registered formatter to run the value through, when there is one.

### name

```ts
readonly name: string;
```

The decoded field to read.

Source: [packages/core/src/layers/template.ts:28](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/template.ts#L28)
