# Changes for page Writing XWiki Rendering Macros in wiki pages

<
From version
edited by Marius Dumitru Florea
on 2014/05/30
To version
edited by Valdis Vitolins
on 2014/05/30
>
Change comment: There is no comment for this version

## Details

Page properties
Author
 ... ... @@ -1,1 +1,1 @@ 1 -XWiki.mflorea 1 +XWiki.valdisvi
Content
 ... ... @@ -28,8 +28,13 @@ 28 28 29 29 == Definition == 30 30 31 -Wiki macros are defined using objects of type ##XWiki.WikiMacroClass##. You define a wiki macro by creating a new wiki page and attaching to it an object of type ##XWiki.WikiMacroClass##. There can be only one object of type ##XWiki.WikiMacroClass## per wiki page (if you add more only the first will be used). This class contains the following fields: 31 +Wiki macros are defined using objects of type ##XWiki.WikiMacroClass##. You define a wiki macro by creating a new wiki page and attaching to it an object of type ##XWiki.WikiMacroClass##. 32 32 33 +{{warning}}There can be only one object of type ##XWiki.WikiMacroClass## per wiki page (if you add more only the first will be used).{{/warning}} 34 + 35 + 36 +This class contains the following fields: 37 + 33 33 * Macro id: Id of the macro to be used by users when invoking your macro from wiki code 34 34 * Macro name: Name of the macro to be displayed on the wysiwyg editor 35 35 * Macro description: A short description of the macro to be displayed on the WYSIWYG editor