Wiki source code of Sandbox

Version 7.8 by Mads Pedersen on 2026/01/21 14:49

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.8 79 (% style="width:893px" %)
80 |=(% style="text-align: right;" %) table header |=(% style="text-align: right;" %) table header |=(% style="width: 142px; text-align: right;" %) table header
81 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
82 |(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell
Admin Hard 1.1 83
Mads Pedersen 7.8 84
85
Admin Hard 1.1 86 === Table with headers in the top row and left column ===
87
88 |= table header |= table header |= table header
89 |= table header | cell | cell
90 |= table header | cell | cell
91
92 == Links ==
93
94 XWiki allows you to create links to other pages in your wiki or on the web:
95
96 * [[WebHome]] -> links to the homepage of the current space
97 * [[Sandbox Home>>WebHome]] -> links can have labels
98 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
99 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
100 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
101
102 You can also create links to attachments:
103
104 attach:XWikiLogo.png
105
106 == Images ==
107
108 You can insert images in your wiki pages:
109
Mads Pedersen 5.2 110 [[image:XWikiLogo.png]]
Admin Hard 1.1 111
112 == Macros ==
113
Mads Pedersen 5.2 114 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 115
Mads Pedersen 5.2 116 === Wikibox Macro ===
117
Mads Pedersen 5.3 118 Custom made macro for creating a wikipedia like infobox. use /wikibox to create it.
Mads Pedersen 5.2 119
Mads Pedersen 7.7 120 {{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 121 2025=Blodstrupmoen
122 2024=Desperados
123 2023=Soline
Mads Pedersen 7.1 124 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 125 {{/wikibox}}
Mads Pedersen 5.3 126
Admin Hard 1.1 127 === Warning Macro ===
128
129 This macro allows you to draw users' attention to a specific piece of information:
130
131 {{warning}}
132 Hello World
133 {{/warning}}
134
135 === Table of Contents ===
136
137 This macro automatically generates a table of contents of your wiki page based on headings:
138
139 {{toc/}}