Wiki source code of Sandbox

Version 5.1 by Matt Richards on 2024/11/11 11:15

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