Changes for page Content By Label

Last modified by 병곤 김 on 2026/10/06 04:54

From version 2.1
edited by 병곤 김
on 2026/10/06 04:51
Change comment: install contentbylabel wiki macro
To version 4.1
edited by 병곤 김
on 2026/10/06 04:53
Change comment: install contentbylabel wiki macro

Summary

Details

XWiki.WikiMacroClass[1]
Macro code
... ... @@ -1,8 +1,0 @@
1 -{{velocity}}
2 -#set($labels = "$!xcontext.macro.params.labels")
3 -#set($msg = 'contentbylabel: ')
4 -#if($labels != '')#set($msg = $msg + 'labels=' + $labels)#end
5 -(% class="box warningmessage" %)(((
6 -$msg (migrated placeholder)
7 -)))
8 -{{/velocity}}
Macro content availability
... ... @@ -1,1 +1,0 @@
1 -No content
Macro description
... ... @@ -1,1 +1,0 @@
1 -Confluence compatibility: contentbylabel
Macro id
... ... @@ -1,1 +1,0 @@
1 -contentbylabel
Macro name
... ... @@ -1,1 +1,0 @@
1 -Content By Label
Supports inline mode
... ... @@ -1,1 +1,0 @@
1 -Yes
Macro visibility
... ... @@ -1,1 +1,0 @@
1 -wiki
XWiki.WikiMacroParameterClass[7]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -labels
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -labels
XWiki.WikiMacroParameterClass[8]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -spaces
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -spaces
XWiki.WikiMacroParameterClass[9]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -sort
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -sort
XWiki.WikiMacroParameterClass[10]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -showLabels
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -showLabels
XWiki.WikiMacroParameterClass[11]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -showSpace
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -showSpace
XWiki.WikiMacroParameterClass[12]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -type
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -type
XWiki.WikiMacroParameterClass[13]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -cql
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -cql
XWiki.WikiMacroClass[3]
Macro code
... ... @@ -1,0 +1,8 @@
1 +{{velocity}}
2 +#set($labels = "$!xcontext.macro.params.labels")
3 +#set($msg = 'contentbylabel: ')
4 +#if($labels != '')#set($msg = $msg + 'labels=' + $labels)#end
5 +(% class="box warningmessage" %)(((
6 +$msg (migrated placeholder)
7 +)))
8 +{{/velocity}}
Macro content availability
... ... @@ -1,0 +1,1 @@
1 +No content
Macro description
... ... @@ -1,0 +1,1 @@
1 +Confluence compatibility: contentbylabel
Macro id
... ... @@ -1,0 +1,1 @@
1 +contentbylabel
Macro name
... ... @@ -1,0 +1,1 @@
1 +Content By Label
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +wiki
XWiki.WikiMacroParameterClass[21]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +labels
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +labels
XWiki.WikiMacroParameterClass[22]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +spaces
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +spaces
XWiki.WikiMacroParameterClass[23]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +sort
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +sort
XWiki.WikiMacroParameterClass[24]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +showLabels
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +showLabels
XWiki.WikiMacroParameterClass[25]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +showSpace
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +showSpace
XWiki.WikiMacroParameterClass[26]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +type
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +type
XWiki.WikiMacroParameterClass[27]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +cql
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +cql