Wiki source code of Sandbox


Show last authors
1 The sandbox is a part of your wiki that you can freely modify. It's meant to let you practice editing. You will discover how page editing works and create new pages. Simply click on **Edit** to get started!
2
3 (% data-xwiki-non-generated-content="java.util.List" %)
4 (((
5 " class="xwiki-metadata-container">Don't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the "History" tab at the bottom of the page.
6 )))
7
8 {{info}}
9 Don't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the "History" tab at the bottom of the page.
10 {{/info}}
11
12 If you want to give a look to the underlying [[XWiki Syntax>>XWiki.XWikiSyntax]], you can click on "Wiki code" in the "Show" menu or click on the "Source" tab when editing the page.
13
14 Here are a number of test pages you can play with:
15
16 * [[Sandbox Test Page 1>>Sandbox.TestPage1]]
17 * [[Sandbox Test Page 2>>Sandbox.TestPage2]]
18 * [[Sandbox Test Page 3>>Sandbox.TestPage3]]
19
20 Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
21
22 = Headings =
23
24 XWiki offers 6 levels of headings. You can use them to structure your pages.
25
26 == Level 2 Heading ==
27
28 === Level 3 Heading ===
29
30 ==== Level 4 Heading 4 ====
31
32 ===== Level 5 Heading 5 =====
33
34 ====== Level 6 Heading 6 ======
35
36 = Styles =
37
38 Basic styles are supported in XWiki:
39
40 * **Text in Bold**
41 * //Text in Italics//
42 * __Text in Underline__
43 * --Text in Strikethrough--
44 * Text in ,,subscript,,
45 * Text in ^^superscript^^
46
47 = Lists =
48
49 You can create various types of lists in your wiki pages:
50
51 == Unordered list ==
52
53 * Level 1
54 ** Level 2
55 *** Level 3
56 ** Level 2
57 * Level 1
58
59 == Numbered list ==
60
61 1. Item
62 11. Subitem
63 111. Item
64 1. Subitem
65
66 == Mixed list ==
67
68 1. Item 1
69 11. Item 2
70 11*. Item 3
71 11*. Item 4
72 1. Item 5
73
74 = Tables =
75
76 You can create tables right into wiki pages:
77
78 == Table with headers in the top row ==
79
80 |= table header |= table header |= table header
81 | cell | cell | cell
82 | cell | cell | cell
83
84 == Table with headers in the top row and left column ==
85
86 |= table header |= table header |= table header
87 |= table header | cell | cell
88 |= table header | cell | cell
89
90 = Links =
91
92 XWiki allows you to create links to other pages in your wiki or on the web:
93
94 * [[WebHome]] -> links to the homepage of the current space
95 * [[Sandbox Home>>WebHome]] -> links can have labels
96 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
97 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
98 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
99
100 You can also create links to attachments:
101
102 attach:XWikiLogo.png
103
104 = Images =
105
106 You can insert images in your wiki pages:
107
108 image:XWikiLogo.png
109
110 = Macros =
111
112 Macros allow you to make wiki content look better and to add additional features to your wiki. Here are 2 examples of how macros can be used in wiki pages:
113
114 == Warning Macro ==
115
116 This macro allows you to draw users' attention to a specific piece of information:
117
118 (% data-xwiki-non-generated-content="java.util.List" %)
119 (((
120 " class="xwiki-metadata-container">Hello World
121 )))
122
123 {{warning}}
124 Hello World
125 {{/warning}}
126
127 == Table of Contents ==
128
129 This macro automatically generates a table of contents of your wiki page based on headings:
130
131 {{toc/}}