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