Templates
The plugin allows you to set a template note that gets added to the end of any note created by this plugin. This enables you to customize the format and content of your media notes.
Template Tags
Section titled “Template Tags”The plugin offers simple template tags that will be replaced with metadata from the imported media.
Basic Syntax
Section titled “Basic Syntax”Template tags use the following syntax:
{{ property_name }}Important: Note that template tags are surrounded by two curly braces and spaces. The spaces inside the curly braces are important!
Example
Section titled “Example”{{ title }}This will be replaced by the title of the media being imported.
Available Variables
Section titled “Available Variables”Available variables that can be used in template tags are any front-matter properties returned by the API. These vary by API and media type, but commonly include:
{{ title }}{{ year }}{{ rating }}{{ director }}{{ genres }}- And many more…
Array Formatting
Section titled “Array Formatting”For array properties (like genres, actors, etc.), there are two special ways of displaying them:
LIST Format
Section titled “LIST Format”Using {{ LIST:variable_name }} will result in:
- element 1- element 2- element 3- ...ENUM Format
Section titled “ENUM Format”Using {{ ENUM:variable_name }} will result in:
element 1, element 2, element 3, ...Example Templates
Section titled “Example Templates”Here’s an example template for a movie:
# {{ title }}
**Year**: {{ year }}**Director**: {{ director }}**Rating**: {{ rating }}
## Genres
{{ LIST:genres }}
## Cast
{{ LIST:actors }}
## Plot
{{ plot }}
## My NotesCommunity Templates
Section titled “Community Templates”For more inspiration, check out the community templates repository.