Help:Linking to files/zh

First learn
Before you can link to files, you first need to know the basics of:

Not the same as embedding
This help page is about linking to files. Don't confuse that with embedding an image file in on a page. Although they're both ways of using files, they're not the same.

Embedding an image file for example, might be having a person's picture appear alongside the text on a page about that person. 关于如何嵌入图像，参见.

Why link?
In some situation, you don't want the file to be embedded in another page. 你想在页面上创建一个到某特定文件的描述页面的链接. 或者你可能想链接到文件本身.

这儿有一些你可能不想将文件嵌入而只想创建链接的例子：


 * 文件不是可嵌入页面的类型（比如，一张电子表格——假设维基允许上传这种类型的文件）.
 * 文件是图像，但是太大以至于只在他本身的页面管用（比如细节地图）.
 * 你想指导读者哪里能下载或替换文件.

链接到文件描述页面
你可以创建一个到文件描述页面的链接，只需在 前面加上半角冒号（ ）：

注意如果你忘记开头的冒号的话，你将嵌入图片.

链接到文件本身
使用伪名字空间   将链接到文件本身. 链接将不会将你带到文件描述页面，而是直接到文件本身.

(If the above pattern actually produces a text link to the file description page, instead of the expected link to the actual file, it may be that your wiki's namespaces are configured out of compliance with this feature.)