Changes for page Expand

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

From version 1.1
edited by 병곤 김
on 2026/10/06 04:50
Change comment: install expand wiki macro
To version 5.1
edited by 병곤 김
on 2026/10/06 04:54
Change comment: install expand wiki macro

Summary

Details

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