Wiki source code of Sandbox

Last modified by Leon Poon on 2024/03/23 04:28

Hide last authors
Leon Poon 1.1 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 {{info}}
4 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.
5 {{/info}}
6
7 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.
8
9 Here are a number of test pages you can play with:
10
11 * [[Sandbox Test Page 1>>Sandbox.TestPage1]]
12 * [[Sandbox Test Page 2>>Sandbox.TestPage2]]
13 * [[Sandbox Test Page 3>>Sandbox.TestPage3]]
14
15 Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
16
Leon Poon 3.1 17 == Headings ==
Leon Poon 1.1 18
19 XWiki offers 6 levels of headings. You can use them to structure your pages.
20
21 == Level 2 Heading ==
22
23 === Level 3 Heading ===
24
25 ==== Level 4 Heading 4 ====
26
27 ===== Level 5 Heading 5 =====
28
29 ====== Level 6 Heading 6 ======
30
Leon Poon 3.1 31 {{info title="Accessibility recommendation"}}
32 In order to provide the best experience for assistive technology users on your wiki, you should avoid using the first level of heading in page content.
33 {{/info}}
Leon Poon 1.1 34
Leon Poon 3.1 35 == Styles ==
36
Leon Poon 1.1 37 Basic styles are supported in XWiki:
38
39 * **Text in Bold**
40 * //Text in Italics//
41 * __Text in Underline__
42 * --Text in Strikethrough--
43 * Text in ,,subscript,,
44 * Text in ^^superscript^^
45
Leon Poon 3.1 46 == Lists ==
Leon Poon 1.1 47
48 You can create various types of lists in your wiki pages:
49
Leon Poon 3.1 50 === Unordered list ===
Leon Poon 1.1 51
52 * Level 1
53 ** Level 2
54 *** Level 3
55 ** Level 2
56 * Level 1
57
Leon Poon 3.1 58 === Numbered list ===
Leon Poon 1.1 59
60 1. Item
61 11. Subitem
62 111. Item
63 1. Subitem
64
Leon Poon 3.1 65 === Mixed list ===
Leon Poon 1.1 66
67 1. Item 1
68 11. Item 2
69 11*. Item 3
70 11*. Item 4
71 1. Item 5
72
Leon Poon 3.1 73 == Tables ==
Leon Poon 1.1 74
Leon Poon 2.1 75 You can create tables right into wiki pages:
Leon Poon 1.1 76
Leon Poon 3.1 77 === Table with headers in the top row ===
Leon Poon 1.1 78
79 |= table header |= table header |= table header
80 | cell | cell | cell
81 | cell | cell | cell
82
Leon Poon 3.1 83 === Table with headers in the top row and left column ===
Leon Poon 1.1 84
85 |= table header |= table header |= table header
86 |= table header | cell | cell
87 |= table header | cell | cell
88
Leon Poon 3.1 89 == Links ==
Leon Poon 1.1 90
91 XWiki allows you to create links to other pages in your wiki or on the web:
92
93 * [[WebHome]] -> links to the homepage of the current space
94 * [[Sandbox Home>>WebHome]] -> links can have labels
95 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
96 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
97 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
98
99 You can also create links to attachments:
100
101 attach:XWikiLogo.png
102
Leon Poon 3.1 103 == Images ==
Leon Poon 1.1 104
105 You can insert images in your wiki pages:
106
107 image:XWikiLogo.png
108
Leon Poon 3.1 109 == Macros ==
Leon Poon 1.1 110
111 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:
112
Leon Poon 3.1 113 === Warning Macro ===
Leon Poon 1.1 114
115 This macro allows you to draw users' attention to a specific piece of information:
116
117 {{warning}}
118 Hello World
119 {{/warning}}
120
Leon Poon 3.1 121 === Table of Contents ===
Leon Poon 1.1 122
123 This macro automatically generates a table of contents of your wiki page based on headings:
124
125 {{toc/}}