Wiki source code of Sandbox

Version 6.1 by Matt Richards on 2024/11/11 11:21

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
Matt Richards 4.1 56 (% class="wikigeneratedid" %)
Matt Richards 5.1 57 (((
Matt Richards 6.1 58
Matt Richards 5.1 59 )))
60
61 (% class="wikigeneratedid" %)
62 (((
63
64 )))
65
Matt Richards 6.1 66 {{code language=python}}
67 from this in that
Matt Richards 5.1 68 interface vlan 266
69 ip igmp enable
70 ip igmp version 2
Matt Richards 4.1 71 interface vlan 964
Matt Richards 5.1 72 ip address 172.21.14.210/24
73 snmp-server vrf default                                        
Matt Richards 4.1 74 snmp-server vrf mgmt
Matt Richards 6.1 75 {{/code}}
Matt Richards 4.1 76
77 == ==
78
Matt Richards 1.1 79 == Lists ==
80
81 You can create various types of lists in your wiki pages:
82
83 === Unordered list ===
84
85 * Level 1
86 ** Level 2
87 *** Level 3
88 ** Level 2
89 * Level 1
90
91 === Numbered list ===
92
93 1. Item
94 11. Subitem
95 111. Item
96 1. Subitem
97
98 === Mixed list ===
99
100 1. Item 1
101 11. Item 2
102 11*. Item 3
103 11*. Item 4
104 1. Item 5
105
106 == Tables ==
107
108 You can create tables right into wiki pages:
109
110 === Table with headers in the top row ===
111
112 |= table header |= table header |= table header
113 | cell | cell | cell
114 | cell | cell | cell
115
116 === Table with headers in the top row and left column ===
117
118 |= table header |= table header |= table header
119 |= table header | cell | cell
120 |= table header | cell | cell
121
122 == Links ==
123
124 XWiki allows you to create links to other pages in your wiki or on the web:
125
126 * [[WebHome]] -> links to the homepage of the current space
127 * [[Sandbox Home>>WebHome]] -> links can have labels
128 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
129 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
130 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
131
132 You can also create links to attachments:
133
134 attach:XWikiLogo.png
135
136 == Images ==
137
138 You can insert images in your wiki pages:
139
Matt Richards 1.2 140 [[image:XWikiLogo.png]]
Matt Richards 1.1 141
142 == Macros ==
143
144 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:
145
146 === Warning Macro ===
147
148 This macro allows you to draw users' attention to a specific piece of information:
149
150 {{warning}}
151 Hello World
152 {{/warning}}
153
154 === Table of Contents ===
155
156 This macro automatically generates a table of contents of your wiki page based on headings:
157
158 {{toc/}}