Help:速查表

来自 Arch Linux 中文维基
(重定向自Help:Cheatsheet

查看完整的编辑命令列表,参见 Help:编辑。想尝试编辑,使用沙盒

在文字中任何地方可以使用 (wikitext)
描述 输入 显示
斜体文字

''italic''

italic

粗体文字

'''bold'''

bold

粗斜体文字

'''''bold & italic'''''

bold & italic

链接到另一个 ArchWiki 页面

[[Name of page]]
[[Name of page|要显示的文字]]
[[Name of page#Section]]

要显示的文字
Name of page#Section

链接到同页面的段落

[[#Section]]

#Section

外部链接

[https://www.google.com/ Google search engine]

Google search engine

添加页面到分类中
分类应该放在页面的开始
[[Category:Category name]] 分类名称在页面预览或保存时会显示在页面下面的一个条形区域中。
签名

当在讨论页中张贴时签名。

在内容页面编辑时不要签名。 参见 mw:Help:Signatures.

~~~~

Username, 10:50, 19 3月 2024 (UTC)

在文字中任何地方可以使用 (HTML)
描述 输入 显示
删除线

<s>strikethrough</s>

strikethrough

下划线

<u>underline</u>

underline

下标和上标

正常<sub>下标</sub> <sup>上标</sup>

正常下标 上标

只有在行首可以使用
描述 输入 显示
代码

使用一个或多个空格开始代码行。警告,不会自动换行!

另见 Help:Style (简体中文)#代码格式.

 $ echo Hello World

$ echo Hello World
重定向到另一个页面
重定向必须放在第一行的行首。

#redirect [[Target page]]

Target page

章节标题

如果有4个或更多标题,目录会自动出现。

=Level 1= 不应该使用。

另见 Effective Use of Headers.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
水平线

----


项目符号列表

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
编号列表

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
定义列表

; Term one: Definition one
; Term two: Definition two

Term one
Definition one
Term two
Definition two
缩进文本
这通常用在讨论页中回复时使用,保证会话容易浏览。

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent
模板
描述 输入 显示
行内代码

{{ic|code}}

code

Character escape

{{ic|1=echo =}}

echo =

Block code
{{bc|
block
code
}}
block
code
Block code with header
{{hc|header|
block
}}
header
block
Note

{{Note|This text should be noted.}}

注意: This text should be noted.
Warning

{{Warning|This text should be heeded.}}

警告: This text should be heeded.
Man page

{{man|7|ascii}}

ascii(7)

软件包

{{Pkg|linux}}

linux

AUR 软件包

{{AUR|linux-git}}

linux-gitAUR