Purpose
The pageheader macro is used to define a block Confluence wiki markup code to be rendered at the top of pages subject to a workflow. This macro is an alternative to referring to a header
template in the {workflow
} macro.
Syntax
{pageheader[:visibility=contributors/readonly/all]} <page header code> {pageheader}
Parameters
Parameters | Mandatory | Default | Description |
---|---|---|---|
| No |
| Indicates which users can view this footer: |
body of macro | No | – | Provides the format of the page header using Confluence's wiki markup language. For more information of the wiki markup language, see Confluence Wiki Markup. |
Example
The example below creates a table as a page header, populated with metadata retrieved from the page. The example below is taken from the Lightweight Requirements Management workflow and can be imported for use.
{workflow} ... {pageheader} || State | {get-metadata:state>name} | || Priority | {get-metadata:Priority} | || Category | {get-metadata:Category} | || Owner | {get-metadata:Owner} | || Actor | {get-metadata:Actor} | {pageheader} ... {workflow}