Placeholders
Most notifications need parameters sent alongside the request to function. Template and events use these parameters within placeholders. These placeholders provide substance to a message.
Syntax
{{ <Placeholder>[ | <Filter>[ : arguments,...n]...n] }} |
Arguments
Parameter – The name of the input parameter. If the parameter is not provided and there is no default filter, then the output is an empty string.
Filter – Filters change the behavior of the parameter. Filters proceed the parameter name with pipe characters separating each filter. Some filters need extra arguments. These arguments proceed their respective filter by a colon and a comma-separated list. Below is a list of standard filters:
• append |
|
• ceil |
• date |
• default |
|
• downcase |
• floor |
• lstrip |
• minus |
• modulo |
|
• plus |
• prepend |
• remove |
|
• replace |
|
• round |
• rstrip |
• size |
• slice |
• times |
• truncate |
• upcase |
|
|
Users wishing to alter HTML structure should surround the placeholder syntax with comments.
|