Templates

If you find yourself writing pages with the same format and structure, then you can use Templates to simplify your experience.

By using Templates, you can turn an existing page into a template, so the same format and structure can be applied to new pages.

Create a Template

To create a template:

  1. Select the page you want to make a template of or create a new one and save it.
  2. Below the page title, click on to create a template from the page.
  3. Give the template a title. The template would be saved now.

Use a Template

To use a template:

  1. Create a new page.
  2. Under the page title, click on Create from Template.
  3. Select one of the existing templates you created. The template would be applied to the page.

Delete a Template

To delete a template:

  1. Create a new page.
  2. Under the page title, click on Create from Template.
  3. Find the template you wish to delete, and click the icon next to it.
  4. Confirm your choice.

If you regularly build pages from templates, you might want to use a template link. The template link loads the documentation, creates a new page at the bottom of the index, and loads up the template.

To do this, use the following link:

Copy

Note that all parts of the link before ? are the exact same as any page link you have open in the editor. If you load up the desired documentation in the editor, copy the link and add the query, that would be a template link.

Where template_id can be found when you are selecting a template at the top right corner:

Known Limitations

If a template has a page link in its contents, then the page link would only be valid for the version it was created in. You might want to create different template pages for different versions if you must have an internal page link in it.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated