Summary
-
Objects (0 modified, 2 added, 2 removed)
Details
- XWiki.WikiMacroClass[1]
-
- 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[1]
-
- 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[0]
-
- Macro code
-
... ... @@ -1,0 +1,7 @@ 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,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[0]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +title - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +title