> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baobun.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Template

> Manage and reuse giveaway templates.

<Warning>
  `<>` means an argument is required, `[]` means it's optional
</Warning>

### View templates

View all created giveaway templates.

<CodeGroup>
  ```js Syntax theme={null}
  /template list
  ```
</CodeGroup>

### Create a template

Create a new giveaway template.

<CodeGroup>
  ```js Syntax theme={null}
  /template create <template_name>
  ```
</CodeGroup>

* `template_name` (text): required <br />
  The name you want to give the template

### Edit a template

Edit an existing giveaway template.

<CodeGroup>
  ```js Syntax theme={null}
  /template edit <template_name>
  ```
</CodeGroup>

* `template_name` (text): required <br />
  The name of the template you want to edit

### Remove a template

Remove an existing giveaway template.

<CodeGroup>
  ```js Syntax theme={null}
  /template remove <template_name>
  ```
</CodeGroup>

* `template_name` (text): required <br />
  The name of the template you want to remove
