# Template Variables

| Variable              | Description                                                                                                        |
| --------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `filename`            | Returns the name + extension of the creating file                                                                  |
| `filepath`            | Returns the full path of the creating file                                                                         |
| `folder`              | Returns the folder of the creating file                                                                            |
| `id`                  | Returns the id of the creating entity/block/item/etc                                                               |
| `id.safe`             | Returns the a safe id of the creating entity/block/item/etc                                                        |
| `id.safe.nonamespace` | Returns the a safe id without a namespace of the creating entity/block/item/etc                                    |
| `pack.type.short`     | Returns the pack folder path, values: `bp`, `rp`, `sp`, `wp` or unknown                                            |
| `pack.type`           | Returns the type of the pack, values: `behavior`, `resource`, `skin`, `world` or unknown                           |
| `pack`                | Returns the pack folder path                                                                                       |
| `project.attributes`  | Returns the specified attribute of the stored MCProject information: <br>Example: `${{project.attributes:author}}` |
| `template.id`         | Returns the id of the template used to create the file, <br/>example: `behavior.entity`                            |
| `uuid`                | Returns a random uuid                                                                                              |
