Last modified by Simon Urli on 2023/10/10

From version 123.1
edited by Manuel Leduc
on 2022/07/11
Change comment: Upload new image "macro1.png", version 1.12
To version 121.1
edited by Michael Hamann
on 2022/06/28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mleduc
1 +XWiki.MichaelHamann
Content
... ... @@ -51,13 +51,15 @@
51 51  == Content ==
52 52  
53 53  {{version since="11.4RC1"}}
54 -The easiest way to insert the content of the wiki macro is to use a dedicated macro in the body of the wikimacro:
54 +There are two ways to insert the content of the wiki macro.
55 55  
56 +* The easiest way is to use a dedicated macro in the body of the wikimacro:(((
56 56  {{code language='none'}}
57 57  {{wikimacrocontent/}}
58 58  {{/code}}
59 59  
60 60  Note that by default this makes the content of the macro directly editable in [[the WYSIWYG editor>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor%20Integration/#HWikiMacros]].
62 +)))
61 61  {{/version}}
62 62  
63 63  For more details, see the [[Scripting Tips section below>>||anchor="HScriptingTips"]].
... ... @@ -242,7 +242,6 @@
242 242  #else
243 243   Hello world!
244 244  #end
245 -{{/velocity}}
246 246  {{/code}}
247 247  
248 248  If we invoke it twice in a row:
macro1.png
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mleduc
1 +XWiki.VincentMassol
Size
... ... @@ -1,1 +1,1 @@
1 -83.5 KB
1 +117.1 KB
Content

Get Connected