The PTC Tag Description Macro allows you to configure additional settings for individual tags on a template. These settings will be applied and enforced when the template is copied.
The PTC Tag Description Macro provides the following configuration options:
What type the content with which the tag is replaced should be restricted, see Tag Formats (per default Standard)
Whether the user copying the template must provide a value to replace the tag with or not.
Setting an additional description text for the tag to be shown in the replacement dialog when the template is copied.
If the content of the macros body should be displayed on the page, uncheck the 'Hidden' parameter. (Default)
Macro Body
The value entered in the macro body describes the tag. It is later shown in the replacement dialog.
Parameters
Parameter | Information Table
Parameter
Description
Tag
The tag you want to configure
Format
Select what format you want the tag to be
Standard
User
Date
Link
Multi Line
Single Line
Dropdown
Regex
Info
Insert some help for the user when replacing the tag
Required
If checked, an input is required for this tag
Hidden
Check to hide the macro on the page
Tag Formats
Tag Formats | Information Table
Format
Description
Standard
When setting the tags format to standard, the user copying the template can supply any text with which the tag is replaced.
User
Tags of the user format will ask for existing Confluence users when being replaced. The user names will be displayed in default Confluence rich text, such as Lisa for example.
Date
Date tags require a valid date to be entered into the replacement. The date will be displayed in default Confluence rich text, such as 01 Jan 2020 for example.
Link
A tag set to the link format will be replaced with a functional link to another Confluence page or an external web page.
Multi Line
The multiline format makes it easy to have the tag replaced with multiple lines of text.
Single Line
Setting the tag format to single line restricts the replacement value to a single line of text.
Dropdown
When the dropdown format is selected, the user can choose one or multiple items from a dropdown menu in the replacement dialog. The selectable values can be defined directly in the Tag Description Macro. See Dropdown Format Parameters.
Regex
The regex format forces the user to choose a replacement text that matches a regular expression defined directly in the Tag Description Macro. See Regex Format Parameters.