Confluence bridge for Details (Page properties)

Modifié par superadmin le 25/05/2025 - 00:00

Description

This is a Confluence bridge for the Details macro. Confluence now calls this macro Page Properties. It allows the user to define arbitrary properties and attach arbitrary values to them. By arbitrary, we mean that properties and values are free-form: they do not follow any strict schema defined somewhere in the wiki.

Property-value couples are defined in a two column table where the first column uses header cells and define the property names, and the second column defines the values in regular cells.

The Confluence bridge for Details Summary (Also known as the Page Property Report macro in Confluence) can then be used to show details on this macro.

Bridges are there for compatibility with content migrated from Confluence and this is particularly true for the Details and Details Summary macros. We strongly encourage people to use native XWiki features, like App Within Minutes or XWiki classes and objects, which are more powerful and better integrated in the platform.

Parameters

ParameterDescriptionDefault
hiddenIf true, the content of the macro will be hidden.false
idThe optional identifier used to refer to these properties(empty)

Usage example

{{confluence_details id="work"}}
|=Title|The Hitchhiker's Guide to the Galaxy|
|=Author|Douglas Adams|
|=Released in years|1979–1992|
|=Kind|Trilogy in five books
|=Genre|Science fiction
{{/confluence_details}}

In another page:

{{confluence_detailssummary showLikesCount="true" showCommentsCount="true" showLastModified="true" headings="Title,Author,~"Released in years~"" showUnresolvedCommentsCount="true" id="work" showPageLabels="true" showCreator="true" cql="label = ~"examplelabel~" and space = currentSpace ( )"/}}

{{confluence_detailssummary showLikesCount="true" showCommentsCount="true" showLastModified="true" showUnresolvedCommentsCount="true" id="work" showPageLabels="true" showCreator="true" cql="label = ~"examplelabel~" and space = currentSpace ()"/}}

The result is the following:

TitleThe Hitchhiker's Guide to the Galaxy 
AuthorDouglas Adams 
Released in years1979–1992 
KindTrilogy in five books
GenreScience fiction

In the other page:

Erreur dans l'exécution de la macro [velocity]. Cause : [(conn=15335) This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery']. Cliquer sur ce message pour voir plus de détails.

Erreur dans l'exécution de la macro [velocity]. Cause : [(conn=15335) This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery']. Cliquer sur ce message pour voir plus de détails.