Last modified by Simon Urli on 2023/10/10

<
From version < 93.4 >
edited by Vincent Massol
on 2017/09/05
To version < 94.2 >
edited by Vincent Massol
on 2018/02/12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  Wiki macros allow macro authors to develop reusable and distributable macro modules. There is no java code involved; hence no compiling or packaging. The macro author simply needs to create a wiki page according to a particular specification and that's all!
6 6  
7 -This page is a tutorial but you can also access the [[reference documentation for the Wiki Macro feature>>extensions:Extension.Wiki Macro Bridge Application]].
7 +This page is a tutorial but you can also access the [[reference documentation for the Wiki Macro feature>>doc:extensions:Extension.XWiki Platform - Rendering - Wiki Macro Bridge - Store.n]].
8 8  
9 9  = Macro Visibility and Rights =
10 10  
... ... @@ -96,6 +96,15 @@
96 96  {{hello greetUser="true"/}}
97 97  {{/code}}
98 98  
99 +If you want to call the new version of the **hello macro** with a parameter from a variable you will need to wrap the call in a velocity macro like this:
100 +
101 +{{code language="none"}}
102 +{{velocity}}
103 +#set ($greet = true)
104 +{{hello greetUser="$greet"/}}
105 +{{/velocity}}
106 +{{/code}}
107 +
99 99  == Translations ==
100 100  
101 101  

Get Connected