XWiki Syntax Guide
XWiki Syntax 2.1
XWiki Syntax 2.1: All
General
Introduction
2.1 Introduction
The XWiki Syntax 2.0 has proven to be quite useful and robust in general; however since its introduction a few shortcomings have been found. The corresponding improvements have been consolidated in XWiki Syntax 2.1. Some new features of this syntax are:
- Homogenize the link and image syntax for better clarity, consistency and extensibility.
- Added ability to display icons, to embed images via the Data URI scheme, to link to files using the UNC notation and to link to relative URLs.
General Remarks
2.0 General Remarks
XWiki Syntax 2.1 corrects some errors or ambiguous syntax entered by the user as shown in the examples in the table below.
Description | Example of invalid or ambiguous syntax | Fixed XWiki Syntax 2.1 |
---|---|---|
Unclosed text styles | **bold | **bold** |
Two standalone elements not separated by 2 new lines | | table cell * list item | | table cell * list item |
Two standalone elements not separated by 2 new lines | paragraph ---- paragraph | paragraph ---- paragraph |
Ignored new line at beginning of document | <new line at beginning of document> paragraph | paragraph |
Not closed heading syntax | === heading | === heading === |
Other Syntaxes
1.0 Other Syntaxes
Other syntaxes are also available.
Editing
Paragraphs
2.0 Paragraphs
Paragraphs are text elements separated by 2 or more new lines.
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Simple paragraph | This is a paragraph | This is a paragraph |
Paragraph on multiple lines | Paragraph on multiple lines | Paragraph on multiple lines |
Two paragraphs | Paragraph one Paragraph two | Paragraph one Paragraph two |
Parametrized paragraph | (% style="text-align:center;color:blue" %) Centered and blue paragraph | Centered and blue paragraph |
Different style on some portion of the paragraph content | paragraph with (% style="color:red" %)red(%%) different style inside | paragraph with red texte inside |
Headings
2.0 Headings
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Standard headings | = level 1 = == level 2 == === level 3 === ==== level 4 ==== ===== level 5 ===== ====== level 6 ====== | level 1
level 2level 3level 4level 5level 6 |
Parameterized headings | (% style="color:blue" %) = heading = | heading |
Headings with XWiki Syntax | === Heading with **bold** === | Heading with bold |
Text Formatting
2.0 Text Formatting
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Bold | **bold** | bold |
Underline | __underline__ | underline |
Italics | //italic// | italic |
Striked out | --strike-- | |
Monospace | ##monospace## | monospace |
Superscript | some ^^superscript^^ | some superscript |
Subscript | some ,,subscript,, | some subscript |
Horizontal Line
2.0 Horizontal Line
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Simple horizontal line | ---- | |
Parametrized horizontal line | (% style="border-color:blue" %) ---- |
Lists
2.0 Lists
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Bulleted list | * item 1 ** item 2 *** item 3 * item 4 |
|
Numbered list | 1. item 1 11. item 2 111. item 3 1. item 4 |
|
Mixed list | 1. item 1 1*. item 2 1*. item 3 1. item 4 |
|
Square list | (% style="list-style-type: square" %) * item 1 * item 2 |
|
Disc list | (% style="list-style-type: disc" %) * item 1 * item 2 |
|
Lowercase Alphabetical list | (% style="list-style-type: lower-alpha" %) * item 1 * item 2 |
|
Uppercase Alphabetical list | (% style="list-style-type: upper-alpha" %) * item 1 * item 2 |
|
Lowercase Roman list | (% style="list-style-type: lower-roman" %) * item 1 * item 2 |
|
Uppercase Roman list | (% style="list-style-type: upper-roman" %) * item 1 * item 2 |
|
Lowercase Greek list | (% style="list-style-type: lower-greek" %) * item 1 * item 2 |
|
Uppercase Greek list | (% style="list-style-type: upper-greek" %) * item 1 * item 2 |
|
Hiragana list | (% style="list-style-type: hiragana" %) * item 1 * item 2 |
|
Hiragana Iroha list | (% style="list-style-type: hiragana-iroha" %) * item 1 * item 2 |
|
Katakana list | (% style="list-style-type: katakana" %) * item 1 * item 2 |
|
Katakana Iroha list | (% style="list-style-type: katakana-iroha" %) * item 1 * item 2 |
|
Armenian list | (% style="list-style-type: armenian" %) * item 1 * item 2 |
|
Hebrew list | (% style="list-style-type: hebrew" %) * item 1 * item 2 |
|
Georgian list | (% style="list-style-type: georgian" %) * item 1 * item 2 |
|
CJK ideographic list | (% style="list-style-type: cjk-ideographic" %) * item 1 * item 2 |
|
Definition Lists
2.0 Definition Lists
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Standard definition | ; term : definition |
|
Nested definitions | ; term 1 : definition 1 :; term 2 :: definition 2 |
|
Parametrized definition | (% style="color:blue" %) ; term : definition |
|
New Line/Line Breaks
2.0 New Line Line Breaks
A new line is a carriage return. A line break is a forced new line that can appear anywhere in the text.
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Line break | Line\\New line | Line New line |
New line | Line New line | Line New line |
Links
2.1 Links
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Absolute link to page PageB located in PageA | [[PageA.PageB]] | PageB |
Relative link to page PageA from the current page | [[PageA]] or [[.PageA]] | PageA |
Relative link to page PageB in PageA from the current page | [[.PageA.PageB]] | PageB |
Link with a label | [[label>>PageA]] | label |
Link with wiki syntax in the label | [[**bold label**>>PageA]] | bold label |
Link on an image | [[image:PageA@img.png>>PageA]] | |
Absolute link to page PageB located in PageA in wiki WikiA | [[WikiA:PageA.PageB]] | PageB |
Link that opens in a new window | [[PageA||target="_blank"]] | PageA |
Implicit link to a URL | This is a URL: https://xwiki.org | This is a URL: https://xwiki.org |
Explicit link to a URL | [[https://xwiki.org]] | https://xwiki.org |
Explicit link to a URL with a label | [[XWiki>>https://xwiki.org]] | XWiki |
Link to an email address | [[john@smith.net>>mailto:john@smith.net]] | john@smith.net |
Link to an attachment on the current page | [[attach:img.png]] | img.png |
Link to an attachment in a different page | [[attach:PageA.PageB@img.png]] | img.png |
Link to an Anchor in a page | [[PageA.PageB||anchor="anchor"]] | PageB |
Link to a Heading in a page | [[PageA.PageB||anchor="HMyheading"]] | PageB |
Link to an anchor in the current page | [[label>>||anchor="anchor"]] | label |
Link to a page with a query string | [[PageA.PageB||queryString="param1=value1¶m2=value2"]] | PageB |
Link to the current page with a query string | [[label>>||queryString="param1=value1¶m2=value2"]] | label |
XWiki Syntax 2.1 Link Specification
The full format of a link is [label>>] (resource) [||parameters]
- label: An optional string which will be displayed to the user as the link name when rendered. The label may contain XWiki Syntax. If no label is specified a default label will be generated. The generation pattern can be changed, see the Admin Guide. Example: My Page
- resource: A required string with the link reference in one of the following forms
- URL: Any URL in the form of [url:](protocol://path). Examples: http://xwiki.org, url:https://svn.xwiki.org/
- url: An optional string identifying the resource as an URL.
- protocol://path: The URL itself
- Wiki page: A reference in the form page:[(wikiName):](pageNameList). Examples: page:Page, page:myxwiki:Page, page:ParentPage.ChildPage.SubChildPage, page:../SiblingPage, page:./ChildPage
- page: A required string identifying the resource as an XWiki page. The same reference can be used for either a terminal or non-terminal page, if both exist it will lead to the non-terminal page.
- wikiName: An optional string containing the name of a wiki. The link will point to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki
- pageNameList: A required list of slash-separated wiki Pages names pointing to the final linked wiki Page syntax. It's also possible to use . and .. to indicate current or parent page/wiki. Examples: Main, A/B, A/B/C, ../Sibling, ./Child
- Wiki document: A reference in the form [doc:][[(wikiName):](spaceNameList).](documentName). Examples: doc:Welcome, doc:Main.Welcome, doc:mywiki:Main.Welcome, Welcome
- doc: An optional string identifying the resource as an XWiki terminal page. A non-terminal page can also be referenced this way, but it must append its .WebHome part (e.g. doc:Sandbox.WebHome).
- wikiName: An optional string containing the name of a wiki. The link will point to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki.
- spaceNameList: An optional dot-separated list of wiki Space names. If no space is specified the current space is used. Examples: Main, A.B, A.B.C
- documentName: A required string containing the name of the linked wiki page. Example: Welcome
- Wiki space: A reference in the form space:[(wikiName):](spaceNameList). Examples: space:Main, space:mywiki:Main, space:A.B.C
- space: A required string identifying the resource as an XWiki non-terminal page (i.e. a space).
- wikiName: An optional string containing the name of a wiki. The link will point to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki
- spaceNameList: A required list of dot-separated wiki Space names pointing to the final linked wiki Space (or non-terminal page). Examples: Main, A.B, A.B.C
- InterWiki page: A reference in the form interwiki:[(interWikiAlias):](pageName). Example: interwiki:wikipedia:XWiki
- interwiki: A required string identifying the resource as an InterWiki link.
- interWikiAlias: An optional Inter Wiki alias as defined in the InterWiki Map (see the Admin Guide). Example: wikipedia
- pageName: A required string containing the name of the linked page. Example: XWiki
- Attachment: A reference in the form attach:{{{(wikiName):}(spaceNameList).}(pageName)@}(imageName)
- attach: A required string identifying the reference as an XWiki Document attachment.
- wikiName: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki.
- spaceNameList: An optional dot-separated list of wiki Space names. If no space is specified the current space is used. Examples: Main, A.B, A.B.C
- pageName: An optional string containing the name of the wiki page to which the referenced image is attached. Example: Welcome
- attachmentName: Name of the attachment as it is stored in the wiki. Example: photo.png
- Page Attachment: A reference in the form pageAttach:{{{(wikiName):}(pageNameList)/}(imageName)
- pageAttach: An required string identifying the reference as an XWiki Page attachment.
- wikiName: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki.
- pageNameList: An optional dot-separated list of wiki page names. If no page is specified the current page is used. Examples: Main, A/B, A/B/C
- attachmentName: Name of the attachment as it is stored in the wiki. Example: photo.png
- Email address: A reference in the form mailto:(emailAddress) (#anchor is not valid). Example: mailto:john@smith.com
- mailto: A required string identifying the resource as email.
- emailAddress: Targeted email address. Example: john@smith.com
- Relative path: A reference on the server in the form path:(relPath). Example: path:$doc.getURL('reset') produces target address http://server.domain.com/xwiki/bin/reset/Space/Page where /xwiki/bin/reset/Space/Page is produced by $doc.getURL('reset').
- path: A required string identifying the resource as a relative path.
- relPath: A required string containing the relative path of the resource on the server that shall be linked.
- UNC (Windows Explorer): A reference in the form unc:(path). The link is rendered as a file:// link. Examples: unc:C:\Windows\, unc:\\myserver\path\img.png, unc:home/user/somefile
- unc: A required string identifying the resource as a UNC (Windows Explorer) path.
- path: A required string containing the local path of resource accessible by the user. Examples: C:\Windows\, \\myserver\path\img.png, home/user/somefile
- Untyped: If none of the above-mentioned resource types are specified (i.e. no type: resource prefix was specified in the link), then the link will be treated as a link to an XWiki terminal or non-terminal page using the following algorithm:
- Terminal page in the current space, only if it exists. Example: [[A]] is resolved to the equivalent of [[doc:currentSpace.A]]
- Non-terminal page in the current space. Example: [[A]] is resolved to the equivalent of [[space:currentSpace.A]], which is the equivalent of [[doc:currentSpace.A.WebHome]]
- If the current page is non-terminal and the previous 2 checks above did not find an existing page, 2 additional checks are made:
- Terminal page as sibling in the parent space, only if it exists. Example: The [[B]] link inside the non-terminal page A.C is resolved to the equivalent of [[doc:A.B]]
- Non-terminal page as sibling in the parent space, regardless if it exists or not. Example: The [[B]] link inside the non-terminal page A.C is resolved to the equivalent of [[space:A.B]], which is the equivalent of [[doc:A.B.WebHome]]
- Note1 - Absolute links: If the untyped link has 2 or more dot-separated components specified (i.e. that look like a space name and a page name), the above algorithm will resolve the page relative to the current wiki, and not the current space. Example: [[A.B]] can be resolved to either [[doc:currentWiki:A.B]] (if it exists) or to [[space:currentWiki:A.B]] (equivalent of [[doc:currentWiki:A.B.WebHome]]) and not to [[doc:currentWiki:currentSpace.A.B]] or [[doc:currentWiki:currentSpace.A.B.WebHome]].
- Note2 - Special handling of .WebHome: If the untyped link ends in .WebHome, it will always be handled as a terminal page. Example: [[A.WebHome]] will always be resolved to the equivalent of [[doc:A.WebHome]] and not to [[doc:A.WebHome.WebHome]].
- URL: Any URL in the form of [url:](protocol://path). Examples: http://xwiki.org, url:https://svn.xwiki.org/
- parameters: An optional list of space-separated parameters passed to the link. Example: queryString="mydata1=5&mydata2=Hello" anchor="HTableOfContents" target="_blank"
- queryString: An optional query string for specifying parameters that will be appended to the link target address and used in the rendered URL. Example: url:http://domain.com/path||queryString="mydata1=5&mydata2=Hello" produces target address http://domain.com/path?mydata1=5&mydata2=Hello
- anchor: An optional anchor name pointing to an anchor defined in the referenced link. Note that in XWiki anchors are automatically created for headings and images. Example: url:http://domain.com/path||anchor="HTableOfContents" produces target address http://domain.com/path#HTableOfContents
- target: An optional parameter that allows to open link target in new window. Example: target="_blank"
Tables
2.0 Tables
Allows to easily create content in table format. Parameters for table, row or cell are also supported in XWiki Syntax 2.1.
Feature | XWiki Syntax 2.1 | Result | ||||||
---|---|---|---|---|---|---|---|---|
Standard table | |=Title 1|=Title 2 |Word 1|Word 2 !=Title 1!=Title 2 !!Word 1!!Word 2 |
| ||||||
Parametrized table | (% style="background-color:red;text-align:center" %) |=Title 1|=(% style="background-color:yellow" %)Title 2 |Word 1|Word 2 |
| ||||||
Filterable Sortable table | {{velocity}} $xwiki.ssfx.use("js/xwiki/table/table.css") $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) {{/velocity}} (% class="grid sortable filterable doOddEven" id="tableid" %) (% class="sortHeader" %)|=Title 1|=Title 2 |Cell 11|Cell 12 |Cell 21|Cell 22 |
|
Images
2.1 Images
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Image from attachment on current page | image:img.png | |
Image from attachment on another page | image:PageA.PageB@img.png | |
Image with parameters | [[image:img.png||width="25" height="25"]] | |
Image with caption | [[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:img.png]] | |
Images located at URL | image:https://some/url/img.png | |
Prepackaged Icons | image:icon:accept |
XWiki Syntax 2.1 Image Specification
The full format of an image is either image: (reference) or [[{caption>>}image: (reference) {||parameters}]]
- caption: An optional caption. May contain arbitrary XWiki 2.1 syntax but nested link syntax must be escaped using ~. The caption is only supported when the image syntax is the only content of a paragraph. The captioned image may also be wrapped in a link. In this case, the link will contain the image but not the caption.
- image: A required string identifying the resource as image.
- reference: The reference to the image that shall be displayed in one of the following forms:
- URL: Any URL to an image in the form of [url:](protocol://path/imageName). Example: http://domain.org/path/img.png
- url: An optional string identifying the image as an URL.
- protocol://path/imageName: The URL to the image
- Attachment: A reference in the form [attach:]{{{(wikiName):}(spaceNameList).}(pageName)@}(imageName)
- attach: An optional string identifying the reference as an XWiki Document attachment.
- wikiName: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki.
- spaceNameList: An optional dot-separated list of wiki Space names. If no space is specified the current space is used. Examples: Main, A.B, A.B.C
- pageName: An optional string containing the name of the wiki page to which the referenced image is attached. Example: Welcome
- imageName: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: myImage.png
- Page Attachment: A reference in the form pageAttach:{{{(wikiName):}(pageNameList)/}(imageName)
- pageAttach: An required string identifying the reference as an XWiki Page attachment.
- wikiName: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: mywiki.
- pageNameList: An optional dot-separated list of wiki page names. If no page is specified the current page is used. Examples: Main, A/B, A/B/C
- imageName: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: myImage.png
- Icon: A reference in the form icon:(iconName). Example: icon:accept
- icon: A required string identifying the image reference as an icon from the XWiki Icon Set.
- iconName: A required string identifying the icon referenced. Example: accept
- Data URI: A reference in the form (data:)(content). Example: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==
- data: A required string identifying the image as being specified inline using the Data URI scheme.
- content: The encoded image. Example: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==
- URL: Any URL to an image in the form of [url:](protocol://path/imageName). Example: http://domain.org/path/img.png
- parameters: An optional list of space-separated parameters passed to the image. Example: width="800" height="600" alt="img.png" title="My nice image"
- HTML attributes: All attributes defined by the HTML standard will be added to the rendered HTML <img> tag.
- style: CSS style information that should be applied to the image. Examples: style="float:right;height:50" (image on right side, height 50 px), style="display:block;margin-left:auto;margin-right:auto;width:80%" (image centered, width 80% of block width), style="vertical-align:bottom" (text starts at bottom of picture)
- height: A parameter that defines the height of the displayed image. The value should be presented either in pixel (example: height="80") or in pixel related to the height of the block containing the image (example: height="40%").
- width: A parameter that defines the width of the displayed image. The value should be presented either in pixel (example: width="80") or in pixel related to the width of the block containing the image (example: width="40%").
- title: A parameter that defines the title the displayed image which will be visible when hovering the mouse trigger over the image, for instance. Example: title="My nice image"
- alt: A parameter that defines which text should be displayed if the browser is not able to display the image. Since this is a required HTML attribute XWiki will use the file name instead if the alt parameter is not defined. Example: alt="img.png"
- More: A more in depth explanation on the HTML <img> tag including more attributes can be reviewed in the HTML standard.
- queryString: Allows queries to be passed to the server when creating the download link for the referenced image. Example: queryString="width=100&height=800&keepAspectRatio=true" (keepAspectRatio=true will fail if the width and height parameters are specified in addition to queryString!)
- HTML attributes: All attributes defined by the HTML standard will be added to the rendered HTML <img> tag.
Advanced
Verbatim
2.0 Verbatim
Allow to enter content that will not be formatted (in other words the XWiki Syntax will not be taken into account).
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Verbatim inline | Some verbatim {{{**[[not rendered]]**}}} content | Some verbatim **[[not rendered]]** content |
Verbatim block | {{{ multi line **verbatim** content }}} | multi line **verbatim** content |
Quotations
2.0 Quotations
Allows to quote some text.
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Simple quote | > john said this I said ok |
I said ok |
Nested quotes | > john said this >> marie answered that I said ok |
I said ok |
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 2.1 | 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 |
Next paragraph in the top-level document | ||||||
(% class="myClass" style="color:blue" %)(((blue paragraphs inside myClass))) | blue paragraphs inside my group |
Escapes
2.0 Escapes
Allows to escape XWiki Syntax.
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Escape a character | This is not a ~[~[link~]~] | This is not a [[link]] |
Escape longer text (also see "Verbatim") | {{{ some **longer** text //without// formatting}}} | some **longer** text //without// formatting |
Parameters
2.0 Parameters
With XWiki Syntax 2.1 it's possible to pass parameters to the different syntax elements and also to blocks of text. This is used for example to style them. You can set any parameter key/value pair you want. The XHTML renderer will pass these parameters as XHTML attributes to the underlying XHTML representation of the different syntax elements.
XWiki Syntax 2.1 | Generated XHTML |
---|---|
(% class="myClass" style="myStyle" id="myId" %) = heading = | <h1 class="myClass" style="myStyle" id="myId">heading</h1> |
Programming
Macros
2.0 Macros
There is only one kind of macro in XWiki Syntax 2.1, which is called by the syntax: {{macroname param1="value1" ... paramN="valueN"}}...{{/macroname}}. For macros without content there's a short notation: {{macroname param1="value1" ... paramN="valueN"/}}
Feature | XWiki Syntax 2.1 | Result |
---|---|---|
Rendering Macro with a content | {{code language="java"}} System.out.println("Hello World!"); {{/code}} | System.out.println("Hello World!"); |
Rendering Macro without content | {{include reference="Space.Page"/}} | The referenced page is included in the current page |
Macros in this wiki
Id | Name | Categories | Description | Visibility |
---|---|---|---|---|
toc | Table of contents | Navigation | Generates a table of contents. | Global |
mention | User Mention | Notifications | Insert a user mention. | Current Wiki |
showCampaignSupporters | showCampaignSupporters | campaign | Global | |
showRecommendations | Show recommendations for a topic | documents | This Macro shows the recommendations for a topic | Global |
attachmentGalleryPicker | Attachment Picker | Development | Grid based attachment picker. | Global |
showDream | showDream | campaign | This macro will visualize a dream specified in a WaihonaPedia format. | Global |
warning | Warning Message | Formatting | Displays a warning message note. | Global |
campaignButtons | campaignButtons | campaign | This macro can only be used in combination with a campaignObject | Global |
livevalidationFormat | LiveValidationFormat | Development | Validates that XObject property value against a regular expression. | Current Wiki |
latestNewsItems | Show latest news items | This macro will show the latest news items for a given supportgroup | ||
Global | ||||
livevalidationEmail | LiveValidationEmail | Development | Validates that XObject property value is a valid email address. | Current Wiki |
sectionDivider | sectionDivider | page content | Add a Section divider to a page. |
It will create a clear separation between two page sections|Global
closingBeauty | closingBeauty | campaign | Show a nice section with three images with text overlays to inspire | Global |
questionnaireHeader | Create questionnaire header | Creates a columnheader for the questionnaire. The only parameter is a comma seperated list of items to be placed in the columnheader, from left (first) to right (last). | Current Wiki | |
activationImageLeft | Activation image with callout on the left | activation | This macro will create a image with a title and a callout for your community | Global |
success | Success Message | Formatting | Displays a success message note. | Global |
topicNavigationDemo | topic navigationDemo | Navigation | This macro will present a navigation area where the selected topic (it's title) and the entity (information, questions, stories) you are browsing. |
If you do not supply a topicKey (optional, default) it will look for a topicKey, based on the entity selected on your current page|Global
template | Template | Development | Insert a template. | Global |
notificationsAutoWatchPreferences | Notifications Auto Watch Preferences | Notifications | Display the preferences of the current user about auto watched pages. | Current Wiki |
memberDescr | Show memberships | Current Wiki | ||
waihonaAttachmentSelector | Waihona Attachment Selector | A control to be used for object properties of the current document that are supposed to contain the name of an attachment from the current (or target) document. Allows uploading new attachments, and deleting attachments from the target document. If no target document is specified, the current document will be used. Object properties are only saved to the current document. | Current Wiki | |
showPagesFromCollections | showPagesFromCollections | campaign | This macro requires a page-reference and it will get the objects of class pageCollection. For each object it will create a list of tiles | Global |
useTitleOfPage | useTitleOfPage | content | Specify a reference of a page and get the title in plain Text to use in your content | Global |
waihonaPediaPartners | WaihonaPedia Partner organizations | content | Show partner organizations for a WaihonaPedia Partner | Current Wiki |
topicNavigation | topic navigation | Navigation | This macro will present a navigation area where the selected topic (it's title) and the entity (information, questions, stories) you are browsing. |
If you do not supply a topicKey (optional, default) it will look for a topicKey, based on the entity selected on your current page|Global
blogPostLayoutCards | Cards Blog Post Layout | This macro is used to display a blog post using the 'Cards' layout | Current Wiki | |
useravatar | User Avatar | Content | Allows displaying the avatar for a specific user. | Global |
researchHeader | Header for research pages | research | This macro will show if the user is participating with research or otherwise will invite the user to participate | Global |
wikis | Wikis | Navigation | List all wikis | Current Wiki |
showSlider | Show slider | documents | This macro will take a page reference and show attached images as a slideshow. There will be a generic label overlaid on the images | Global |
waihonaAddPage | Add Page | This macro that will put a "create page button" with option to set Space and Page | Current Wiki | |
cache | Cache | Development | Caches content. | Global |
createCitationsStructure | createCitationsStructure | campaign | A macro to create and maintain a citation structure displayed in a Caroussel displayer | Global |
supportGroupLeaders | supportGroupLeaders | supportgroup | Show the community representatives, experts and volunteers | Global |
includePublicQuestion | includePublicQuestion | content | This macro will display a Privat article | Global |
figureTypeRecognizer | Figure Type Recognizer | Internal | Internal macro used to recognize the type of a figure. | Global |
getTextbyClass | getTextbyClass | CdLS | Get Paragraph from a page that is marked with a class | Global |
iconDecoratedTile | iconDecoratedTile | show | This macro will show a tile decorated with the icon you specify (Font awesome) | Global |
pdfviewer | PDF Viewer | Content | PDF Viewer based on Mozilla pdf.js | Current Wiki |
showCollectionOfTiles | showCollectionOfTiles | page | This macro will show a collection of tiles providing you specify the macro at least one time | Global |
lightbox | Lightbox Image | Content | Add a click-enlargeable image. | Global |
showWaihonaPediaGroup | showWaihonaPediaGroup | user | Show users in a group, see the groups in admin | Global |
iconPicker | Icon Picker | Development | Select an icon within the XWiki icon set. | Current Wiki |
healthSystemIcon | healthSystemIcon label | icon | This macro will show a icon for a heart-system part | Global |
wikimacrocontent | WikiMacro Content | Development | Display editable content of a wikimacro. | Global |
emo | Emoticon Macro | Content | Inserts an emoticon into the content. | |
blockScheduleManagement | blockScheduleManagement | campaign | This macro will show the program in lowest level of detail (called 'blocks') Each block will be planned under a certain day of a certain campaign-part Each block will have a time slot that is linked to the 'start' of the day Each Block can have a chair and one or more supporters (can be a speaker) Each Block will have a title and a description You can add specific blocks for Breaks of Dinner | Global |
section | Section | A macro to enclose columned text | Global | |
messageSender | Message Sender | Social | A control that allows users to enter messages that are handled by the MessageStream module. | Current Wiki |
playVideoTile | playVideoTile | navigation | A tile with Video image as header and text from a page specified. | Global |
WelcomeScreen | Welcome Screen | content | This macro is used to display the Welcome Screen for new users. The macro visibility is Global and it can be used on any page on this wiki. The macro does not define any parameters. | Global |
children | Children | Navigation | Displays a tree of children pages of the current page | Current Wiki |
livetable | livetable | navigation | Displays a standard livetable for a specific XWiki class and the chosen fields | Global |
showUsersWithExpertiseNetwork | showUsersWithExpertiseNetwork | This macro show all the waihonapedia users within a network of orgs associated to a disease | Global | |
display | Display | Content | Display other pages into the current page. | Global |
translation | Translation | Content | Display a translation message. | Global |
greetUserRegistration | greetUserRegistration | Waihona | This will greet the just registered user in a informal way with first name | Global |
addStoryButton | addStoryButton | stories | This macro will add a button that will help you to write a introduction story about your Waihona | Global |
info | Info Message | Formatting | Displays an info message note. | Global |
createVideoLayer | createVideoLayer | campaign | This macro can create a page structure that can be viewed as a 'Video' block on a page | Global |
documentTree | Page Tree | Navigation | Displays the tree of XWiki pages. | Current Wiki |
tagcloud | Tag Cloud | Content | Displays the cloud of tags in this wiki or in the specified space, if any. | Current Wiki |
activity | Activity (legacy) | Notifications | Provide a macro implemented with the Notifications Application to keep a backward compatibility with Activity Stream. | Current Wiki |
3thumbnails | 3 Thumbnails | display | This macro will make a row of 3 images that can each have a caption, a smal text and a button to link | Current Wiki |
showGroupEventButtons | showGroupEventButtons | moderator | This will offer moderators a option to add events on behalf of their community | Global |
livevalidationPresence | LiveValidationPresence | Development | Validates that XObject property value is present (ie. not null, undefined, or an empty string) | Current Wiki |
comment | Comment | Development | Allows putting comments in the source content. This macro doesn't output anything. | Global |
showEventSupporters | showEventSupporters | campaign | This macro will, when inside a tree of a campaign, show the supporters for that campaign | Global |
showGroupsHTMLTable | showGroupsHTMLTable | This macro will show a tablethat lists all support groups of this waihonapedia, filtered on 'member' and displaying geographies names (e.g. countries), the logo, the name by supportgroup name | Global | |
gallery | Gallery | Layout | Displays the images found in the provided content using a slide-show view. | Global |
campaignDisplaySchedule | campaignDisplaySchedule | campaign | This macro will display a schedule if the campaign it refers to has a schedule defined | Global |
uiextension | UI Extension | Development | Insert a UI extension. | Global |
notificationsSystemFiltersPreferences | Notifications System Filters Preferences | Notifications | Display the preferences of the given user about system notification filters. | Current Wiki |
figure | Figure | Development | Tag content as an illustration and with an optional caption. | Global |
putFootnotes | Put Footnotes | Content | Displays all the footnotes from the page. If missing, all footnotes are displayed by default at the end of the page. | Global |
attachmentSelector | Attachment Selector | Development | A control to be used for object properties of the current page that are supposed to contain the name of an attachment from the current (or target) page. Allows uploading new attachments, and deleting attachments from the target page. If no target page is specified, the current page will be used. Object properties are only saved to the current page. | Current Wiki |
includePrivatArticles | includePrivatArticles | content | This macro will display a Privat article | Global |
serviceLabel | Service label | Page content | This macro will show a label for one of the WaihonaPedia services. | Global |
showRoleInOrganisation | showRoleInOrganisation | people | Global | |
livevalidationCustom | LiveValidationCustom | Development | Validates a XObject property value using a custom remote XWiki document that should returns "true" when valid or "false" when not valid, based on the field value and the property reference. | Current Wiki |
menu | Menu | Navigation | Displays a menu created using simple wiki syntax (nested lists and links). | Global |
upgrading | upgrading | warning | This macro will show a message that something is being upgraded | Global |
callToAction | callToAction | page content | Global | |
documents | Pages | Content | Displays a list of pages in a Livetable | Current Wiki |
citation | Citation | Citation Macro | Global | |
quote | Quote | Formatting | Displays inline text with special quote formatting. | Global |
groovy | Groovy | Development | Execute a groovy script. | Global |
footnote | Footnote | Content | Generates a footnote to display at the end of the page. | Global |
generalHealth | generalHealth | information | This macro will present a list of Health attention points for a given disease | Global |
waihonaHomeRedirectNotApproved | waihonaHomeRedirectNotApproved | This will display a computed homescreen based on the User. E.g: it will display different screens for guest, notApproved, etc It will under certain conditions redirect | Current Wiki | |
showCentresOfExpertise | showCentresOfExpertise | community | This macro will show a list of centre of expertise | Global |
flag | Show country flag | Show an image of the country specified in the parameter countrycode. The image has the class 'flag'. Additional parameter is the size (square) of the image. | Current Wiki | |
overviewBySupportGroup | overviewBySupportGroup | supportgroups | This macro will show a list of supportgroeps and for each group how many families and/or experts have joined this Waihonapedia | Global |
showSupportGroupsInline | showSupportGroupsInline | This macro will show a sentence that lists all support groups of this waihonapedia, filtered on 'member' and displayed as geographies names (e.g. countries) or supportgroup name | Global | |
textToLead | textToLead | text | This macro will style;e the contained text as 'lead-text', especially useful as a introduction to your article! | Global |
example | Example | Formatting | Shows an example and its source code. | Current Wiki |
textWithQualifiers | Textbox with two qualifiers | documents | This text box allows to specify if the text is validated and for which regions the text is checked | Global |
blogPostLayoutImage | Blog Post Layout Image | This macro is used to display a full blog post with a thumbnail image | Current Wiki | |
campaignScheduleOverview | campaignScheduleOverview | campaign | This macro will show the parts of the program | Global |
async | Async macro | Content | Execute asynchronously and/or cache the macro content. | Global |
dimTopicText | dimTopicText | information | This macro will take a Dimension or Topic code and give you the translated text of title or description The output is text;
{{dimTopicText type='dimension' key='acPGenitals' output='title'/}} Genital anomalies | Global |
figureCaption | Figure Caption | Development | Provide a figure caption when used inside the Figure macro. | Global |
spaceindex | Space Index | Deprecated | Lists the pages in a space. | Current Wiki |
manageSpeakers | manageSpeakers | campaign | This macro must be called within a nested page structure where the top page has an object of class 'waihonapediaCampaignClass'. It will inspect/populate the property 'speakers'.
{{manageSpeakers/}} | Global |
icon | Font Awesome icon | Icons | Inserts a Font Awesome icon | Global |
spaces | Spaces | Deprecated | Displays all the spaces in this wiki. | Current Wiki |
error | Error Message | Formatting | Displays an error message note. | Global |
greetUser | greetUser | Waihona | This will greet the user in a informal way with first name | Global |
attachmentSelectorCdls | Attachment Selector CDLS | A control to be used for object properties that are supposed to contain the name of an attachement of the containing document. | Global | |
workspaces | Workspaces (Legacy) | Deprecated | Deprecated macro that should not be used here for compatibility reasons. Please use the "wikis" macro instead. | Current Wiki |
savedlistexportapp | Saved List Exporter Application | Export | This application allows to export multiple pages into a single XAR archive file, and to save the list of the pages that you want to export. | Global |
showCitationsSlider | showCitationsSlider | content | This macro will show a citation slider, if it is created according to the WaihonaPedia citations slider structure! {{showCitationsSlider sliderPageRef="cdlsPublications.memoriesCitations.memoriesSlider" sliderID='memories' sliderCSSClass="memories" /}} | Global |
context | Context | Development | Executes content in the context of the passed page | Global |
pdftoc | PDF Table of Contents | Internal | Generates the table of contents for the PDF export. | Global |
livevalidation | LiveValidation | Development | Provides client-side live validation of a single XObject based on the validation expressions and messages defined in its XClass. | Current Wiki |
liveData | Live Data | Content | Display dynamic lists of data. | Global |
rss | RSS | Content | Output latest feed entries from a RSS feed. | Global |
chart | Chart | Content | Displays a graphical chart generated from miscellaneous data sources | Global |
explainHeader | explainHeader | explain | This macro will show the pageHeader as a. block in your text | Global |
infoPersonWithSyndrome | infoFPersonWithSyndrome | Waihona | This macro allows to insert friendly text about person with syndrome to write personalized text - Name - First Name - Syndrome - Gender - Date of Birth - page - Avatar photo file | Global |
userDisplayer | userDisplayer | Global | ||
container | Container | Layout | A macro to enclose multiple groups and add decoration, such as layout. | Global |
python | Python | Development | Executes a python script. | Global |
script | Script | Development | Execute script in provided script language. | Global |
showCdLSAssociationLogo | Show CdLS association logo | Show CdLS association logo with association name as tooltip. The only parameter is a 2-character language code (NL,ES,EN). | Current Wiki | |
displayIcon | Icon | Content | Display an icon. | Global |
exportResearchToCSV | Export research data to CSV | This will take all questionnaires within a research and export it to a CSV (Comma separated) File in your download folder on your computer | Global | |
parentschildrenlivetable | Parents and Children Livetable | Display a livetable containing one level of parent-children granularity, where parent is defined by a document in the given space that is not the space home page, has no parent or it's parent is the space home page. | Current Wiki | |
showPageMetaInfo | show meta information of the page | documents | Global | |
dashboard | Dashboard | Layout | A macro to define a dashboard to fill with gadgets. | Global |
uiextensions | UI Extensions | Development | Insert UI extensions. | Global |
showVideoTilesAsJourney | showVideoTilesAsJourney | video | Global | |
cbox | CitationBox Macro | Content | This is a generic macro that allows a styled "citation" box around wiki content. | |
Current Wiki | ||||
clientSideUpdate | Update classObject without reloading page | Update classObject without reloading page. | Current Wiki | |
blogPostLayoutCompact | Blog Post Layout Compact | This macro is used to display a full blog post in a compact mode | Current Wiki | |
activationImageCentre | Activation image with callout below the image | activation | This macro will create a image with a title and a callout for your community | Global |
notificationsCustomFiltersPreferences | Notifications Custom Filters Preferences | Notifications | Display the preferences of the given user about custom notification filters. | Current Wiki |
addSubTitle | addSubTitle | Page writing | This macro allows an author to add subTitles to a page title | Global |
galleryOfPhotos | galleryOfPhotos | photos | This macro will show a gallery of Photos. By feeding it with an array of descriptions each photo can have a caption | Global |
job | Job | Development | Execute the macro content asynchronously and display progress. | Global |
pinAvatar | pinAvatar | text | This macro will insert a comment-pin with a avatar inline ; at the start of a paragraph of text, somewhere in the lines of text or at the end of the paragraph | Global |
notificationsFiltersPreferences | Notifications Filters Preferences (deprecated) | Notifications | Display the preferences of the current user about notification filters. This macro is now deprecated in favor of Custom Notifications Filters Preferences or System Notifications Filters Preferences. | Current Wiki |
notifications | Notifications | Notifications | Display notifications about events happened on the wiki. | Current Wiki |
velocity | Velocity | Development | Executes a Velocity script. | Global |
waihonapediaUserList | waihonapediaUserList | other | This macro will pick X users from this wiki's users and present them as a set of thumbnails. For ach user it will show: |
- Foto
- Role in context (optional, depending on context or param)
- Name of the user
- Descriptive in context (# nr of shared...) (optional, depending on context NOT on Param)
- Relation (e.g parent of child or doctor at hospital) (optional, depending on context or param)
Global | ||||
wikimacroparameter | WikiMacro Parameter | Development | Display editable parameter of a wikimacro. | Global |
campaignStart | campaignStart | campaign | Global | |
shareon | Share page | Share the page on social media. | Global | |
waihonaPartners | Partner organizations | Content | Show partner organizations of a support group | Current Wiki |
code | Code | Formatting | Highlights code snippets of various programming languages | Global |
eventSupporterIndex | eventSupporterIndex | campaign | This macro will show a index of users that support a campaign (event) | Global |
id | Id | Navigation | Allows putting a reference/location in a page. In HTML for example this is called an Anchor. It allows pointing to that location, for example in links. | Global |
include | Include | Content | Include other pages into the current page. | Global |
blogPostLayoutFull | Blog Post Layout Full | This macro is used to display a full blog post | Current Wiki | |
gdprSettings | Gdpr settings | Get what kind of cookies the current user has consented to. (preferences, statistics or marketing) | Current Wiki | |
bannerImage | bannerImage | content | This macro will display the specified image (optionally with pageRef) at 100% width | Global |
box | Box | Formatting | Draw a box around provided content. | Global |
questionnaireHeaderNew | Create questionnaire header in table format | Creates a columnheader for the questionnaire. The only parameter is a comma seperated list of items to be placed in the columnheader, from left (first) to right (last). | Current Wiki | |
video | Video | Content | Display in your wiki page any video from Youtube, Dailymotion, Google Video or Vimeo. |
Also play a video attached to your wiki page using Video.js library. mp4, webm and ogv formats are supported.
The video macro can also plays a DASH video (Dynamic Adaptive Streaming over HTTP).|Global
showBreadCrumbNavigation | show BreadCrumb for Navigation | Navigation | Macro will allow to generate a breadcrumb for easy navigating | Global |
showSupportGroupsTable | showSupportGroupsTable | This macro will show a tablethat lists all support groups of this waihonapedia, filtered on 'member' and displaying geographies names (e.g. countries), the logo, the name by supportgroup name | Global | |
column | Column | declares a column in a columned section | Global | |
showModal | Show modal dialog | navigation | Show a modal dialog that must be closed before continue Based on standard Bootstrap Modal | Global |
pageNavigation | Page Navigation (sticky) | page | This macro will show a one-level Table of Content of the current page. It will offer smooth rolling to any header of the selected level | Global |
userprofile | User profile | Displays basic information for the specified user by section. Also contains a tooltip-like menu with 3 actions: - edit profile (viewable by admin only) - view profile - delete profile (viewable by admin only) | Current Wiki | |
badge | badge | markup | Global | |
showPersonal | Show text from personal information | Text | THis allows you to write text and merging your personal information like the name of your child in your text Note that if others will read your text the personal information of the reader is used! | Global |
tree | Tree | Navigation | Displays a tree hierarchy defined by the macro content or the source parameter. | Global |
blogs | All Blogs Livetable | The blogs macro is used to list on a livetable all the blog available on the wiki. | Current Wiki | |
showPageAsTile | showPageAsTile | document | This macro will show a page reference as a tile. | Global |
makeNiceDate | Date makeup from class object | Macro for changing a string value date from a class object (even if it's encapsulated in a HTML macro) to an arbitrary made up date. |
Inline use:
Failed to execute the [velocity] macro. Cause: [begin 0, end -1, length 0]. Click on this message for details.
Located at: 'WaihonaMacros.makeNiceDate'|Global
threeImagesCampaign | threeImagesCampaign | Campaign | Campaigns have the option to add a layer with 3 images (specify in the campaign page) |
If your page has NO campaign Object you can specify the three images below...|Global
textOfQuestionairre | textOfQuestionairre | information | This macro will show the text from a questionaire;
For this you need to specify three params
{{textOfQuestionairre listCode='qvo'/}} ---- {{textOfQuestionairre listCode='qvo' questionCode='l9' /}} ---- {{textOfQuestionairre listCode='qvo' questionCode='l9' optionCode='1' /}} $xwiki.getDocument($titleDocRef).getTranslatedDocument().getPlainTitle() How do you communicate with your child? Almost only with words (verbally) | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tableToJson | Transform a table into Json | Visualization | A table allows normal users to structure information into columns and rows This structure can be input for data analysis or visualization and on WaihonaPedia we standardize on Json | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notificationsEmailPreferences | Notifications Email Preferences | Notifications | Display the preferences of the current user about notification emails. | Current Wiki | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogPostLayoutWaiCards | WaihonaPedia Cards Blog Post Layout | This macro is used to display a blog post using the 'Cards' layout | Current Wiki | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogPostLayoutLink | Blog Post Layout Link | This macro is used to display a blog post as a simple link | Current Wiki | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exportResearchToPrint | Export research data to Print | This will take all questionnaires within a research and export it to a Print formatted HTML page. | Global | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
content | Content | Content | Allows writing content in any wiki markup | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
html | HTML | Development | Inserts HTML or XHTML code into the page. | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
office | Office Document Viewer | Content | View office attachments (doc, ppt, xls, odt, odp, ods etc.) inside wiki pages without downloading or importing them. | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showSubCentresOfExpertise | showSubCentresOfExpertise | community | This macro will show a list of centre of expertise based on decrees | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
livevalidationConfirmation | LiveValidationConfirmation | Development | Validates that XObject property value match another field of the form. | Current Wiki | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showAccordeonFromPages | showAccordeonFromPages | display | This macro can be supplied with a list of pages and these pages will then be rendered to an accordeon (see below) {{showAccordeonFromPages accordeonID='checklist1' accordeonTitle='Checklist met Diagnose Criteria' bannerDocRef = 'cdlsPublications.diagnosisPictures' bannerDropDownDocRef='' panelDocRefsList='cdlsPublications.toDiagnosis,cdlsPublications.facialFeatures,cdlsPublications.majorCriteria,cdlsPublications.minorCriteria'/}}
| Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notificationsApplicationsPreferences | Notifications Applications Preferences | Notifications | Display the preferences of the current user about notification applications. | Current Wiki | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
supportGroupContactInfo | Contact Information for supportgroup | supportgroup | This macro will present Contact Information of a supportgroup | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
navBarForBlog | navBarForBlog | Blog | This macro can be used in description of a blog. It will use the available space to add a NavBar with optionally a search option | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showConversionButton | Add Conversion button | Core Software | Macro will set array of object that will cause a display of button in the menu-bar | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogpostcreate | Blog Post Create | The Blog Post Create macro is used to insert a post creation form. The macro takes a blog descriptor document as parameter. The new blog posts will belongs to the blog specified in the parameter. | Current Wiki | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogpostlist | Blog post list | The BlogPostMacro is used to search and display blog posts based on some parameters, the results can be displayed using customizable templates. | Current Wiki | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
instructionProfileButtons | instructionProfileButtons | instructions | This macro is used in instructions to show the profileBar | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
overviewGroupEvents | overviewGroupEvents | Events | This macro will show a overview of events organized by a supportgroup You need to pass a parameter with the code of the group | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deeplTranslation | DeepL Translation | development | Add a link ir onder to translate a specific content using DeepL. | Current Wiki | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
addNavigationButton | Add a ? button to page header | Core Software | Macro will set array of object that will cause a display of button in the page header | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
decoratedTile | decoratedTile | navigation | A decorated tile with header and text from a page specified. You can make it clickable so it can serve as a navigation Panel | Global | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
iconClassname | Configure the classname for the usericon | This macro configures the classname for use with the icon bitmap. The only parameter is gender (male/female) | Current Wiki | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showMetaTopics | showMetaTopics | page content | Show the 'Topics' assigned to this page, allowing the user to read more 'alike' pages | Global |
HTML
2.0 HTML
XWiki Syntax 2.1 | Result |
---|---|
{{html}}<abbr title="HyperText Markup Language">HTML</abbr>{{/html}} | HTML |
Scripts
2.0 Scripts
Feature | XWiki Syntax 2.1 |
---|---|
Velocity script | {{velocity}} #set ($var = "whatever") {{/velocity}} |
Groovy script | {{groovy}} def var = "whatever" {{/groovy}} |