Guide de syntaxe XWiki
Syntaxe XWiki 2.1 » Programmer
Syntaxe XWiki 2.1: Programmer
Macros
2.0 Macros
En syntaxe XWiki 2.0, il y a aussi deux types de macros:
- Les macros Velocity appelées en utilisant la syntaxe #macroname(param1 ... paramN) dans la Macro Velocity
- Les macros XWiki appelées en utilisant la syntaxe{{macroname param1="value1" ... paramN="valueN"}}
Fonctionnalité | Syntaxe XWiki 2.1 | Résultat |
---|---|---|
Macro | {{code language="java"}} System.out.println("Hello World!"); {{/code}} | System.out.println("Hello World!"); |
Macros dans ce wiki
Id | Nom | Catégories | Description | Visiblité |
---|---|---|---|---|
toc | Table des matières | Navigation | Génère une table de matières. | Globale |
mention | Mention Utilisateur | Notifications | Insert une mention utilisateur. | Wiki courant |
showCampaignSupporters | showCampaignSupporters | campaign | Globale | |
showRecommendations | Show recommendations for a topic | documents | This Macro shows the recommendations for a topic | Globale |
attachmentGalleryPicker | Sélecteur de pièces jointes | Développement | Grille de sélection des pièces jointes. | Globale |
showDream | showDream | campaign | This macro will visualize a dream specified in a WaihonaPedia format. | Globale |
warning | Message d'avertissement | Format | Permet d'afficher un message d'avertissement. | Globale |
campaignButtons | campaignButtons | campaign | This macro can only be used in combination with a campaignObject | Globale |
livevalidationFormat | LiveValidationFormat | Développement | Validates that XObject property value against a regular expression. | Wiki courant |
latestNewsItems | Show latest news items | This macro will show the latest news items for a given supportgroup | ||
Globale | ||||
livevalidationEmail | LiveValidationEmail | Développement | Validates that XObject property value is a valid email address. | Wiki courant |
sectionDivider | sectionDivider | page content | Add a Section divider to a page. |
It will create a clear separation between two page sections|Globale
closingBeauty | closingBeauty | campaign | Show a nice section with three images with text overlays to inspire | Globale |
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). | Wiki courant | |
activationImageLeft | Activation image with callout on the left | activation | This macro will create a image with a title and a callout for your community | Globale |
success | Message en cas de succès | Format | Affiche un message en cas de succès. | Globale |
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|Globale
template | Template | Développement | Insérer un template. | Globale |
notificationsAutoWatchPreferences | Préférences pour les notifications d'abonnement automatique | Notifications | Affiche les préférences de l'utilisateur pour les notifications d'abonnement automatique aux pages. | Wiki courant |
memberDescr | Show memberships | Wiki courant | ||
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. | Wiki courant | |
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 | Globale |
useTitleOfPage | useTitleOfPage | content | Specify a reference of a page and get the title in plain Text to use in your content | Globale |
waihonaPediaPartners | WaihonaPedia Partner organizations | content | Show partner organizations for a WaihonaPedia Partner | Wiki courant |
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|Globale
blogPostLayoutCards | Cards Blog Post Layout | This macro is used to display a blog post using the 'Cards' layout | Wiki courant | |
useravatar | Afficher la photo de profil | Contenu | Permet d'afficher l'avatar d'un utilisateur donné. | Globale |
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 | Globale |
wikis | Wikis | Navigation | Liste de tous les wikis | Wiki courant |
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 | Globale |
waihonaAddPage | Add Page | This macro that will put a "create page button" with option to set Space and Page | Wiki courant | |
cache | Cache | Développement | Contenu des caches. | Globale |
createCitationsStructure | createCitationsStructure | campaign | A macro to create and maintain a citation structure displayed in a Caroussel displayer | Globale |
supportGroupLeaders | supportGroupLeaders | supportgroup | Show the community representatives, experts and volunteers | Globale |
includePublicQuestion | includePublicQuestion | content | This macro will display a Privat article | Globale |
figureTypeRecognizer | Figure Type Recognizer | Interne | Internal macro used to recognize the type of a figure. | Globale |
getTextbyClass | getTextbyClass | CdLS | Get Paragraph from a page that is marked with a class | Globale |
iconDecoratedTile | iconDecoratedTile | show | This macro will show a tile decorated with the icon you specify (Font awesome) | Globale |
pdfviewer | PDF Viewer | Contenu | PDF Viewer basé sur Mozilla pdf.js | Wiki courant |
showCollectionOfTiles | showCollectionOfTiles | page | This macro will show a collection of tiles providing you specify the macro at least one time | Globale |
lightbox | Lightbox Image | Contenu | Add a click-enlargeable image. | Globale |
showWaihonaPediaGroup | showWaihonaPediaGroup | user | Show users in a group, see the groups in admin | Globale |
iconPicker | Sélecteur d'icônes | Développement | Sélectionnez une icône dans le set d'icônes XWiki. | Wiki courant |
healthSystemIcon | healthSystemIcon label | icon | This macro will show a icon for a heart-system part | Globale |
wikimacrocontent | WikiMacro Content | Développement | Display editable content of a wikimacro. | Globale |
emo | Emoticon Macro | Contenu | 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 | Globale |
section | Section | A macro to enclose columned text | Globale | |
messageSender | Emetteur du message | Social | Un contrôle qui permet aux utilisateurs d'entrer des messages qui sont gérés par le module de MessageStream. | Wiki courant |
playVideoTile | playVideoTile | navigation | A tile with Video image as header and text from a page specified. | Globale |
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. | Globale |
children | Children | Navigation | Displays a tree of children pages of the current page | Wiki courant |
livetable | livetable | navigation | Displays a standard livetable for a specific XWiki class and the chosen fields | Globale |
showUsersWithExpertiseNetwork | showUsersWithExpertiseNetwork | This macro show all the waihonapedia users within a network of orgs associated to a disease | Globale | |
display | Affichage | Contenu | Affiche d'autres pages dans la page courante. | Globale |
translation | Traduction | Contenu | Affiche un message de traduction. | Globale |
greetUserRegistration | greetUserRegistration | Waihona | This will greet the just registered user in a informal way with first name | Globale |
addStoryButton | addStoryButton | stories | This macro will add a button that will help you to write a introduction story about your Waihona | Globale |
info | Message d'information | Format | Permet d'afficher un message d'information. | Globale |
createVideoLayer | createVideoLayer | campaign | This macro can create a page structure that can be viewed as a 'Video' block on a page | Globale |
documentTree | Arborescence | Navigation | Affiche l'arborescence des pages XWiki. | Wiki courant |
tagcloud | Nuage de tag | Contenu | Affiche le nuage de tags du wiki courant ou de l'espace spécifié. | Wiki courant |
activity | Activité | Notifications | La macro Activity affiche l'activité récente des utilisateurs dans le wiki, elle fournit des information concernant les pages (création, édition, suppression) ainsi que sur les annotations, les commentaires et les pièces jointes. | Wiki courant |
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 | Wiki courant |
showGroupEventButtons | showGroupEventButtons | moderator | This will offer moderators a option to add events on behalf of their community | Globale |
livevalidationPresence | LiveValidationPresence | Développement | Validates that XObject property value is present (ie. not null, undefined, or an empty string) | Wiki courant |
comment | Commentaire | Développement | Permet d'ajouter des commentaires dans le contenu source. Cette macro ne produit rien. | Globale |
showEventSupporters | showEventSupporters | campaign | This macro will, when inside a tree of a campaign, show the supporters for that campaign | Globale |
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 | Globale | |
gallery | Galerie | Mise en page | Affiche les images trouvées dans le contenu fourni en mode présentation / galerie. | Globale |
campaignDisplaySchedule | campaignDisplaySchedule | campaign | This macro will display a schedule if the campaign it refers to has a schedule defined | Globale |
uiextension | Extension UI | Développement | Insérez une extension UI. | Globale |
notificationsSystemFiltersPreferences | Notifications System Filters Preferences | Notifications | Display the preferences of the given user about system notification filters. | Wiki courant |
figure | Figure | Développement | Tag content as an illustration and with an optional caption. | Globale |
putFootnotes | Afficher les notes de bas de page | Contenu | Permet d'afficher les notes de bas de page présentes jusqu'à ce point dans le document. Le cas échéant, les notes de bas de page seront affichées en bas de la page. | Globale |
attachmentSelector | Sélecteur de pièce jointe | Développement | Un contrôle à utiliser pour les propriétés de l'objet du document actuel qui sont censées contenir le nom d'une pièce jointe à partir du document courant (ou cible). Autorise le chargement de nouvelles pièces jointes, et la suppression des pièces jointes à partir du document cible. Si aucun document cible n'est spécifié, le document actuel sera utilisé. Les propriétés de l'objet ne sont enregistrées que dans le document actuel. | Wiki courant |
includePrivatArticles | includePrivatArticles | content | This macro will display a Privat article | Globale |
serviceLabel | Service label | Page content | This macro will show a label for one of the WaihonaPedia services. | Globale |
showRoleInOrganisation | showRoleInOrganisation | people | Globale | |
livevalidationCustom | LiveValidationCustom | Développement | 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. | Wiki courant |
menu | Menu | Navigation | Affiche un menu créé en utilisant une syntaxe wiki simple (listes imbriquées et liens). | Globale |
upgrading | upgrading | warning | This macro will show a message that something is being upgraded | Globale |
callToAction | callToAction | page content | Globale | |
documents | Documents | Contenu | Affiche la liste des documents dans un tableau dynamique | Wiki courant |
citation | Citation | Citation Macro | Globale | |
quote | Quote | Format | Displays inline text with special quote formatting. | Globale |
groovy | Groovy | Développement | Exécute un script Groovy. | Globale |
footnote | Note de bas de page | Contenu | Génère une note qui sera affichée en bas de page. | Globale |
generalHealth | generalHealth | information | This macro will present a list of Health attention points for a given disease | Globale |
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 | Wiki courant | |
showCentresOfExpertise | showCentresOfExpertise | community | This macro will show a list of centre of expertise | Globale |
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. | Wiki courant | |
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 | Globale |
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 | Globale | |
textToLead | textToLead | text | This macro will style;e the contained text as 'lead-text', especially useful as a introduction to your article! | Globale |
example | Example | Format | Shows an example and its source code. | Wiki courant |
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 | Globale |
blogPostLayoutImage | Blog Post Layout Image | This macro is used to display a full blog post with a thumbnail image | Wiki courant | |
campaignScheduleOverview | campaignScheduleOverview | campaign | This macro will show the parts of the program | Globale |
async | macro async | Contenu | Exécution asynchrone et/ou mise en cache du contenu de la macro. | Globale |
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 | Globale |
figureCaption | Figure Caption | Développement | Provide a figure caption when used inside the Figure macro. | Globale |
spaceindex | Index des espaces | Obsolète | Liste les documents d'un espace. | Wiki courant |
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/}} | Globale |
icon | Font Awesome icon | Icons | Inserts a Font Awesome icon | Globale |
spaces | Espaces | Obsolète | Affiche tous les espaces du wiki courant. | Wiki courant |
error | Message d'erreur | Format | Permet d'afficher un message d'erreur. | Globale |
greetUser | greetUser | Waihona | This will greet the user in a informal way with first name | Globale |
pageInBox | pageInBox | navigation | The macro will allow you to show the first part (or a summary) of a page in a box | Globale |
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. | Globale | |
workspaces | Espaces de travail (obsolète) | Obsolète | Cette macro est dépréciée et ne doit plus être utilisée pour des raisons de compatibilité. Merci de la remplacer par un macro "wikis". | Wiki courant |
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. | Globale |
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" /}} | Globale |
context | Contexte | Développement | Execute le contenu dans le contexte du document passé en paramètre | Globale |
pdftoc | PDF Table of Contents | Interne | Generates the table of contents for the PDF export. | Globale |
livevalidation | LiveValidation | Développement | Provides client-side live validation of a single XObject based on the validation expressions and messages defined in its XClass. | Wiki courant |
liveData | Live Data | Contenu | Affiche des listes dynamiques de données. | Globale |
rss | RSS | Contenu | Liste les derniers éléments d'un flux RSS. | Globale |
chart | Graphique | Contenu | Affiche un graphique généré à partir d'une source de données | Globale |
explainHeader | explainHeader | explain | This macro will show the pageHeader as a. block in your text | Globale |
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 | Globale |
userDisplayer | userDisplayer | Globale | ||
container | Conteneur | Mise en page | Macro permettant de réunir plusieurs groupes et d'ajouter des décorations comme la mise en page. | Globale |
python | Python | Développement | Exécute un script Python. | Globale |
script | Script | Développement | Exécute un script dans le langage indiqué. | Globale |
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). | Wiki courant | |
displayIcon | Icon | Contenu | Display an icon. | Globale |
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 | Globale | |
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. | Wiki courant | |
showPageMetaInfo | show meta information of the page | documents | Globale | |
dashboard | Tableau de bord | Mise en page | Macro permettant de définir un tableau de bord à remplir avec des gadgets. | Globale |
uiextensions | Extensions UI | Développement | Insérer les extensions UI. | Globale |
showVideoTilesAsJourney | showVideoTilesAsJourney | video | Globale | |
cbox | CitationBox Macro | Contenu | This is a generic macro that allows a styled "citation" box around wiki content. | |
Wiki courant | ||||
clientSideUpdate | Update classObject without reloading page | Update classObject without reloading page. | Wiki courant | |
blogPostLayoutCompact | Blog Post Layout Compact | This macro is used to display a full blog post in a compact mode | Wiki courant | |
activationImageCentre | Activation image with callout below the image | activation | This macro will create a image with a title and a callout for your community | Globale |
notificationsCustomFiltersPreferences | Notifications Custom Filters Preferences | Notifications | Display the preferences of the given user about custom notification filters. | Wiki courant |
addSubTitle | addSubTitle | Page writing | This macro allows an author to add subTitles to a page title | Globale |
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 | Globale |
job | Job | Développement | Execute the macro content asynchronously and display progress. | Globale |
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 | Globale |
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. | Wiki courant |
notifications | Notifications | Notifications | Affiche des notifications liées à l'activité du wiki. | Wiki courant |
velocity | Velocity | Développement | Exécute un script Velocity. | Globale |
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)
Globale | ||||
wikimacroparameter | WikiMacro Parameter | Développement | Display editable parameter of a wikimacro. | Globale |
campaignStart | campaignStart | campaign | Globale | |
shareon | Share page | Share the page on social media. | Globale | |
waihonaPartners | Partner organizations | Contenu | Show partner organizations of a support group | Wiki courant |
code | Code | Format | Permet d'afficher des lignes de code dans un langage informatique donné | Globale |
eventSupporterIndex | eventSupporterIndex | campaign | This macro will show a index of users that support a campaign (event) | Globale |
id | Ancre | Navigation | Permet d'insérer une ancre au sein d'une page. Elle permettra de créer un lien vers cet endroit précis de la page. | Globale |
include | Inclure | Contenu | Permet d'inclure une autre page dans la page courante. | Globale |
blogPostLayoutFull | Blog Post Layout Full | This macro is used to display a full blog post | Wiki courant | |
gdprSettings | Gdpr settings | Get what kind of cookies the current user has consented to. (preferences, statistics or marketing) | Wiki courant | |
bannerImage | bannerImage | content | This macro will display the specified image (optionally with pageRef) at 100% width | Globale |
box | Boîte | Format | Affiche une boîte autour du contenu entré. | Globale |
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). | Wiki courant | |
video | Video | Contenu | 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).|Globale
showBreadCrumbNavigation | show BreadCrumb for Navigation | Navigation | Macro will allow to generate a breadcrumb for easy navigating | Globale |
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 | Globale | |
column | Column | declares a column in a columned section | Globale | |
showModal | Show modal dialog | navigation | Show a modal dialog that must be closed before continue Based on standard Bootstrap Modal | Globale |
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 | Globale |
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) | Wiki courant | |
badge | badge | markup | Globale | |
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! | Globale |
tree | Arbre | Navigation | Affiche une hiérarchie de l'arborescence définie par le contenu de la macro ou le paramètre source. | Globale |
blogs | Livetable de tous les blogs | La macro «Blogs» est utilisée pour lister dans une livetable tous les blogs disponibles sur le wiki. | Wiki courant | |
showPageAsTile | showPageAsTile | document | This macro will show a page reference as a tile. | Globale |
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:
Erreur dans l'exécution de la macro [velocity]. Cause : [begin 0, end -1, length 0]. Cliquer sur ce message pour voir plus de détails.
Located at: 'WaihonaMacros.makeNiceDate'|Globale
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...|Globale
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) | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notificationsEmailPreferences | Notifications Email Preferences | Notifications | Display the preferences of the current user about notification emails. | Wiki courant | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogPostLayoutWaiCards | WaihonaPedia Cards Blog Post Layout | This macro is used to display a blog post using the 'Cards' layout | Wiki courant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blogPostLayoutLink | Blog Post Layout Link | This macro is used to display a blog post as a simple link | Wiki courant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exportResearchToPrint | Export research data to Print | This will take all questionnaires within a research and export it to a Print formatted HTML page. | Globale | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
content | Contenu | Contenu | Autorise tous les types de langages wiki dans le contenu | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
html | HTML | Développement | Permet d'insérer du code HTML ou XHTML dans la page. | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
office | Liseuse de Document Office | Contenu | Voir les pièces jointes office (doc, ppt, xls, odt, odp, ods etc.) au sein des pages wiki sans besoin de les télécharger ou de les importer. | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showSubCentresOfExpertise | showSubCentresOfExpertise | community | This macro will show a list of centre of expertise based on decrees | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
livevalidationConfirmation | LiveValidationConfirmation | Développement | Validates that XObject property value match another field of the form. | Wiki courant | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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'/}}
| Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notificationsApplicationsPreferences | Préférences de notification | Notifications | Affiche les préférences de notification de l'utilisateur courant. | Wiki courant | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
supportGroupContactInfo | Contact Information for supportgroup | supportgroup | This macro will present Contact Information of a supportgroup | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showConversionButton | Add Conversion button | Core Software | Macro will set array of object that will cause a display of button in the menu-bar | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | Wiki courant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | Wiki courant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
instructionProfileButtons | instructionProfileButtons | instructions | This macro is used in instructions to show the profileBar | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deeplTranslation | DeepL Translation | development | Add a link ir onder to translate a specific content using DeepL. | Wiki courant | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | Globale | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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) | Wiki courant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showMetaTopics | showMetaTopics | page content | Show the 'Topics' assigned to this page, allowing the user to read more 'alike' pages | Globale |
HTML
2.0 HTML
Syntaxe XWiki 2.1 | Résultat |
---|---|
{{html}}<b>gras</b>{{/html}} | gras |
Scripts
2.0 Scripts
Feature | Syntaxe XWiki 2.1 |
---|---|
Script Velocity | {{velocity}} #set ($var = "quelquechose") {{/velocity}} |
Script Groovy | {{groovy}} def var = "quelquechose" {{/groovy}} |