# Templates

Using templates you can generate client-facing document. Template can be created for clients and loans. Example: Client - Client registration documents and Loans - Loan Contracts, Passbooks etc.

From the main screen, click on [**Admin**](https://docs.mifos.org/mifosx/user-manual/for-administrators-mifos-x-platform/administration) then select **Templates** from the drop down list.

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2FsCTjh8tMgjKtZ6XzhMGj%2FScreenshot%202023-01-02%20at%204.25.08%20PM.png?alt=media&#x26;token=3f0ee776-b4c2-4c2d-a5ac-98f41c8824a5" alt=""><figcaption></figcaption></figure>

### i.  Create Template

Click the blue **Create Template** button at the top-right of the screen.

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2FIq2QIZXKlHlwxMmVKTsU%2FScreenshot%202023-01-02%20at%204.25.45%20PM.png?alt=media&#x26;token=b1a7ef4c-0aff-4d52-8329-5e6b8d085d2f" alt=""><figcaption></figcaption></figure>

Create Template page

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2Fp1DSOs3SjMeKJJLiHSKe%2FScreenshot%202023-01-02%20at%204.26.11%20PM.png?alt=media&#x26;token=ffeadf7c-2d85-47da-8c9c-4397745e62cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2FnV4p9TlAxr7wjbmX0pED%2FScreenshot%202023-01-02%20at%204.28.01%20PM.png?alt=media&#x26;token=cf99ab2c-613c-49c8-95ad-e0cc352b7afa" alt=""><figcaption></figcaption></figure>

1. Select the **Entity** from the drop-down menu - choose either Client or Loan.\
   Example: Client&#x20;
2. Select the **Type** from the drop-down menu - Document.
3. **Name** the template in the field provided.\
   Example: Client Account number&#x20;
4. Fill in the template **Styles** and **Details** in the space provided.\
   Example: Hello {{`client.displayName`}}, Your account # is {{`client.accountNo`}}.&#x20;
5. In the 4th example showing {{`client.displayName`}}, will be selected from this section.&#x20;
6. Click **Submit** button to create.

### ii. View Templates

By following the **Templates** link, you will be taken to a list of all currently available templates that have been created by your organization.

**Tip**: Use the Filter by Name feature at the top of the screen to save time scrolling. Just begin typing the name you are looking for and Mifos X will narrow the search.

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2FH5cEGhzae4ZBGyctUYPN%2FScreenshot%202023-01-02%20at%204.28.28%20PM.png?alt=media&#x26;token=e2eb2e8a-10be-43f8-8260-b2f036b18207" alt=""><figcaption></figcaption></figure>

When the cursor is hovering over a template in the chart it will be highlighted in blue. Click on the template to open its detail page. From there you may **edit** or **delete** your organization's templates.

### iii. Edit/Delete Template

Once you have opened a template's page you may **Edit** or **Delete** it.

To **Delete** it click the orange **Delete** button at the top-right of the screen. This will launch a pop-up window, click the blue **Confirm** button to delete the template.

To **Edit** the chosen template click the blue **Edit** button at the top-right of the screen. This will launch an editing screen for you which you can:

* Change the **Entity**
* **Rename** the template
* Change the **Type** of template
* **Advance Options**

Additionally there is a window with which you can determine the way the template will look. You may alter the applicable **Styles** and the **Format** of the document.

<figure><img src="https://2235457518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lb-oDYAENt-r5hW1bjo%2Fuploads%2FOyg4qvOkoYaajeFWNDcR%2FScreenshot%202023-01-02%20at%204.28.01%20PM.png?alt=media&#x26;token=e0b692b6-71f6-443c-b0c5-e60b662531b3" alt=""><figcaption></figcaption></figure>

Related articles

* Page:[Templates](https://docs.mifos.org/mifosx/user-manual/for-administrators-mifos-x-platform/administration/templates)
