Wiki source code of Sandbox

Version 7.1 by Matt Richards on 2024/11/12 08:44

Show last authors
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
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
23 yuiyiyuyiy
24
25 gg
26
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
56 (% class="wikigeneratedid" %)
57 (((
58
59 )))
60
61 (% class="wikigeneratedid" %)
62 (((
63
64 )))
65
66 {{code language="python"}}
67 from this in that
68 interface vlan 266
69 ip igmp enable
70 ip igmp version 2
71 interface vlan 964
72 ip address 172.21.14.210/24
73 snmp-server vrf default                                        
74 snmp-server vrf mgmt
75 {{/code}}
76
77 == ==
78
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 == {{code language="python"}}from this in that
107 sub {
108 bla();
109 }{{/code}} ==
110
111 == Tables ==
112
113 You can create tables right into wiki pages:
114
115 === Table with headers in the top row ===
116
117 |= table header |= table header |= table header
118 | cell | cell | cell
119 | cell | cell | cell
120
121 === Table with headers in the top row and left column ===
122
123 |= table header |= table header |= table header
124 |= table header | cell | cell
125 |= table header | cell | cell
126
127 == Links ==
128
129 XWiki allows you to create links to other pages in your wiki or on the web:
130
131 * [[WebHome]] -> links to the homepage of the current space
132 * [[Sandbox Home>>WebHome]] -> links can have labels
133 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
134 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
135 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
136
137 You can also create links to attachments:
138
139 attach:XWikiLogo.png
140
141 == Images ==
142
143 You can insert images in your wiki pages:
144
145 [[image:XWikiLogo.png]]
146
147 == Macros ==
148
149 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:
150
151 === Warning Macro ===
152
153 This macro allows you to draw users' attention to a specific piece of information:
154
155 {{warning}}
156 Hello World
157 {{/warning}}
158
159 === Table of Contents ===
160
161 This macro automatically generates a table of contents of your wiki page based on headings:
162
163 {{toc/}}