Changes for page Expand

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

From version 4.1
edited by 병곤 김
on 2026/10/06 04:53
Change comment: install expand wiki macro
To version 3.1
edited by 병곤 김
on 2026/10/06 04:52
Change comment: install expand wiki macro

Summary

Details

XWiki.WikiMacroClass[3]
Macro code
... ... @@ -1,9 +1,0 @@
1 -{{velocity}}
2 -#set($title = "$!xcontext.macro.params.title")
3 -#if($title == '')#set($title = 'Click to expand')#end
4 -{{html clean="false"}}<details class="conf-expand" style="margin:6px 0"><summary style="cursor:pointer;font-weight:bold">$escapetool.xml($title)</summary>{{/html}}
5 -(((
6 -$xcontext.macro.content
7 -)))
8 -{{html clean="false"}}</details>{{/html}}
9 -{{/velocity}}
Content description (Not applicable for "No content" type)
... ... @@ -1,1 +1,0 @@
1 -wiki
Macro content availability
... ... @@ -1,1 +1,0 @@
1 -Optional
Macro description
... ... @@ -1,1 +1,0 @@
1 -Confluence compatibility: expand
Macro id
... ... @@ -1,1 +1,0 @@
1 -expand
Macro name
... ... @@ -1,1 +1,0 @@
1 -Expand
Supports inline mode
... ... @@ -1,1 +1,0 @@
1 -Yes
Macro visibility
... ... @@ -1,1 +1,0 @@
1 -wiki
XWiki.WikiMacroParameterClass[3]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -title
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -title
XWiki.WikiMacroClass[2]
Macro code
... ... @@ -1,0 +1,9 @@
1 +{{velocity}}
2 +#set($title = "$!xcontext.macro.params.title")
3 +#if($title == '')#set($title = 'Click to expand')#end
4 +{{html clean="false"}}<details class="conf-expand" style="margin:6px 0"><summary style="cursor:pointer;font-weight:bold">$escapetool.xml($title)</summary>{{/html}}
5 +(((
6 +$xcontext.macro.content
7 +)))
8 +{{html clean="false"}}</details>{{/html}}
9 +{{/velocity}}
Content description (Not applicable for "No content" type)
... ... @@ -1,0 +1,1 @@
1 +wiki
Macro content availability
... ... @@ -1,0 +1,1 @@
1 +Optional
Macro description
... ... @@ -1,0 +1,1 @@
1 +Confluence compatibility: expand
Macro id
... ... @@ -1,0 +1,1 @@
1 +expand
Macro name
... ... @@ -1,0 +1,1 @@
1 +Expand
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +wiki
XWiki.WikiMacroParameterClass[2]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +title
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +title