XWikiXWikiSyntaxGroupsen0XWiki.XWikiSyntaxxwiki:XWiki.Adminxwiki:XWiki.Adminxwiki:XWiki.Admin1.1XWikiSyntaxGroupsfalsexwiki/2.1true= Editing =
== Groups ==
=== 2.0 Groups ===
Groups can be used to insert another document inline directly into the current document. This allows for example to insert complex elements or style inside a list item, inside a table cell or a paragraph. Groups are delimited by the following syntactic elements: ##{{{(((...)))}}}##. One Group can contain another Group and there is no limit of imbrication.
|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result
|((({{{
|=Header 1|=Header 2|=Header 3
|Cell One|(((
= Embedded document =
Some embedded paragraph.
* list item one
* list item two
** sub-item 1
** sub-item 2
))) | Cell Three
Next paragraph in the top-level document
}}})))|(((
|=Header 1|=Header 2|=Header 3
|Cell One|(((
{{html}}<h1 id="HEmbeddeddocument"><span>Embedded document</span></h1>{{/html}}
Some embedded paragraph.
* list item one
* list item two
** sub-item 1
** sub-item 2
))) | Cell Three
Next paragraph in the top-level document
)))
|((({{{(% class="myClass" style="color:blue" %)(((blue paragraphs
inside myClass)))}}})))| (% class="myClass" style="color:blue" %)(((blue paragraphs
inside my group)))