<
From version < 87.1 >
edited by Valdis Vitolins
on 2013/09/10
To version < 87.2 >
edited by Vincent Massol
on 2013/09/11
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.valdisvi
1 +XWiki.VincentMassol
Content
... ... @@ -55,12 +55,14 @@
55 55  
56 56  == Content ==
57 57  
58 -If macro content is used, it can be shown by executing following velocity code in macro body:
58 +If macro content is used, it can be shown by executing the following velocity code in the macro body:
59 59  
60 60  {{code language="none"}}
61 61  {{velocity}}$xcontext.macro.content{{/velocity}}
62 62  {{/code}}
63 63  
64 +For more details, see the [[Scripting Tips section below>>||anchor="HScriptingTips"]].
65 +
64 64  == Parameters ==
65 65  
66 66  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:

Get Connected