Files
directus/docs/app/display-templates.md
Eron Donevan Powell e843d1a775 Docs: Display Templates Page (#13494)
* created new display templates page

* first draft complete, should be fully ready to go live
2022-05-24 11:22:34 -04:00

1.1 KiB

Display Templates

Display Templates, a utility used throughout Directus, allow you to set Field Values and custom text in order to better represent the Items in a Collection.

How it Works

Display Templates can be found in various places all throughout the App, such as Layout Options and the List Panel in Insights. Display Templates are easy to setup, just follow these steps:

  • Click add_box to add a Field or relationally linked Field.
  • Type in any custom text as desired.
  • Click the Field inline or hit backspace to remove it.

:::tip Keep it Short and Simple

Display Templates will let you represent Items with custom inline text, image thumbnails, dates, numbers, or pretty anything else. However, it may look funky or run off the page if you attempt to display things like long blog posts, JSON objects or geo-coordinates.

:::