Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Clément Desableau on 2023/06/01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -56,8 +56,11 @@ 56 56 == Content == 57 57 58 58 If macro content is used, it can be shown by executing following velocity code in macro body: 59 -{{code language="none"}}{{velocity}}$xcontext.macro.content{{/velocity}}{{/code}} 60 60 60 +{{code language="none"}} 61 +{{velocity}}$xcontext.macro.content{{/velocity}} 62 +{{/code}} 63 + 61 61 == Parameters == 62 62 63 63 Introducing a parameter to a wiki macro is pretty straight forward; you simply need to add an object of type ##XWiki.WikiMacroParameterClass## into your wiki macro document (one object per parameter). This class contains several fields that allow you to define your parameter clearly: