XWiki Syntax Guide

Laatst gewijzigd door admin op 15-06-2021

XWiki Syntax 2.1: 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"/}}

FeatureXWiki Syntax 2.1Result
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

For the full list of available macros check the Extensions wiki.

Macros in this wiki

IdNameCategoriesDescriptionVisibility
tocInhoudsopgaveNavigatieInhoudsopgave genereren.Global
iconPickerIcon PickerOntwikkelingSelect an icon within the XWiki icon set.Current Wiki
wikimacrocontentWikiMacro ContentOntwikkelingDisplay editable content of a wikimacro.Global
mentionUser MentionNotificationsInsert a user mention.Current Wiki
exampleExampleVormgevingShows an example and its source code.Current Wiki
asyncAsync macroInhoudExecute asynchronously and/or cache the macro content.Global
spaceindexPaginaruimte OverzichtDeprecatedToont de documenten van een paginaruimte.Current Wiki
boxRechthoekVormgevingTeken een rechthoek om de betreffende inhoud.Global
spacesPaginaruimtenDeprecatedToont alle paginaruimten in deze wiki.Current Wiki
errorFoutmeldingVormgevingToont een foutmelding.Global
attachmentGalleryPickerAttachment PickerOntwikkelingGrid based attachment picker.Global
warningWaarschuwingsmeldingVormgevingToont een waarschuwingsmelding.Global
messageSenderBerichten VersturenSocialEen besturingselement waarmee gebruikers berichten kunnen verzenden die worden afgehandeld door de Berichtenstroom module.Current Wiki
childrenChildrenNavigatieDisplays a tree of children pages of the current pageCurrent Wiki
workspacesWerkruimten (Legacy)DeprecatedDeprecated macro that should not be used here for compatibility reasons. Please use the "wikis" macro instead.Current Wiki
displayTonenInhoudAndere pagina in de huidige pagina tonen.Global
translationTranslationInhoudDisplay a translation message.Global
contextContextOntwikkelingVoert inhoud uit in de context van het doorgegeven documentGlobal
pdftocPDF Table of ContentsInternalGenerates the table of contents for the PDF export.Global
infoInformatiemeldingVormgevingToont een informatiemelding.Global
treeTreeNavigatieDisplays a tree hierarchy defined by the macro content or the source parameter.Current Wiki
liveDataLive DataInhoudDisplay dynamic lists of data.Global
rssRSSInhoudRecente RSS-items tonen uit een RSS feed.Global
successSuccesmeldingVormgevingToont een succesmelding.Global
documentTreePage TreeNavigatieDisplays the tree of XWiki pages.Current Wiki
templateTemplateOntwikkelingInsert a template.Global
notificationsAutoWatchPreferencesNotifications Auto Watch PreferencesNotificationsDisplay the preferences of the current user about auto watched pages.Current Wiki
chartGrafiekInhoudToont een uit grafiek die uit verschillende bronnen kan worden gegenereerdGlobal
containerContainerLayoutEen macro waarmee meerdere groepen kunnen worden ingesloten en opgemaakt, zoals layout.Global
notificationsEmailPreferencesNotifications Email PreferencesNotificationsDisplay the preferences of the current user about notification emails.Current Wiki
tagcloudTagwolkInhoudToont de wolk van Tags in deze wiki of in de opgegeven paginaruimte.Current Wiki
activityActiviteitenNotificationsDe Activiteiten-macro geeft informatie over recente activiteiten van gebruikers binnen de XWiki-instantie. De macro toont de maak-, wijzig- en verwijder-gebeurtenissen van pagina's, opmerkingen, bijlagen en annotaties.Current Wiki
pythonPythonOntwikkelingPython-script uitvoeren.Global
commentCommentaarOntwikkelingPlaatst commentaar in de bron-inhoud. Deze macro geeft geen output.Global
htmlHTMLOntwikkelingVoegt HTML of XHTML code in in de pagina.Global
contentContentInhoudAllows writing content in any wiki markupGlobal
scriptScriptOntwikkelingScript uitvoeren in de geleverde script-taal.Global
useravatarAvatar GebruikerInhoudToont de avatar van een specifieke gebruiker.Global
officeOffice Document ViewerInhoudBekijk office-bijlagen (doc, ppt, xls, odt, odp, ods etc.) binnen een wiki-pagina zonder deze te downloaden of importeren.Global
galleryGalerieLayoutToont de afbeeldingen uit de opgegeven inhoud in een slideshow.Global
uiextensionUI ExtensionOntwikkelingInsert a UI extension.Global
notificationsSystemFiltersPreferencesNotifications System Filters PreferencesNotificationsDisplay the preferences of the given user about system notification filters.Current Wiki
uiextensionsUI ExtensionsOntwikkelingInsert UI extensions.Global
dashboardDashboardLayoutEen macro voor het maken van een Dashboard, samengesteld uit gadgets.Global
putFootnotesVoetnoten opnemenInhoudToont de geplaatste voetnoten. Als deze ontbreekt, worden alle voetnoten standaard getoond aan het einde van de pagina.Global
wikisWiki'sNavigatieToon alle wiki'sCurrent Wiki
attachmentSelectorBijlagekiezerOntwikkelingEen besturingselement dat wordt gebruikt voor object properties van het huidige document die de naam bevatten van een bijlage bij het huidige (of doel-) document. Maakt het mogelijk bijlagen te uploaden naar en verwijderen van het doel-document. Als geen doel-document is opgegeven, wordt het huidige document gebruikt. Object properties worden alleen opgeslagen in het huidige document.Current Wiki
notificationsApplicationsPreferencesNotifications Applications PreferencesNotificationsDisplay the preferences of the current user about notification applications.Current Wiki
cacheCacheOntwikkelingCaches inhoud.Global
menuMenuNavigatieDisplays a menu created using simple wiki syntax (nested lists and links).Global
notificationsCustomFiltersPreferencesNotifications Custom Filters PreferencesNotificationsDisplay the preferences of the given user about custom notification filters.Current Wiki
documentsDocumentenInhoudToont een lijst met documenten in een LivetableCurrent Wiki
notificationsFiltersPreferencesNotifications Filters Preferences (deprecated)NotificationsDisplay 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
notificationsNotificationsNotificationsDisplay notifications about events happened on the wiki.Current Wiki
velocityVelocityOntwikkelingVelocity-script uitvoeren.Global
wikimacroparameterWikiMacro ParameterOntwikkelingDisplay editable parameter of a wikimacro.Global
groovyGroovyOntwikkelingGroovy-script uitvoeren.Global
footnoteVoetnootInhoudMaakt een voetnoot die aan het eind van de pagina wordt getoond.Global
codeCodeVormgevingMarkeer code-fragmenten van verschillende programmeertalenGlobal
idIdNavigatieMaakt het mogelijk een referentie/locatie in een pagina te maken. In HTML wordt dit bijvoorbeeld een Anker genoemd. Het maakt het mogelijk te verwijzen naar die lokatie, bijvoorbeeld in links.Global
includeOpnemenInhoudNeem andere pagina's op in de huidige pagina.Global
Tags:
Gemaakt door admin op 15-06-2021

Inhoudsopgave

Copyright © 2016-2024 ASolutions
Rivium Quadrant 181 - 2909 LC - Capelle aan den IJsselpubliek v14.10.5