Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Simon Urli on 2023/10/10
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. rbr1 +XWiki.VincentMassol - Content
-
... ... @@ -96,15 +96,6 @@ 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 - 108 108 == Translations == 109 109 110 110