|
|
第44行: |
第44行: |
| 对于无序列表请使用<nowiki>*</nowiki> | | 对于无序列表请使用<nowiki>*</nowiki> |
|
| |
|
| {|class="wikitable" | | {| class="wikitable" |
| ! <translate><!--T:4--> Wikitext</translate> !! <translate><!--T:5--> Rendering</translate> | | !colspan="3"| 基本WikiText列表语法 |
| |- <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> | | | 有序列表 || <nowiki># 123 |
| <!--T:10-->
| | |
| # Numbered lists are good | | # 456</nowiki> || # 123 |
| ## very organized
| | |
| ## easy to follow</translate></pre> | | # 456 |
| | | |
| <translate>
| |
| <!--T:11-->
| |
| # Numbered lists are good | |
| ## very organized
| |
| ## easy to follow</translate> | |
| |- | | |- |
| |<pre><translate nowrap> | | | 示例 || 示例 || 示例 |
| <!--T:12-->
| |
| * You can also
| |
| ** break lines
| |
| ** like this</translate></pre>
| |
| | | |
| <translate>
| |
| <!--T:13-->
| |
| * You can also
| |
| **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>
| |