The Pro version of Content Templater comes with several data tags that you can use in your template, that will be inserted automatically in the content the moment you insert the template.

Note that these data tags will be replaced with the actual value when inserted in the article. They will not remain dynamic when you change the article data itself. If you need to place dynamic tags that do not get hardcoded into the article text, you can use ReReplacer instead.

Here is a complete overview of all of the available Dara Tags and their syntax:

Input Syntax Description Output Example
[[user:id]] The ID number of the current logged-in user. * 465
[[user:username]] The login name of the current logged-in user. * peter
[[user:name]] The name of the current logged-in user. * Peter van Westen
[[user:misc]] Any other available data field from the current logged-in user or the connected contact. *

I'll sell you good copper, which is cheaper... well, here it is.

[[article:id]] The ID number of the current article. ** 123
[[article:title]] The title of the current article. ** My Article
[[article:alias]] Any other available data field from the current article. ** my-article
[[article:custom-field]] The output of any custom field from the current article. ** Value of my Custom Field
[[article:custom-field:value]] The raw value of any custom field from the current article. ** Value of my Custom Field
[[date:%A, %d %B %Y]]
[[date:%Y-%m-%d]]
Date using php strftime() format. Friday, 29 March 2024
2024-03-29
[[random:0-100]]
[[random:1000-9999]]
16
5175
This places a random number within the given range.
[[random:this,that]]
[[random:1-10,20,50,100]]
that
1
A random value from a list of strings, numbers or ranges.
[[template:...]] Content of another Content Templater template.
Example: [[template:2]] or [[template:My second template]]
(the content of given template)
[[escape]]\1[[/escape]] "It\'s a string!" Use to escape dynamic values (add slashes to quotes).
[[uppercase]]\1[[/uppercase]] "IT'S A STRING!" Convert text within tags to uppercase.
[[lowercase]]\1[[/lowercase]] "it's a string!" Convert text within tags to lowercase.
[[notags]]\1[[/notags]] "It's a string!" Remove html tags from the text within tags.
[[nowhitespace]]\1[[/nowhitespace]] "It'sastring!" Remove html tags and whitespace from the text within tags.
[[toalias]]\1[[/toalias]] its-a-string Convert text within tags to an alias (lowercase dash separated string).
[[replace from="string" to="different word"]]\1[[/replace]] "It's a different word!" Search and replace inside the text within tags.

* The user data tags place data from the logged-in user (the user that chooses the template).
** The article data tags are only available when editing an existing article. When creating a new article, you need to first save the article before applying the template.