Wiki source code of Sandbox

Version 3.1 by Matt Richards on 2024/11/11 11:06

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