包含宏正文和参数,下面的 Confluence 对象在宏中可用:
| $body | 宏的正文(如果宏有正文的话) | String | 
| $paramfoo,$parambar, ...$param<name> | 传递到你宏中被命名的参数("foo", "bar") | String | 
| $config | BootstrapManager对象被用来获取 Confluence 属性。 | BootstrapManager | 
| $renderContext | PageContext对象,针对其他事情会比较有用,请查看$renderContext.outputType | PageContext | 
| $space | Space对象,包含有相对的页面,博客页面等对象内容。 | Space | 
| $content | 当前的 ContentEntity对象是当前宏包含的(如果有的话)。 | ContentEntityObject | 
宏也可以访问 Velocity 默认可以访问的对象,例如下面开发文档中描述的:as described in the developer documentation。
https://www.cwiki.us/display/CONFLUENCEWIKI/User+Macro+Template+Syntax
 
 
                     
            
        













 
                    

 
                 
                    