1
0
silverbullet/website/Page Templates.md
2023-12-21 18:38:02 +01:00

781 B

The {[Page: From Template]} command enables you to create a new page based on a page template. A page template is a Templates with the type attribute (in Frontmatter) set to page.

An example:

---
tags: template
type: page
pageName: "📕 "
---
# {{@page.name}}
As recorded on {{today}}.

## Introduction
## Notes
## Conclusions

Will prompt you to pick a page name (defaulting to “📕 “), and then create the following page (on 2023-08-08) when you pick “📕 Harry Potter” as a page name:

# 📕 Harry Potter
As recorded on 2022-08-08.

## Introduction
## Notes
## Conclusions

As with any Templates, the frontmatter can be used to define Frontmatter for the new page.