语法参考
来自Ubuntu中文
This page tries to use each supported markup element at least once.
'''索引'''
索引
标题
标题 2
标题 3
标题 4
标题 5
字体样式
普通文本, ''斜体'', '''粗体''', <u>下划线</u>, <sub>下标</sub>, <sup>上标</sup>, `typewriter` and <code><nowiki>typewriter</code>. </nowiki>
普通文本, 斜体, 粗体, 下划线, 下标, 上标, `typewriter` and typewriter
.
语法加亮
#!python # python code print code.colorize("abc", 1 + 1)
笑脸
超级链接
内部
* MoinMoin * MoinMoin/TextFormatting * MoinMoin/InstallDocs * ../InstallDocs * /SubPage * Self:InterWiki
- MoinMoin
- MoinMoin/TextFormatting
- MoinMoin/InstallDocs
- ../InstallDocs
- /SubPage
- Self:InterWiki
[[anchorname Anchor Link]]
外部
* http://moinmoin.wikiwikiweb.de/ * [http://moinmoin.wikiwikiweb.de/] * [http://moinmoin.wikiwikiweb.de/ MoinMoin Wiki] * [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png] * http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png * [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png moinmoin.png] * MeatBall:InterWiki * [[UbuntuWiki:MeatBall/InterWiki]] * [[UbuntuWiki:MeatBall/InterWiki]] * [[UbuntuWiki:MeatBall/InterWiki|InterWiki page on MeatBall]] * [file://servername/full/path/to/file/filename%20with%20spaces.txt Click here to read filename with spaces.txt] * [email protected]
- http://moinmoin.wikiwikiweb.de/
- [1]
- MoinMoin Wiki
- [2]
- moinmoin.png
- MeatBall:InterWiki
- UbuntuWiki:MeatBall/InterWiki
- UbuntuWiki:MeatBall/InterWiki
- InterWiki page on MeatBall
- [file://servername/full/path/to/file/filename%20with%20spaces.txt Click here to read filename with spaces.txt]
- [email protected]
Escaping WikiNames
Wiki''''''Name Wiki``Name
Wiki'Name Wiki``Name
Blockquote
This is indented Even more
This is indented Even more
Bullet list
* item 1 * item 2, with gap * item 3 *** item 3.1
- item 1
- item 2, with gap
- item 3
- item 3.1
Numbered list
* item 1 i. item 1 i. item 2
- item 1
i. item 1 i. item 2
* item 2 a. item 1 a. item 2
- item 2
a. item 1 a. item 2
Descriptions + Definitions
Term:: Description Label:: Definition
Term:: Description Label:: Definition
Code display
line 1 indented 4 characters
表格
通用表格布局和HTML类选项
{|border="1" cellspacing="0" |||||<tablewidth="80%">'''Heading''' |- |cell 1||cell2||cell 3 |- |<rowspan=2> spanning rows|||| spanning 2 columns |- |cell2||cell 3 |}
<tablewidth="80%">Heading | ||
cell 1 | cell2 | cell 3 |
<rowspan=2> spanning rows | spanning 2 columns | |
cell2 | cell 3 |
Cell width
{|border="1" cellspacing="0" | narrow ||<:99%> wide |}
narrow | <:99%> wide |
Spanning rows and columns
{|border="1" cellspacing="0" |<|2> 2 rows || row 1 |- | row 2 |- |<-2> row 3 over 2 columns |}
2> 2 rows | row 1 |
row 2 | |
<-2> row 3 over 2 columns |
Alignment
{|border="1" cellspacing="0" |<(> left ||<^|3> top ||<v|3> bottom |- |<:> centered |- |<)> right |}
<(> left | 3> top | 3> bottom |
<:> centered | ||
<)> right |
Colors
{|border="1" cellspacing="0" |<#FF8080> red ||<#80FF80> green ||<#8080FF> blue |}
<#FF8080> red | <#80FF80> green | <#8080FF> blue |
CSV Tables
Data separated by semicolons (see raw text):
#!CSV -2 Col1;Col2;Col3;Col4 1;2;3;4 a;b;c;d
#!CSV -2 Col1;Col2;Col3;Col4 1;2;3;4 a;b;c;d
Data separated by commas (see raw text):
#!CSV , Col1,Col2,Col3,Col4 1,2,3,4 a,b,c,d
横线
--- (不是横线) ---- ----- ------ ------- -------- --------- ---------- -------------------------------------------- (线粗不超过10)
--- (不是横线)
(线粗不超过10)
宏
[[Anchor(anchorname)]] '''[[PageCount]]''' pages [[RandomPage]]