The Wiki Syntax
XWiki allows to create internet pages without using HTML thanks to the Wiki Syntax. This Wiki Syntax is a simple way to modify the aspect of a document as well as create links between documents.
This document explains the wiki syntax.
Commande: | Exemple: | Resultat: | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Titles |
1 Titre 1 1.1 Titre 2 |
Titre 1Titre 2 |
||||||||||||||
Paragraphs |
Here is a paragraph. This text continues the same paragraph. This paragraph is a new one. This paragraph is another new one. |
Here is a paragraph. This text continues the same paragraph.
This paragraph is a new one. This paragraph is another new one. |
||||||||||||||
Lists |
* List item * List item * Recursive list * Recursive list * Recursive list * Recursive list * Recursive list * Recursive list 1. Enumerated list 1. Enumerated list a. Alphabetical enumerated list a. Alphabetical enumerated list A. Uppercase alphabetical enumerated list A. Uppercase alphabetical enumerated list i. Roman enumerated list i. Roman enumerated list I. Uppercase roman enumerated list I. Uppercase roman enumerated list g. Greek enumerated list g. Greek enumerated list h. Hirigana (jap.) enumerated list h. Hirigana (jap.) enumerated list k. Katakana (jap.) enumerated list k. Katakana (jap.) enumerated list |
|
||||||||||||||
Bold There are two ways to makr text as bold. |
Here is a text with a *bold* word. Here is a text with a __bold__ word. |
Here is a text with a bold word. Here is a text with a bold word. | ||||||||||||||
Italics |
~~Here is a text in italics~~ |
Here is a text in italics | ||||||||||||||
Striked Text |
--Here is a striked text-- |
|||||||||||||||
Wiki Links |
Wiki Links: * [WebHome] * [Web Home] * [web home>WebHome] * [Main.WebHome] * [web home|Main.WebHome] |
Wiki Links: | ||||||||||||||
External Links |
* http://www.xwiki.org * [http://www.xwiki.org] * [lien xwiki.org>http://www.xwiki.org] * {link:lien xwiki.org|http://www.xwiki.org} |
|||||||||||||||
Quotes |
{quote:http://www.xwiki.org} Here is a text with a quote {quote} {quote:http://www.xwiki.org} ~~Here is a text with a quote~~ {quote} |
Here is a text with a quote Source Here is a text with a quote Source |
||||||||||||||
Tables The syntax for tables allows to easily create content in table format. It even allows to make some calculation on the content ! |
{table} Title 1 | Title 2 Word 1 | Word 2 {table} {table} Category | Sales (K€) Category 1 | 100 Category 2 | 50 Category 3 | 50 Total | =sum(B2:B4) {table} |
|
||||||||||||||
Document Includes Using XWiki you can include documents inside other documents. This can be usefull to create complex documents using multiple document an then convert them in PDF. This also allows to create forms to present object data. |
#includeTopic("Doc.TestInclude") #includeForm("Doc.TestInclude") |
回應 (3)
En fait j'ai trouvé tout seul qu'entourer son code par {pre}<samp> et </samp>{/pre} semble fonctionner à la fois pour du code imbriqué dans du texte et du code sur sa propre ligne, mais est-ce la manière recommandée (si jamais le css du club change, est-ce que ce sera encore lisible ?).
Le tag {code} met en forme comme il faut pour du code sur sa propre ligne, mais n'est pas bien décrit : comment le ferme-t-on ? de plus, il interprète le contenu à la façon wiki, ce qui n'est pas normal puisque c'est du code.
I see no explanation of how to do so. I'd be happy to fix these links if it is possible, but could someone let me know how this can be done?