无编辑摘要 |
无编辑摘要 |
||
第18行: | 第18行: | ||
|- | |- | ||
| 显示所有注脚 || <nowiki><references/></nowiki> || 略 | | 显示所有注脚 || <nowiki><references/></nowiki> || 略 | ||
|- | |||
| 水平分割线 || <nowiki>----</nowiki> || 略 | |||
|} | |} | ||
第37行: | 第39行: | ||
| 引用分类链接 || <nowiki>[[:分类:SCP]]</nowiki> || [[:分类:SCP]] | | 引用分类链接 || <nowiki>[[:分类:SCP]]</nowiki> || [[:分类:SCP]] | ||
|} | |} | ||
---- | |||
== | |||
对于有序列表请使用<nowiki>#</nowiki> | |||
对于无序列表请使用<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 | |||
## very organized | |||
## easy to follow</translate></pre> | |||
| | |||
<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> |
2022年2月24日 (四) 13:10的版本
基本WikiText语法 | ||
---|---|---|
说明 | 内容 | 示例 |
粗体 | '''内容''' | 内容 |
斜体 | ''内容'' | 内容 |
粗斜体 | '''''内容''''' | 内容 |
段落 | 回车两次 | 略 |
删除线 | <s>内容</s> | |
注脚 | <ref>内容</ref> | 略 |
显示所有注脚 | <references/> | 略 |
水平分割线 | ---- | 略 |
基本的WikiText链接语法 | ||
---|---|---|
说明 | 内容 | 示例 |
本站内文字链接/内链/内部链接 | [[约数]] | 约数 |
本站外文字链接/外链/外部链接 | [https://www.baidu.com] | [1] |
本站外文字链接(显示替换文字与目标页面的页面标题不同) | [https://www.baidu.com 百度百科] | 百度百科 |
页面内 段落标题 | [[约数#实现]] | 约数#实现 |
分类链接 | [[分类:SCP]] | 略 |
引用分类链接 | [[:分类:SCP]] | 分类:SCP |
== 对于有序列表请使用# 对于无序列表请使用* <tvar name=mw>模板:Ll</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>
<translate> Wikitext</translate> | <translate> Rendering</translate> |
---|---|
<translate nowrap> <!--T:6--> * Lists are easy to do: ** start every line * with a star ** more stars mean *** deeper levels</translate> |
<translate>
|
<translate nowrap> <!--T:8--> * A newline * in a list marks the end of the list. Of course * you can * start again.</translate> |
<translate>
marks the end of the list. Of course
|
<translate nowrap> <!--T:10--> # Numbered lists are good ## very organized ## easy to follow</translate> |
<translate>
|
<translate nowrap> <!--T:12--> * You can also ** break lines ** like this</translate> |
<translate>
|
<translate nowrap> <!--T:14--> ; Description or definition lists ; item : definition ; semicolon plus term : colon plus definition</translate> |
<translate>
|
<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> |
<translate>
|
<translate nowrap> <!--T:18--> * Or create mixed lists *# and nest them *#* like this *#*; definitions *#*: work: *#*; apple *#*; banana *#*: fruits</translate> |
<translate>
|
例如 # 123