# Template.extended

URL: /business/events/Template.extended · Id: `event:Template.extended`

> Emitted each time a Template is extended.

[Template.extend](/business/nouns/template/extend) emits `Template.extended` when it completes on a [Template](/business/nouns/template).

| Property | Value |
| --- | --- |
| Emitted by | [Template.extend](/business/nouns/template/extend) |
| Noun | [Template](/business/nouns/template) |
| Wakes | None. |

### Payload
Each delivery is an [Event](/business/nouns/event) record. `data` holds what [Template.extend](/business/nouns/template/extend) returns.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes | `Template.extended`. |
| `at` | `datetime` | Yes | When it happened. |
| `seq` | `integer` | No | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. |
| `data` | `json` | Yes | The Thing as the Action left it. |
| `data.startup` | [Startup](/business/nouns/startup) | Yes | The Startup with the Template among its bases. |
| `data.template` | [Template](/business/nouns/template) | Yes | The Template extended. |
| `data.template.body` | `text` | Yes | The MDX source with its variables. |

### Example
```json
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Template.extended",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "startup": {
      "$id": "https://api.sb/tutorloop.com/startups/startup_1",
      "$type": "Startup",
      "name": "TutorLoop"
    },
    "template": {
      "$id": "https://api.sb/tutorloop.com/templates/template_1",
      "$type": "Template",
      "body": "Example body"
    }
  },
  "seq": 1
}
```