# How to use the tool to generate template code?

Link tool:  <https://themes.halothemes.com/shopify/description_tab/>

**To generate a template code using the generate tool, follow the steps below:**

### **01. Step 1:** Go to the **template generate tool link** you want to use

&#x20;(In this example, we’ll use the following link: <https://themes.halothemes.com/shopify/description_tab/#template1>).

### **02. Step 2:** Add the necessary information through the settings.

Here, you can add the layouts you want to include in the template using the settings on the left side of the screen. Additionally, you can preview how the layout will be displayed on the right side of the screen.

<figure><img src="/files/tR3BySMQRg1ckBrxyF3H" alt=""><figcaption></figcaption></figure>

You can add the new section into the template via the "+Add" Button

<figure><img src="/files/n0gP8kWveyhYmQ3xT9qD" alt=""><figcaption></figcaption></figure>

Then add content to the item you just added

<figure><img src="/files/p8Kxm3A76cxAqv7Qs0qk" alt=""><figcaption></figcaption></figure>

You can remove this section from the template using the 'Remove' button.

<figure><img src="/files/h5Oj6ZEM5uEJjb3Bfbt3" alt=""><figcaption></figcaption></figure>

### **03. Step 3:** Copy template code.

* After you've finished adding content, scroll down and click the 'Generate HTML' button to create the HTML code.&#x20;

<figure><img src="/files/BXuqYck1FjR69J47kVAY" alt=""><figcaption></figcaption></figure>

* Once it's generated, click the 'Copy Code' button to copy the template code.

<figure><img src="/files/15veRA0wAMsrH7oqlNbt" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://halosoft.gitbook.io/ella-7-documentation/faq-and-troubleshooting/how-to-use-the-tool-to-generate-template-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
