# Elemento template

## 1. Estructura

```ts
interface TemplateClip extends BaseClip {
  type: "template";
  template: string;
  data?: Record<string, unknown>;
}
```

## 2. Nombres de template compatibles

Nombres documentados actualmente:
- `product-intro`
- `slideshow`
- `subtitle-video`
- `talking-head`
- `comparison`
- `countdown`
- `text-reveal`
- `news`
- `quote`
- `list`

## 3. Límite del runtime

Los clips `template` se expanden en clips normales durante el runtime. La estructura generada exacta depende del template seleccionado y de su `data`.

La herencia a nivel de template de `transform`, `style`, `animations`, `keyframes` o `transition` no está documentada como un comportamiento estable para clips hijos.

## 4. Ejemplo

```json
{
  "type": "template",
  "template": "talking-head",
  "start": 0,
  "duration": 6,
  "data": {
    "src": { "$ref": "host" },
    "words": { "$ref": "sub-main" },
    "title": "Weekly Update",
    "speaker": "Alex Chen",
    "role": "Founder",
    "showLowerThird": true
  }
}
```