Wiki source code of Sandbox

Version 3.3 by Mads Pedersen on 2026/01/20 13:57

Show last authors
1 {{html}}
2 <div class="infobox">
3 <table>
4 <caption>Lorem Ipsum</caption>
5 <tr>
6 <td colspan="2">
7 <img src="https://via.placeholder.com/260x160" style="width:100%;">
8 <div class="caption">Lorem ipsum dolor sit amet</div>
9 </td>
10 </tr>
11 <tr>
12 <th>Lorem</th>
13 <td>Ipsum dolor</td>
14 </tr>
15 <tr>
16 <th>Sit</th>
17 <td>Amet consectetur</td>
18 </tr>
19 <tr>
20 <th>Adipiscing</th>
21 <td>Elit sed do</td>
22 </tr>
23 <tr>
24 <th>Eiusmod</th>
25 <td>Tempor incididunt</td>
26 </tr>
27 </table>
28 </div>
29
30 <style>
31 .infobox {
32 float: right;
33 width: 280px;
34 margin: 0 0 1em 1em;
35 }
36
37 .infobox table {
38 width: 100%;
39 border: 1px solid #aaa;
40 border-collapse: collapse;
41 background: #f8f9fa;
42 font-size: 0.9em;
43 }
44
45 .infobox caption {
46 background: #e5e5e5;
47 font-weight: bold;
48 padding: 4px;
49 }
50
51 .infobox th, .infobox td {
52 border-top: 1px solid #aaa;
53 padding: 4px;
54 text-align: left;
55 }
56
57 .caption {
58 font-size: 0.85em;
59 color: #555;
60 text-align: center;
61 }
62 </style>
63 {{/html}}
64
65
66 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!
67
68 {{info}}
69 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.
70 {{/info}}
71
72 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.
73
74 Here are a number of test pages you can play with:
75
76 * [[Sandbox Test Page 1>>Sandbox.TestPage1]]
77 * [[Sandbox Test Page 2>>Sandbox.TestPage2]]
78 * [[Sandbox Test Page 3>>Sandbox.TestPage3]]
79
80 Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
81
82 testĀ Headings
83
84 XWiki offers 6 levels of headings. You can use them to structure your pages.
85
86 == Level 2 Heading ==
87
88 === Level 3 Heading ===
89
90 ==== Level 4 Heading 4 ====
91
92 ===== Level 5 Heading 5 =====
93
94 ====== Level 6 Heading 6 ======
95
96 {{info title="Accessibility recommendation"}}
97 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.
98 {{/info}}
99
100 == Styles ==
101
102 Basic styles are supported in XWiki:
103
104 * **Text in Bold**
105 * //Text in Italics//
106 * __Text in Underline__
107 * --Text in Strikethrough--
108 * Text in ,,subscript,,
109 * Text in ^^superscript^^
110
111 == / ==
112
113 == Lists ==
114
115 You can create various types of lists in your wiki pages:
116
117 === Unordered list ===
118
119 * Level 1
120 ** Level 2
121 *** Level 3
122 ** Level 2
123 * Level 1
124
125 === Numbered list ===
126
127 1. Item
128 11. Subitem
129 111. Item
130 1. Subitem
131
132 === Mixed list ===
133
134 1. Item 1
135 11. Item 2
136 11*. Item 3
137 11*. Item 4
138 1. Item 5
139
140 == Tables ==
141
142 You can create tables right into wiki pages:
143
144 === Table with headers in the top row ===
145
146 |= table header |= table header |= table header
147 | cell | cell | cell
148 | cell | cell | cell
149
150 === Table with headers in the top row and left column ===
151
152 |= table header |= table header |= table header
153 |= table header | cell | cell
154 |= table header | cell | cell
155
156 == Links ==
157
158 XWiki allows you to create links to other pages in your wiki or on the web:
159
160 * [[WebHome]] -> links to the homepage of the current space
161 * [[Sandbox Home>>WebHome]] -> links can have labels
162 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
163 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
164 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
165
166 You can also create links to attachments:
167
168 attach:XWikiLogo.png
169
170 == Images ==
171
172 You can insert images in your wiki pages:
173
174 [[image:XWikiLogo.png]]
175
176 == Macros ==
177
178 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:
179
180 === Warning Macro ===
181
182 This macro allows you to draw users' attention to a specific piece of information:
183
184 {{warning}}
185 Hello World
186 {{/warning}}
187
188 === Table of Contents ===
189
190 This macro automatically generates a table of contents of your wiki page based on headings:
191
192 {{toc/}}