Mandriva

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 1

Titre 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

 

  • List item
  • List item
  • Recursive list
  • Recursive list
  • Recursive list
  • Recursive list
  • Recursive list
  • Recursive list
  1. Enumerated list
  2. Enumerated list
  1. Alphabetical enumerated list
  2. Alphabetical enumerated list
  1. Uppercase alphabetical enumerated list
  2. Uppercase alphabetical enumerated list
  1. Roman enumerated list
  2. Roman enumerated list
  1. Uppercase roman enumerated list
  2. Uppercase roman enumerated list
  1. Greek enumerated list
  2. Greek enumerated list
  1. Hirigana (jap.) enumerated list
  2. Hirigana (jap.) enumerated list
  1. Katakana (jap.) enumerated list
  2. 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--

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}

Title 1 Title 2
Word 1 Word 2

Category Sales (K€)
Category 1 100
Category 2 50
Category 3 50
Total 200

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")

KB - WebHome > The Wiki Syntax
要顯示的版本 1.21 last modified by JFC on 15/02/2007 at 01:39

回應 (3)

yoho | 06.06.2005 at 09:23 AM
Rien n'indique comment placer du code ou une ligne de commande :

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.


Vincent_Plagnol | 16.09.2005 at 04:51 PM
I checked the links in the knowledge base and when one clicks on a subsection of Hardware (for example) one ends up at the top of the hardware page. It would be more intuitive to link to the exact section of interest, within that large page.

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?


glyj | 03.10.2005 at 04:29 AM
On ne voit pas non plus comment centrer le texte dans un tableau

 


en uk cs fr nl pt eu

RSS

建立者: WebHome on 2005/04/03 18:41
(c) Mandriva 2007
18888888