EasyBeans header

XWiki Syntax

XWiki allows you 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 briefly explains the wiki syntax.

Description: Example: Result:
Titles


1 Title 1

1.1 Title 2

Title 1

Title 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 level 1
** Recursive list level 2
*** Recursive list level 3
*** Recursive list level 3
** Recursive list level 2
** Recursive list level 2
* Recursive list level 1

   
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 level 1
    • Recursive list level 2
      • Recursive list level 3
      • Recursive list level 3
    • Recursive list level 2
    • Recursive list level 2
  • Recursive list level 1
  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 mark text as bold.

Here is some text with a *bold* word.
Here is some text with a __bold__ word.

Here is some text with a bold word. Here is some text with a bold word.
Italics


~~Here is some text in italics~~

Here is some text in italics
Striked Text


--Here is some striked text--

Here is some 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 some text with a quote
{quote}

{quote:http://www.xwiki.org}
~~Here is some text with a quote~~
{quote}

Here is some text with a quote Source

Here is some 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 1Title 2
Word 1Word 2

CategorySales (K?)
Category 1100
Category 250
Category 350
Total200
No wiki rendering but HTML rendering
This allows to show wiki syntax in a wiki page.
{pre}
No *bold rendering* in wiki syntax.
{/pre}
No *bold rendering* in wiki syntax.
No Wiki rendering and no HTML rendering
This allows to show Wiki and HTML content in a Wiki page.
{code:xml}
No <strong>bold rendering</strong> in HTML. No *bold rendering in* wiki syntax.
{code}
No <strong>bold rendering</strong> in HTML.
No *bold rendering in* wiki syntax.
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")
Nom du document: TestInclude

Nom du document: XWikiSyntax

Images
Allows to include images that are attached to the document.
{image:chat2.jpg|50}
{image:chat2.jpg| |50}
{image:chat2.jpg|50|50}
chat2.jpg chat2.jpg chat2.jpg



Log-in Register
Copyright © 2006-2011, OW2 Consortium EasyBeans Logo
Creator: WebHome  Date: 2005/02/06 17:47 Last Author: superadmin  Date: 2005/05/31 13:50
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Can’t code withoutThe best Java IDE