Summary
-
Objects (0 modified, 8 added, 8 removed)
- XWiki.WikiMacroClass[3]
- XWiki.WikiMacroParameterClass[21]
- XWiki.WikiMacroParameterClass[22]
- XWiki.WikiMacroParameterClass[23]
- XWiki.WikiMacroParameterClass[24]
- XWiki.WikiMacroParameterClass[25]
- XWiki.WikiMacroParameterClass[26]
- XWiki.WikiMacroParameterClass[27]
- XWiki.WikiMacroClass[0]
- XWiki.WikiMacroParameterClass[0]
- XWiki.WikiMacroParameterClass[1]
- XWiki.WikiMacroParameterClass[2]
- XWiki.WikiMacroParameterClass[3]
- XWiki.WikiMacroParameterClass[4]
- XWiki.WikiMacroParameterClass[5]
- XWiki.WikiMacroParameterClass[6]
Details
- XWiki.WikiMacroClass[3]
-
- Macro code
-
... ... @@ -1,8 +1,0 @@ 1 -{{velocity}} 2 -#set($title = "$!xcontext.macro.params.title") 3 -(% class="conf-panel" style="border:1px solid #ccc;padding:8px;margin:6px 0" %)((( 4 -#if($title != '')(% class="conf-panel-title" style="font-weight:bold;margin-bottom:4px" %)$title(%%) 5 -#end 6 -$xcontext.macro.content 7 -))) 8 -{{/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: panel - Macro id
-
... ... @@ -1,1 +1,0 @@ 1 -panel - Macro name
-
... ... @@ -1,1 +1,0 @@ 1 -Panel - Supports inline mode
-
... ... @@ -1,1 +1,0 @@ 1 -Yes - Macro visibility
-
... ... @@ -1,1 +1,0 @@ 1 -wiki
- XWiki.WikiMacroParameterClass[21]
-
- 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.WikiMacroParameterClass[22]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -borderColor - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -borderColor
- XWiki.WikiMacroParameterClass[23]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -bgColor - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -bgColor
- XWiki.WikiMacroParameterClass[24]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -borderStyle - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -borderStyle
- XWiki.WikiMacroParameterClass[25]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -borderWidth - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -borderWidth
- XWiki.WikiMacroParameterClass[26]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -titleBGColor - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -titleBGColor
- XWiki.WikiMacroParameterClass[27]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -titleColor - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -titleColor
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,0 +1,11 @@ 1 +{{velocity}} 2 +#set($title = "$!xcontext.macro.params.title") 3 +#set($borderColor = "$!xcontext.macro.params.borderColor") 4 +#set($bgColor = "$!xcontext.macro.params.bgColor") 5 +#set($style = '') 6 +#if($borderColor != '')#set($style = $style + 'border-color:' + $borderColor + ';')#end 7 +#if($bgColor != '')#set($style = $style + 'background:' + $bgColor + ';')#end 8 +{{html}}<div class="conf-panel" style="border:1px solid #ccc;padding:8px;margin:6px 0;$style">#if($title != '')<div class="conf-panel-title" style="font-weight:bold;margin-bottom:4px">$escapetool.xml($title)</div>#end<div class="conf-panel-body">{{/html}} 9 +$xcontext.macro.content 10 +{{html}}</div></div>{{/html}} 11 +{{/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: panel - Macro id
-
... ... @@ -1,0 +1,1 @@ 1 +panel - Macro name
-
... ... @@ -1,0 +1,1 @@ 1 +Panel - 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
- XWiki.WikiMacroParameterClass[1]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +borderColor - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +borderColor
- XWiki.WikiMacroParameterClass[2]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +bgColor - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +bgColor
- XWiki.WikiMacroParameterClass[3]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +borderStyle - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +borderStyle
- XWiki.WikiMacroParameterClass[4]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +borderWidth - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +borderWidth
- XWiki.WikiMacroParameterClass[5]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +titleBGColor - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +titleBGColor
- XWiki.WikiMacroParameterClass[6]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +titleColor - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +titleColor