...
You might want to guide users in creating content in Confluence , by providing a one-click link to create a page with a structured layout by:
When used with Scaffolding Forms & Templates for the Confluence Server and Data Center, automatically create creates a page based on a Live Template.
Automatically suggest a page title
Automatically categorize a page under a parent page
Automatically add labels to the page
If you don't have Scaffolding, check out Using Links to Create Pages from Confluence Templates.
Result
...
Recipe
Apps | Linking for Confluence Server, Scaffolding Forms & Templates for Confluence Server and Data Center |
---|---|
Platform | Server and Data Center |
Level | Easy |
Estimated time | 10 minutes |
Macros | Add Page |
Suppliers | N/A |
Storage format
You can copy and paste this code into the Confluence Source Editor:
...
Create an Add Page macro.
For the parameter Create Link Text, enter the link title of the link , e.g., "Create a new 'How-to' article". Users will see this text when viewing the link on the page.
To decide what will happen when a user clicks on the link, specify the source parameters:
Source parameter determines the name of the Live Template to use. E.g., "How-to article live template".
Source type is set to "template" since it is based on a Live Template.
Check the Live Template parameter , so that the page to be created will always be updated when the Live Template is updated.
Expand the Configure page title prefix/postfix and make use of the use the Prefix and Postfix parameters. In this example, we add "How-to " as a Prefix, so all page titles will start with "How to (do something)".
To ensure organized space, make use of the Parent parameter, which tells Linking where to create the page.
To automatically add label to the pages, we We specify "how" for the Labels parameter .
Line-by-Line Explanation
...
to automatically add labels to the pages.