> For the complete documentation index, see [llms.txt](https://sheets.bed.codes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sheets.bed.codes/features/templates.md).

# Templates

Templates allow you to quickly create new menus using pre-defined structures.

### Templates Folder

All templates are stored in `plugins/Sheets/menus/templates/`.

### Default Templates

Sheets comes with several default templates:

* `basic_gui`: A standard inventory GUI.
* `simple_inventory`: A basic inventory-based menu.
* `anvil_input`: A template for [Anvil input menus](/features/editor.md#2-anvil-input).

### Usage

#### Commands

Run [`/sheets create <name> <template>`](/getting-started/commands.md#management-commands) to create a new sheet from a template.

```bash
/sheets create my_new_menu basic_gui
```

#### Graphical Interface

1. Run `/sheets create`.
2. Select **Create from Template**.
3. Choose your desired template from the list.
4. Enter the name for your new sheet.

### Creating Your Own Templates

1. Navigate to `plugins/Sheets/menus/templates/`.
2. Create a new YAML file.
3. Design your menu as usual.
4. Save the file and run `/sheets reload`.
5. Your new template will now appear in the template selector.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sheets.bed.codes/features/templates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
