Most databases contain the same types of pages created over and over again. Think of notes from a weekly staff meeting, bug reports, or design specs. To make this easy, our database template tool lets you define and replicate certain page structures with one click.
Create a database template
There are two ways to create a template inside a database:
- Click the dropdown menu on the right side of the blue
New button at the top right of any database. Choose
+ New template.
- You can also create a template from a new page. If you have no database templates already, you'll be prompted to create one in the body of the new page. If you do, you'll see them in a list along with
+ New template.
Note: For in-line databases, hover over the top of them to see the
New button. You can also click
••• and choose
Templates to create or access existing templates.
Edit a database template
- When editing a new or existing template, you'll see a light gray bar across the top indicating which database it's located in.
- On this page, you can define properties and page structure for your template.
- For example, you can create a template for bug reports that automatically puts
Bug in the tags property and
Simon Last in the assigned property.
- You can also create headings in the page for how the bug was reported, screenshots of its occurrence, and recommendations for fixing it.
- Whatever you title this page will be the name of the template you use going forward. For instance, you might title this one
- This template can be instantly generated every time there's a bug. The new page will automatically put
Bug in tags and
Simon Last in assigned, and include your chosen headings in the body of the page, like this:
- Templates can contain any type of content, including images, embeds, and sub-pages. Whatever you choose will show up identically on each page created with the template.