Summary
-
Objects (0 modified, 4 added, 4 removed)
Details
- XWiki.WikiMacroClass[2]
-
- Macro code
-
... ... @@ -1,11 +1,0 @@ 1 -{{velocity}} 2 -#set($title = "$!xcontext.macro.params.title") 3 -#set($colour = "$!xcontext.macro.params.colour") 4 -#set($bg = '#ddd') 5 -#if($colour == 'Red')#set($bg = '#e85e5e')#end 6 -#if($colour == 'Green')#set($bg = '#4caf50')#end 7 -#if($colour == 'Yellow')#set($bg = '#ffc107')#end 8 -#if($colour == 'Blue')#set($bg = '#2196f3')#end 9 -#if($colour == 'Grey')#set($bg = '#757575')#end 10 -{{html}}<span class="conf-status" style="background:$bg;color:#fff;padding:1px 6px;border-radius:3px;font-size:85%">$escapetool.xml($title)</span>{{/html}} 11 -{{/velocity}} - Macro content availability
-
... ... @@ -1,1 +1,0 @@ 1 -No content - Macro description
-
... ... @@ -1,1 +1,0 @@ 1 -Confluence compatibility: status - Macro id
-
... ... @@ -1,1 +1,0 @@ 1 -status - Macro name
-
... ... @@ -1,1 +1,0 @@ 1 -Status - Supports inline mode
-
... ... @@ -1,1 +1,0 @@ 1 -Yes - Macro visibility
-
... ... @@ -1,1 +1,0 @@ 1 -wiki
- XWiki.WikiMacroParameterClass[6]
-
- 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[7]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -colour - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -colour
- XWiki.WikiMacroParameterClass[8]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -subtle - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -subtle
- XWiki.WikiMacroClass[1]
-
- Macro code
-
... ... @@ -1,0 +1,11 @@ 1 +{{velocity}} 2 +#set($title = "$!xcontext.macro.params.title") 3 +#set($colour = "$!xcontext.macro.params.colour") 4 +#set($bg = '#ddd') 5 +#if($colour == 'Red')#set($bg = '#e85e5e')#end 6 +#if($colour == 'Green')#set($bg = '#4caf50')#end 7 +#if($colour == 'Yellow')#set($bg = '#ffc107')#end 8 +#if($colour == 'Blue')#set($bg = '#2196f3')#end 9 +#if($colour == 'Grey')#set($bg = '#757575')#end 10 +{{html}}<span class="conf-status" style="background:$bg;color:#fff;padding:1px 6px;border-radius:3px;font-size:85%">$escapetool.xml($title)</span>{{/html}} 11 +{{/velocity}} - Macro content availability
-
... ... @@ -1,0 +1,1 @@ 1 +No content - Macro description
-
... ... @@ -1,0 +1,1 @@ 1 +Confluence compatibility: status - Macro id
-
... ... @@ -1,0 +1,1 @@ 1 +status - Macro name
-
... ... @@ -1,0 +1,1 @@ 1 +Status - Supports inline mode
-
... ... @@ -1,0 +1,1 @@ 1 +Yes - Macro visibility
-
... ... @@ -1,0 +1,1 @@ 1 +wiki
- XWiki.WikiMacroParameterClass[3]
-
- 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[4]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +colour - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +colour
- XWiki.WikiMacroParameterClass[5]
-
- Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +subtle - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +subtle