|
|
(未显示1个用户的9个中间版本) |
第14行: |
第14行: |
| |- | | |- |
| | 删除线 || <nowiki><s>内容</s></nowiki> || <s>内容</s> | | | 删除线 || <nowiki><s>内容</s></nowiki> || <s>内容</s> |
| | |- |
| | | 下划线 || <nowiki><u>内容</u></nowiki> || <u>内容</u> |
| |- | | |- |
| | 注脚 || <nowiki><ref>内容</ref></nowiki> || 略 | | | 注脚 || <nowiki><ref>内容</ref></nowiki> || 略 |
第20行: |
第22行: |
| |- | | |- |
| | 水平分割线 || <nowiki>----</nowiki> || 略 | | | 水平分割线 || <nowiki>----</nowiki> || 略 |
| | |- |
| | | 二级标题 || <nowiki>== 标题 ==</nowiki> || 略 |
| | |- |
| | | 三级标题 || <nowiki>=== 标题 ===</nowiki> || 略 |
| | |- |
| | | 四级标题 || <nowiki>==== 标题 ====</nowiki> || 略 |
| | |- |
| | | 五级标题 || <nowiki>===== 标题 =====</nowiki> || 略 |
| |} | | |} |
| | | ---- |
| {| class="wikitable" | | {| class="wikitable" |
| !colspan="3"| 基本的WikiText链接语法 | | !colspan="3"| 基本的WikiText链接语法 |
第40行: |
第50行: |
| |} | | |} |
| ---- | | ---- |
| ==
| | {| class="wikitable" |
| 对于有序列表请使用<nowiki>#</nowiki>
| | !colspan="3"| 基本WikiText列表语法 |
| 对于无序列表请使用<nowiki>*</nowiki>
| |
| <!--T:3-->
| |
| <tvar name=mw>{{ll|MediaWiki}}</tvar> offers three types of lists: '''ordered lists''', '''unordered lists''', and '''description''' or '''definition''' lists. In the following sections, ordered lists are used for examples. Unordered lists would give corresponding results.
| |
| </translate>
| |
| | |
| {|class="wikitable" | |
| ! <translate><!--T:4--> Wikitext</translate> !! <translate><!--T:5--> Rendering</translate> | |
| |- <ins>Sandbox</ins>
| |
| |<pre><translate nowrap>
| |
| <!--T:6-->
| |
| * Lists are easy to do:
| |
| ** start every line
| |
| * with a star
| |
| ** more stars mean
| |
| *** deeper levels</translate></pre>
| |
| ||
| |
| <translate>
| |
| <!--T:7-->
| |
| * Lists are easy to do:
| |
| ** start every line
| |
| * with a star
| |
| ** more stars mean
| |
| *** deeper levels</translate>
| |
| |- | | |- |
| |<pre><translate nowrap>
| | ! 说明 !! 内容 !! 示例 |
| <!--T:8-->
| |
| * A newline
| |
| * in a list
| |
| marks the end of the list.
| |
| Of course
| |
| * you can
| |
| * start again.</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:9-->
| |
| * A newline
| |
| * in a list
| |
| marks the end of the list.
| |
| Of course
| |
| * you can
| |
| * start again.</translate>
| |
| |- | | |- |
| |<pre><translate nowrap> | | | 有序列表 |
| <!--T:10--> | | || |
| # Numbered lists are good | | <nowiki> |
| ## very organized
| | # 第一个内容 |
| ## easy to follow</translate></pre>
| | </nowiki> |
| |
| | <br> |
| <translate> | | <nowiki> |
| <!--T:11--> | | # 第二个内容 |
| # Numbered lists are good
| | </nowiki> |
| ## very organized | | || |
| ## easy to follow</translate> | | # 第一个内容 |
| | # 第二个内容 |
| |- | | |- |
| |<pre><translate nowrap> | | | 无序列表 |
| <!--T:12-->
| | || |
| * You can also
| | <nowiki> |
| ** break lines
| | * 第一个内容 |
| ** like this</translate></pre>
| | </nowiki> |
| | | | <br> |
| <translate> | | <nowiki> |
| <!--T:13-->
| | * 第二个内容 |
| * You can also | | </nowiki> |
| **break lines
| | || |
| **like this</translate>
| | * 第一个内容 |
| |-
| | * 第二个内容 |
| |<pre><translate nowrap>
| | |} |
| <!--T:14--> | |
| ; Description or definition lists
| |
| ; item : definition
| |
| ; semicolon plus term
| |
| : colon plus definition</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:15-->
| |
| ; Definition lists
| |
| ; item : definition
| |
| ; semicolon plus term
| |
| : colon plus definition</translate>
| |
| |-
| |
| |<pre><translate nowrap>
| |
| <!--T:16-->
| |
| ; Mixed definition lists
| |
| ; item 1 : definition
| |
| :; sub-item 1 plus term
| |
| :: two colons plus definition
| |
| :; sub-item 2 : colon plus definition
| |
| ; item 2
| |
| : back to the main list</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:17-->
| |
| ; Mixed definition lists
| |
| ; item 1 : definition
| |
| :; sub-item 1 plus term
| |
| :: two colons plus definition
| |
| :; sub-item 2 : colon plus definition
| |
| ; item 2
| |
| : back to the main list</translate>
| |
| |- | |
| |<pre><translate nowrap> | |
| <!--T:18-->
| |
| * Or create mixed lists | |
| *# and nest them | |
| *#* like this
| |
| *#*; definitions
| |
| *#*: work:
| |
| *#*; apple
| |
| *#*; banana
| |
| *#*: fruits</translate></pre>
| |
| | | |
| <translate>
| |
| <!--T:19-->
| |
| * Or create mixed lists
| |
| *# and nest them
| |
| *#* like this
| |
| *#*; definitions
| |
| *#*: work:
| |
| *#*; apple
| |
| *#*; banana
| |
| *#*: fruits</translate>
| |
| |}{{-}}
| |
| 例如
| |
| <nowiki># 123</nowiki>
| |