Wiki source code of Sandbox
Last modified by superadmin on 2023/10/06 17:56
Hide last authors
author | version | line-number | content |
---|---|---|---|
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 | |||
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 tables right into wiki pages: | ||
72 | |||
73 | == Table with headers in the top row == | ||
74 | |||
75 | |= table header |= table header |= table header | ||
76 | | cell | cell | cell | ||
77 | | cell | cell | cell | ||
78 | |||
79 | == Table with headers in the top row and left column == | ||
80 | |||
81 | |= table header |= table header |= table header | ||
82 | |= table header | cell | cell | ||
83 | |= table header | cell | cell | ||
84 | |||
85 | = Links = | ||
86 | |||
87 | XWiki allows you to create links to other pages in your wiki or on the web: | ||
88 | |||
89 | * [[WebHome]] -> links to the homepage of the current space | ||
90 | * [[Sandbox Home>>WebHome]] -> links can have labels | ||
91 | * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space | ||
92 | * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites | ||
93 | * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too | ||
94 | |||
95 | You can also create links to attachments: | ||
96 | |||
97 | attach:XWikiLogo.png | ||
98 | |||
99 | = Images = | ||
100 | |||
101 | You can insert images in your wiki pages: | ||
102 | |||
103 | image:XWikiLogo.png | ||
104 | |||
105 | = Macros = | ||
106 | |||
107 | 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: | ||
108 | |||
109 | == Warning Macro == | ||
110 | |||
111 | This macro allows you to draw users' attention to a specific piece of information: | ||
112 | |||
113 | {{warning}} | ||
114 | Hello World | ||
115 | {{/warning}} | ||
116 | |||
117 | == Table of Contents == | ||
118 | |||
119 | This macro automatically generates a table of contents of your wiki page based on headings: | ||
120 | |||
121 | {{toc/}} |