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.
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.