Sandbox 的 Wiki 原始碼

Harvey 於 2025/02/23 06:27 最後修改

显示最后作者
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}}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.{{/info}}
4
5 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.
6
7 Here are a number of test pages you can play with:
8
9 * [[測試頁面 1>>Sandbox.TestPage1]]
10 * [[測試頁面 2>>Sandbox.TestPage2]]
11 * [[測試頁面 3>>Sandbox.TestPage3]]
12
13 以下是 [[XWiki 語法>>XWiki.XWikiSyntax]] 中的語法使用示範,you can use in wiki pages (headings, images, tables).
14
15 == 標題 ==
16
17 XWiki 提供六階層標題,你可以使用它們來組織你的頁面。
18
19 == 標題 2 ==
20
21 === 標題 3 ===
22
23 ==== 標題 4 ====
24
25 ===== 標題 5 =====
26
27 ====== 標題 6 ======
28
29 == Styles ==
30
31 Basic styles are supported in XWiki:
32
33 * **粗體字**
34 * //斜體字//
35 * __底線文字__
36 * --刪除線文字--
37 * 文字 ,,下標,,
38 * 文字 ^^上標^^
39
40 == 列表 ==
41
42 You can create various types of lists in your wiki pages:
43
44 === 符號列表 ===
45
46 * Level 1
47 ** Level 2
48 *** Level 3
49 ** Level 2
50 * Level 1
51
52 === Numbered list ===
53
54 1. Item
55 11. Subitem
56 111. Item
57 1. Subitem
58
59 === 混合的列表 ===
60
61 1. Item 1
62 11. Item 2
63 11*. Item 3
64 11*. Item 4
65 1. Item 5
66
67 == 表格 ==
68
69 You can create tables right into wiki pages:
70
71 === Table with headers in the top row ===
72
73 |= table header |= table header |= table header
74 | cell | cell | cell
75 | cell | cell | cell
76
77 === Table with headers in the top row and left column ===
78
79 |= table header |= table header |= table header
80 |= table header | cell | cell
81 |= table header | cell | cell
82
83 == 鏈結 ==
84
85 XWiki allows you to create links to other pages in your wiki or on the web:
86
87 * [[WebHome]] -> links to the homepage of the current space
88 * [[Sandbox Home>>WebHome]] -> links can have labels
89 * [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
90 * [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
91 * [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
92
93 == 圖片 ==
94
95 You can insert images in your wiki pages:
96
97 [[image:XWikiLogo.png]]
98
99 == 巨集 ==
100
101 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:
102
103 === 警告巨集 ===
104
105 This macro allows you to draw users’ attention to a specific piece of information:
106
107 {{warning}}Hello World{{/warning}}
108
109 === 目錄 ===
110
111 This macro automatically generates a table of contents of your wiki page based on headings:
112
113 {{toc/}}