哈喽,感谢你访问我们的帮助中心。目前我们的帮助中心还在建设中。我们将在不久的未来呈现帮助中心的内容。感谢你的理解,我们未来再见!

数据库模板

Using database templates
在这篇文章中

大多数数据库都包含反复创建的相同类型的页面。想想每周会议记录、错误报告或设计规范。为了让这一切变得简单,数据库模板让您可以一键定义和复制某些页面结构 🖱

跳转到常见问题

To create a template inside a database, click the dropdown arrow next to New at the top right of your database. Then, select + New template.

When editing a new or existing template, you'll see a bar across the top indicating which database it's located in.

Whatever you title this page will be the name of the template you use going forward. For instance, you might title this one Bug.

On this page, you can define properties for your template. For example, you can create a template for bug reports that automatically puts P1 in the Priority property and assigns the user Fig to the Product Manager property. You can also add content in the page itself.

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.

Note: If you add a relation property to a template, do not fill it in unless you want every page you create with that template to relate to the same existing page(s).

  1. Create a new page in your database and choose any of the templates from the gray menu it contains.

  2. You can also click the dropdown menu on the right of the blue New button at the top right of your database. Choose any template you've created to generate that type of page.

  3. Give the page a unique title.

  4. Once you've created a new page with a template, you can make any changes you want to the content that appeared.

Repeating database templates automatically create a copy of a template in your database however often you would like.

hc: repeating database templates

Create a repeating database template

To create a repeating database template:

  1. Open the dropdown next to New or + (depending on your screen size) at the top of your database.

  2. Next to the database template you want to repeat, select •••.

  3. Open the dropdown next to Repeat.

  4. You can make your template repeat daily, weekly, monthly, or yearly. Indicate how many weeks, months, or years you want in between repeats, as well as your start date and the time you want your database template to be repeated.

Nesting database templates

You may want to create a database inside of a recurring database template, with that database having templates of its own. While this is possible, be mindful of the limitations:

  • You can’t nest a template within a template that recurs daily. You can only nest a template within a template that recurs weekly, monthly, or yearly.

  • You can only have three levels of nesting per database template.

  1. Open the dropdown next to + or New at the top of your database.

  2. Click ••• next to the template you want to edit and click Edit. Make your changes in the editing view that pops up.

  3. The same ••• menu also lets you duplicate or delete a template.


常见问题

Are the templates I create in one database available in all other databases in my workspace?

No, they're only available in the specific database where you created them. For every new database you create, you can define new templates.

How do relation properties work with templates?

While you can create relation properties in database templates, we don't recommend that you define them unless you want every page of a certain type to be related to the same page(s).

Is there a limit to the number of database templates I can make?

Nope! You can make as many as you want.

仍有更多问题?给支持部门留言

给予反馈

这个资源有帮助吗?