> [!INFO] Template Explanations
> Learn the anatomy of each template [[Template Explanations|here]] and their workflows [[My Workflows|here]]
This vault uses the [[Templater Plugin]] to allow for extreme customization using code snippets which look like `<% bla bla bla %>
- You can learn more in [[Templater Plugin#Variables]]
## Customizations you can make
- [[Showing inline titles]]
## Frequently Asked Questions
### How to use templates?
- To keep things simple I use the [[QuickAdd Plugin]]
- To create a new note or new project, open command pallete and run
```button
name QuickAdd: Run QuickAdd
type command
action QuickAdd: Run QuickAdd
```
^button-mz93
- `Ctrl + Shift + T` to add a template to the current file
### How to modify existing templates?
- To modify the template selection process, go to quickadd settings, `Manage Macros`, and you will see the already existing quickadd
- Find `/templates` folder and just edit the text, structure, and queries to your liking :) My templates are only examples, and are not the "absolutely correct" way to do things- feel free to add in snippets that compliment your own daily routines and workflows!
```meta-bind-button
label: Toggle Preview
hidden: false
id: test-inline
style: default
actions:
- type: command
command: editor:toggle-source
```
To easier edit the properties of templates, you can toggle live preview/source mode with:
```button
name Toggle Live Preview/Source mode
type command
action Toggle Live Preview/Source mode
```
### How can I add partial templates?
- [[My Addons]]
## Anatomy
For frontmatter, visit [[My metadata philosophy]]
### Why are there double colons?
- It converts the content after the colon into [[Metadata]], which can then be displayed and used in dataview queries
### Why are notes sorted by file.mtime?
- Tables will show the date of creation, but will be sorted at their latest modified time to allow for notes that were created a long time ago but are still used frequently
## Troubleshooting
### Templater commands aren't loading fully
ex) `<%tp.file.title%>` and `<%tp.date.now("YYYY-MM-DD")%>`
If the templates don't automatically load upon note creation, be sure to enable the `Trigger Templater file on new file creation` setting in the `Templater` community plugin
Sometimes you might need to run a command to trigger the templates (you can manually do it by opening command pallete `Ctrl/Cmd + P` and then typing in `Replace templates in the active file`)