# Add a template

You can create a template for later use. Templates can be created for any table, and an unlimited number of templates can be created.

The template is identical to the normal record except that `is_template=true`.

## Add from side menu

1. Click the **Add** button in the side menu.

   ![](https://github.com/Labii/labii-gitbook-docs/blob/gitbook/user-guide/add-record/broken-reference)
2. Choose a table. Simply click the "**...**" icon next to a table, and then select the **Blank \[Table] template** option.

   <img src="https://github.com/Labii/labii-gitbook-docs/blob/gitbook/user-guide/add-record/broken-reference" alt="" data-size="original">
3. Depending on your "[Add from form vs. Add directly](#form-add-vs.-direct-add)" settings, a form will be displayed or a record will be directly created.\
   ![](https://github.com/Labii/labii-gitbook-docs/blob/gitbook/user-guide/add-record/broken-reference)
4. The newly created template should be opened directly.

{% hint style="info" %}
In the form view, you can also set **Is Template** to `true` to make the newly created record a template.
{% endhint %}

## Add from project list view

When you click a Project / Folder and at the Project List View, you can add any type of table from the navigation bar.

By clicking the "**+ Add**" button, you will see the same interface as "[Add from side menu](#add-from-side-menu)".

![](https://github.com/Labii/labii-gitbook-docs/blob/gitbook/user-guide/add-record/broken-reference)

## Add from table list view

In the Table List View, you can add a new record from the nav bar.

1. Click the "**Add \[Table name]**" button
2. A dropdown menu will be opened. Select "**+ \[Table name] template**". Depending on your "[Add from form vs. Add directly](#form-add-vs.-direct-add)" settings, a form will be displayed or a record will be directly created.
3.

```
<img src="../../.gitbook/assets/add-table-list-button.webp" alt="" data-size="original">
```

## Add from detail view

In the record detail view, you can click "**+ \[Table name]**" at the nav bar to add a new record.

A dropdown menu will be opened. Select "**+ \[Table name] template**". Depending on your "[Add from form vs. Add directly](#form-add-vs.-direct-add)" settings, a form will be displayed or a record will be directly created.

<img src="https://3607108856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHVg57XIRcjV-Vbubtn%2Fuploads%2Fgit-blob-8b0599f27b8729a0e08035190cf6ca00cac7f893%2Fadd-detail-button.webp?alt=media" alt="" data-size="original">

## Create templates from existing records

The record can also be changed into a template by clicking on the "Columns" tab, then switching `is_template` to `true`.

Using bulk edit, you can also change the value of is\_template for multiple records at once.

## Remove a template

Labii encourages you to replace the old templates with new ones. You can do so by setting the newest records as templates, and by removing existing templates.

You can do this by setting `is_template` to `false`.

Using bulk edit, you can also change the value of is\_template for multiple records at once.
