Loading…
potatoone
Marked for edit |
|
potatoone
Contributor joined |
Contributor joined
a month ago
|
None
String updated in the repository |
|
English | Chinese (Simplified) (zh) | ||
---|---|---|---|
Content | 内容 | XWiki Platform | |
page | 页面 | XWiki Platform | |
title | 标题 | XWiki Platform | |
wiki | 维基 | XWiki Platform | |
XWiki | XWiki Platform |
{{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}}
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.
Here are a number of test pages you can play with:
* [[Sandbox Test Page 1>>Sandbox.TestPage1]]
* [[Sandbox Test Page 2>>Sandbox.TestPage2]]
* [[Sandbox Test Page 3>>Sandbox.TestPage3]]
Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
== Headings ==
XWiki offers 6 levels of headings. You can use them to structure your pages.
== Level 2 Heading ==
=== Level 3 Heading ===
==== Level 4 Heading 4 ====
===== Level 5 Heading 5 =====
====== Level 6 Heading 6 ======
{{info title="Accessibility recommendation"}}
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.
{{/info}}
== Styles ==
Basic styles are supported in XWiki:
* **Text in Bold**
* //Text in Italics//
* __Text in Underline__
* --Text in Strikethrough--
* Text in ,,subscript,,
* Text in ^^superscript^^
== Lists ==
You can create various types of lists in your wiki pages:
=== Unordered list ===
* Level 1
** Level 2
*** Level 3
** Level 2
* Level 1
=== Numbered list ===
1. Item
11. Subitem
111. Item
1. Subitem
=== Mixed list ===
1. Item 1
11. Item 2
11*. Item 3
11*. Item 4
1. Item 5
== Tables ==
You can create tables right into wiki pages:
=== Table with headers in the top row ===
|= table header |= table header |= table header
| cell | cell | cell
| cell | cell | cell
=== Table with headers in the top row and left column ===
|= table header |= table header |= table header
|= table header | cell | cell
|= table header | cell | cell
== Links ==
XWiki allows you to create links to other pages in your wiki or on the web:
* [[WebHome]] -> links to the homepage of the current space
* [[Sandbox Home>>WebHome]] -> links can have labels
* [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
* [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
* [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
You can also create links to attachments:
attach:XWikiLogo.png
== Images ==
You can insert images in your wiki pages:
image:XWikiLogo.png
== Macros ==
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:
=== Warning Macro ===
This macro allows you to draw users' attention to a specific piece of information:
{{warning}}
Hello World
{{/warning}}
=== Table of Contents ===
This macro automatically generates a table of contents of your wiki page based on headings:
{{toc/}}
{{info}}请不用担心您的修改会覆盖或者删除页面的原有内容,您总可以通过页面底部的”历史“标签页回滚到该页面的最初版本。{{/info}}
如果您想查看当前页面的[[XWiki语法格式>>XWiki.XWikiSyntax]],请选择”查看“菜单中的”Wiki代码“或者在编辑页面时选择”源代码“标签页。
下面是一系列你可以用来测试的页面:
* [[沙箱测试页面1>>Sandbox.TestPage1]]
* [[沙箱测试页面2>>Sandbox.TestPage2]]
* [[沙箱测试页面3>>Sandbox.TestPage3]]
下面是[[XWiki语法>>XWiki.XWikiSyntax]]的一个基本说明,你可以在wiki页面中使用这些语法(比如:标题,图片,表格)。
== 标题 ==
XWiki提供了6级标题。您可以用它们来组织您的页面。
== 2级标题 ==
=== 3级标题 ===
==== 4级标题 ====
===== 5级标题 =====
====== 6级标题 ======
== 样式 ==
XWiki支持的基本样式:
* **粗体**
* //斜体//
* __下划线__
* --中划线/删除线--
* ,,下标,,
* ^^上标^^
== 列表 ==
您可以在您的wiki页面中创建不同类型的列表:
=== 无序列表 ===
* 1级列表项
** 2级列表项
*** 3级列表项
** 2级列表项
* 1级列表项
=== 数字排序列表 ===
1. 1级列表项
11. 2级列表项
111. 3级列表项
1. 1级列表项
=== 混合列表 ===
1. 列表项1
11. 列表项2
11*. 列表项3
11*. 列表项4
1. 列表项5
== 表格 ==
你可以直接在wiki页面中创建表格:
=== 首行为表头的表格 ===
|= 表头 |= 表头 |= 表头
| 表格单元 | 表格单元 | 表格单元
| 表格单元 | 表格单元 | 表格单元
=== 首行首列为表头的表格 ===
|= 表头 |= 表头 |= 表头
|= 表头 | 表格单元 | 表格单元
|= 表头 | 表格单元 | 表格单元
== 链接 ==
XWiki允许您创建连接到wiki中其他页面或者互联网页面的链接:
* [[WebHome]] -> 连接到当前wiki空间的首页;
* [[沙箱首页>>WebHome]] -> 链接可以有自己的标题,这里使用了”沙箱首页“;
* [[Wiki Home>>Main.WebHome]] -> 使用”空间名称.页面名称“的格式可以连接到同一wiki其他空间的指定页面;
* [[http://www.xwiki.org]] -> 您还可以直接连接到外部web网站;
* [[XWiki.org网站>>http://www.xwiki.org]] -> 当然,也可以给外部链接加上自己的标题。
== 图片==
您可以在您的wiki页面中插入图片:
[[image:XWikiLogo.png]]
== 宏 ==
宏使您可以使Wiki内容看起来更好,并为Wiki添加其他功能。以下是两个如何在Wiki页面中使用宏的示例:
=== 告警宏 ===
该宏可以赋予一段文字以特别的格式来引起用户和读者的注意:
{{warning}}世界,您好!{{/warning}}
=== 目录列表宏 ===
该宏能够根据wiki页面中的标题自动生成页面目录列表:
{{toc/}}