# Template

Represents a Kirby template and takes care of loading the correct file.

****

- Full class name: `Kirby\Template\Template`
- Alias: `Kirby\cms\template`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Template/Template.php#L21>

****

### Template

- [new Template()](https://getkirby.com/docs/reference/objects/template/template/__construct.md)
- [$template->__toString()](https://getkirby.com/docs/reference/objects/template/template/__to-string.md)
- [$template->defaultType()](https://getkirby.com/docs/reference/objects/template/template/default-type.md)
- [$template->exists()](https://getkirby.com/docs/reference/objects/template/template/exists.md)
- [$template->extension()](https://getkirby.com/docs/reference/objects/template/template/extension.md)
- [$template->file()](https://getkirby.com/docs/reference/objects/template/template/file.md)
- [$template->hasDefaultType()](https://getkirby.com/docs/reference/objects/template/template/has-default-type.md)
- [$template->name()](https://getkirby.com/docs/reference/objects/template/template/name.md)
- [$template->render()](https://getkirby.com/docs/reference/objects/template/template/render.md)
- [$template->root()](https://getkirby.com/docs/reference/objects/template/template/root.md)
- [$template->store()](https://getkirby.com/docs/reference/objects/template/template/store.md)
- [$template->type()](https://getkirby.com/docs/reference/objects/template/template/type.md)