Wiki source code of Sandbox

Version 6.2 by Matt Richards on 2024/11/12 08:39

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.2 66 {{code language="python"}}
Matt Richards 6.1 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
Matt Richards 6.2 106 == ==
107
Matt Richards 1.1 108 == Tables ==
109
110 You can create tables right into wiki pages:
111
112 === Table with headers in the top row ===
113
114 |= table header |= table header |= table header
115 | cell | cell | cell
116 | cell | cell | cell
117
118 === Table with headers in the top row and left column ===
119
120 |= table header |= table header |= table header
121 |= table header | cell | cell
122 |= table header | cell | cell
123
124 == Links ==
125
126 XWiki allows you to create links to other pages in your wiki or on the web:
127
128 * [[WebHome]] -> links to the homepage of the current space
129 * [[Sandbox Home>>WebHome]] -> links can have labels
130 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
131 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
132 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
133
134 You can also create links to attachments:
135
136 attach:XWikiLogo.png
137
138 == Images ==
139
140 You can insert images in your wiki pages:
141
Matt Richards 1.2 142 [[image:XWikiLogo.png]]
Matt Richards 1.1 143
144 == Macros ==
145
146 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:
147
148 === Warning Macro ===
149
150 This macro allows you to draw users' attention to a specific piece of information:
151
152 {{warning}}
153 Hello World
154 {{/warning}}
155
156 === Table of Contents ===
157
158 This macro automatically generates a table of contents of your wiki page based on headings:
159
160 {{toc/}}