Wiki source code of Sandbox

Version 7.9 by Mads Pedersen on 2026/01/21 14:54

Hide last authors
Admin Hard 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
Mads Pedersen 5.1 17 == Headings ==
Mads Pedersen 1.5 18
Admin Hard 1.1 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
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}}
34
35 == Styles ==
36
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
46 == Lists ==
47
48 You can create various types of lists in your wiki pages:
49
50 === Unordered list ===
51
52 * Level 1
53 ** Level 2
54 *** Level 3
55 ** Level 2
56 * Level 1
57
58 === Numbered list ===
59
60 1. Item
61 11. Subitem
62 111. Item
63 1. Subitem
64
65 === Mixed list ===
66
67 1. Item 1
68 11. Item 2
69 11*. Item 3
70 11*. Item 4
71 1. Item 5
72
73 == Tables ==
74
75 You can create tables right into wiki pages:
76
77 === Table with headers in the top row ===
78
Mads Pedersen 7.9 79 {{container layoutStyle="columns"}}
80 ((((% style="width:893px" %)
81 |=(% style="text-align: right;" %) table header |=(% style="text-align: right;" %) table header |=(% style="width: 142px; text-align: right;" %) table header
82 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
83 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
84 )))
85 (((|= table header |= table header |= table header
86 |= table header | cell | cell
87 |= table header | cell | cell)))
88 {{/container}}
89
Mads Pedersen 7.8 90 (% style="width:893px" %)
91 |=(% style="text-align: right;" %) table header |=(% style="text-align: right;" %) table header |=(% style="width: 142px; text-align: right;" %) table header
92 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
93 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
Admin Hard 1.1 94
Mads Pedersen 7.8 95
96
Admin Hard 1.1 97 === Table with headers in the top row and left column ===
98
99 |= table header |= table header |= table header
100 |= table header | cell | cell
101 |= table header | cell | cell
102
103 == Links ==
104
105 XWiki allows you to create links to other pages in your wiki or on the web:
106
107 * [[WebHome]] -> links to the homepage of the current space
108 * [[Sandbox Home>>WebHome]] -> links can have labels
109 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
110 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
111 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
112
113 You can also create links to attachments:
114
115 attach:XWikiLogo.png
116
117 == Images ==
118
119 You can insert images in your wiki pages:
120
Mads Pedersen 5.2 121 [[image:XWikiLogo.png]]
Admin Hard 1.1 122
123 == Macros ==
124
Mads Pedersen 5.2 125 Macros allow you to make wiki content look better and to add additional features to your wiki. Here are 3 examples of how macros can be used in wiki pages:
Admin Hard 1.1 126
Mads Pedersen 5.2 127 === Wikibox Macro ===
128
Mads Pedersen 5.3 129 Custom made macro for creating a wikipedia like infobox. use /wikibox to create it.
Mads Pedersen 5.2 130
Mads Pedersen 7.7 131 {{wikibox caption="AR26 Blodstrupmoen" image="https://usercontent.one/wp/www.alignracing.no/wp-content/uploads/2025/05/blodstrupmoen-cutout-1-1.png" labelWidth="90" title="Wikibox Example" width="50"}}
Mads Pedersen 6.1 132 2025=Blodstrupmoen
133 2024=Desperados
134 2023=Soline
Mads Pedersen 7.1 135 Wikibox Example = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Mads Pedersen 6.1 136 {{/wikibox}}
Mads Pedersen 5.3 137
Admin Hard 1.1 138 === Warning Macro ===
139
140 This macro allows you to draw users' attention to a specific piece of information:
141
142 {{warning}}
143 Hello World
144 {{/warning}}
145
146 === Table of Contents ===
147
148 This macro automatically generates a table of contents of your wiki page based on headings:
149
150 {{toc/}}