Wiki source code of Sandbox

Version 12.1 by Jip-jan Alunkel on abril 26, 14:12

Show last authors
1
2 {{velocity}}
3 #set ($d = $xwiki.getDocument("myPage"))
4 $d.documentReference
5 {{/velocity}}
6
7
8 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!
9
10 {{info}}
11 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.
12 {{/info}}
13
14 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.
15
16 Here are a number of test pages you can play with:
17
18 * [[Sandbox Test Page 1>>Sandbox.TestPage1]]
19 * [[Sandbox Test Page 2>>Sandbox.TestPage2]]
20 * [[Sandbox Test Page 3>>Sandbox.TestPage3]]
21
22 Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
23
24 = Headings =
25
26 XWiki offers 6 levels of headings. You can use them to structure your pages.
27
28 == Level 2 Heading ==
29
30 === Level 3 Heading ===
31
32 ==== Level 4 Heading 4 ====
33
34 ===== Level 5 Heading 5 =====
35
36 ====== Level 6 Heading 6 ======
37
38 = Styles =
39
40 Basic styles are supported in XWiki:
41
42 * **Text in Bold**
43 * //Text in Italics//
44 * __Text in Underline__
45 * --Text in Strikethrough--
46 * Text in ,,subscript,,
47 * Text in ^^superscript^^
48
49 = Lists =
50
51 You can create various types of lists in your wiki pages:
52
53 == Unordered list ==
54
55 * Level 1
56 ** Level 2
57 *** Level 3
58 ** Level 2
59 * Level 1
60
61 == Numbered list ==
62
63 1. Item
64 11. Subitem
65 111. Item
66 1. Subitem
67
68 == Mixed list ==
69
70 1. Item 1
71 11. Item 2
72 11*. Item 3
73 11*. Item 4
74 1. Item 5
75
76 = Tables =
77
78 You can create tables right into wiki pages:
79
80 == Table with headers in the top row ==
81
82 |= table header |= table header |= table header
83 | cell | cell | cell
84 | cell | cell | cell
85
86 == Table with headers in the top row and left column ==
87
88 |= table header |= table header |= table header
89 |= table header | cell | cell
90 |= table header | cell | cell
91
92 = Links =
93
94 XWiki allows you to create links to other pages in your wiki or on the web:
95
96 * [[WebHome]] -> links to the homepage of the current space
97 * [[Sandbox Home>>WebHome]] -> links can have labels
98 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
99 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
100 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
101
102 You can also create links to attachments:
103
104 attach:XWikiLogo.png
105
106 = Images =
107
108 You can insert images in your wiki pages:
109
110 image:XWikiLogo.png
111
112 = Macros =
113
114 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:
115
116 == Warning Macro ==
117
118 This macro allows you to draw users' attention to a specific piece of information:
119
120 {{warning}}
121 Hello World
122 {{/warning}}
123
124 == Table of Contents ==
125
126 This macro automatically generates a table of contents of your wiki page based on headings:
127
128 {{toc/}}