Commands

Command Types

Templater defines 3 types of opening tags, that defines 3 types of commands:

  • <%: Interpolation command. It will output the result of the expression that's inside.
  • <%*: JavaScript execution command. It will execute the JavaScript code that's inside. It does not output anything by default.

The closing tag for a command is always the same: %>

Command utilities

In addition to the 3 different types of commands, you can also use command utilities. They are also declared in the opening tag of the command, and they work with all the command types. Available command utilities are: