Wiki source code of Sandbox

Version 1.3 by Matt Richards on 2024/11/06 14:53

Hide last authors
Matt Richards 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
Matt Richards 1.2 17 == Testing an edit and adding an image ==
18
19 jjjhhjhjhj
20
21 [[image:https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg||alt="File: Test.svg - Wikimedia Commons"]]
22
Matt Richards 1.3 23 yuiyiyuyiy
Matt Richards 1.2 24
Matt Richards 1.3 25
Matt Richards 1.1 26 == Headings ==
27
28 XWiki offers 6 levels of headings. You can use them to structure your pages.
29
30 == Level 2 Heading ==
31
32 === Level 3 Heading ===
33
34 ==== Level 4 Heading 4 ====
35
36 ===== Level 5 Heading 5 =====
37
38 ====== Level 6 Heading 6 ======
39
40 {{info title="Accessibility recommendation"}}
41 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.
42 {{/info}}
43
44 == Styles ==
45
46 Basic styles are supported in XWiki:
47
48 * **Text in Bold**
49 * //Text in Italics//
50 * __Text in Underline__
51 * --Text in Strikethrough--
52 * Text in ,,subscript,,
53 * Text in ^^superscript^^
54
55 == Lists ==
56
57 You can create various types of lists in your wiki pages:
58
59 === Unordered list ===
60
61 * Level 1
62 ** Level 2
63 *** Level 3
64 ** Level 2
65 * Level 1
66
67 === Numbered list ===
68
69 1. Item
70 11. Subitem
71 111. Item
72 1. Subitem
73
74 === Mixed list ===
75
76 1. Item 1
77 11. Item 2
78 11*. Item 3
79 11*. Item 4
80 1. Item 5
81
82 == Tables ==
83
84 You can create tables right into wiki pages:
85
86 === Table with headers in the top row ===
87
88 |= table header |= table header |= table header
89 | cell | cell | cell
90 | cell | cell | cell
91
92 === Table with headers in the top row and left column ===
93
94 |= table header |= table header |= table header
95 |= table header | cell | cell
96 |= table header | cell | cell
97
98 == Links ==
99
100 XWiki allows you to create links to other pages in your wiki or on the web:
101
102 * [[WebHome]] -> links to the homepage of the current space
103 * [[Sandbox Home>>WebHome]] -> links can have labels
104 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
105 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
106 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
107
108 You can also create links to attachments:
109
110 attach:XWikiLogo.png
111
112 == Images ==
113
114 You can insert images in your wiki pages:
115
Matt Richards 1.2 116 [[image:XWikiLogo.png]]
Matt Richards 1.1 117
118 == Macros ==
119
120 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:
121
122 === Warning Macro ===
123
124 This macro allows you to draw users' attention to a specific piece of information:
125
126 {{warning}}
127 Hello World
128 {{/warning}}
129
130 === Table of Contents ===
131
132 This macro automatically generates a table of contents of your wiki page based on headings:
133
134 {{toc/}}