Creative Commons Share Alike 3.0
Select
Click
Click the
You can add, edit or remove the key-value pairs. You can specify any number of key-value pairs.
In any template, the occurrence of every $key is replaced by the value it has in the configuration. For example, if you set the key to Manager and the value to Harry, any occurrence of $Manager is replaced by Harry in the message.
Assume that you have 1000 message templates with your current manager's name in them. When the current manager is replaced by a new one, it is not easy for you to manually replace the manager's name in all the 1000 messages. If the messages have a $Manager key value, you can reset the value in the Configuration tab of this plugin.
By default, the entire environment variables are used as a key-value pair. An occurrence of $env_variable is replaced by the value it carries. For example, an occurrence of $PATH in your template is replaced by its value when the template is used.
The replacement process uses the following order of precedence:
$key is replaced by the value set for it in the Configuration tab of the Templates plugin.
If the key is not found, it is then replaced with the value of its environment variable.
If key is neither a configuration option nor an environment variable, no changes are made.