Wikipedia:格式手册 (链接)
维基百科,自由的百科全书
维基百科格式指导 |
---|
格式手册 |
增补格式手册 |
特殊頁面指導 |
其他指导 |
如何编辑页面 |
技術指導 |
目录 |
[编辑] 內部链接
链接至其他條目的用法,譬如[[藝術]]
,是值得支持的。所有與條目相關的字詞都應設置链接。
內部链接的目的,是要讓讀者容易、方便地追隨求知欲,或對其他條目的探究。這些链接都應該設置,因為有助讀者在別處追隨下去──舉例,條目介紹、新段落開首、表格、和圖像說明,一般而言,在讀者很有可能會想閱讀到其他主題的地方,讀者理應不需再特意找尋有關其他主題的链接。
另一方面,不要設置太多链接。假如符合下列任何一項條件, 該篇文章便可能被視為設置太多链接:
- 超過10%的文字被加上链接;
- 條目內链接數比行數還多;
- 同一條目內重覆链接(如果是重要的链接,儘管前文已有,後文也可重覆設置);
- 超過10%的链接指向不存在的條目;或
- 無緣無故的為低價值的項目加上链接,例如1995年、1980年代、20世紀。
This also applies to tables, considered by themselves.
As a general rule, do not put links in the title; however, this may be acceptable with complex titles or verbose leads, such as those concerning multiple concepts.
[编辑] Form
Links that follow the Wikipedia naming conventions are much more likely to lead to existing articles. When there is not yet an article about that subject, good links will make the creation of a correctly named article much easier for later writers.
It is possible to link words that are not exactly the same as the linked article title — for example, [[English language|English]]
. However, make sure that it is still clear what the link refers to without having to follow the link.
When forming plurals, do so thus: [[language]]s
. This is clearer to read in wiki form than [[language|languages]]
— and easier to type. This syntax is also applicable to adjective constructs such as [[Asia]]n
, as well as hyphenated phrases and the like.
[编辑] 上下文
正如万维网联盟上介绍:“不要说‘请点击’;不是每个人都愿意去点击的”。您应做的,是在文章内存在的词语或短语上建立链接。
在您编辑时,请用预览检查一下您设的链接,然后试着用一个新网页窗口打开它。如果那个条目不存在,请用搜索试试条目否真的是不存在,因为你想去的条目有可能是以别的词语命名的,或者它是另外某个条目中的一部分。
链接应设在与上下文所述内容最明确相关的词汇上,甚至在此词汇只不过是个链接到别的条目的重定向时,还应如此。Don't use a piped link to avoid otherwise legitimate redirect targets that fit well within the scope of the text. This assists in determining when a significant number of references to redirected links warrant more detailed articles. For example, link to "Rome, Italy" rather than "[[Rome, Italy|Rome]], [[Italy]]", and "V8 engine" rather than "V8 engine".
Automated processes should not replace or pipe links to redirects. Instead, the link should always be examined in context. (For more information, see Wikipedia:Disambiguation, Wikipedia:Redirect#Don't fix redirects that aren't broken, and Wikipedia:Redirects with possibilities.)
[编辑] 數據與數字
如果日期包括年、月、日── [[2004年]][[3月25日]]
,或月、日──[[2月10日]]
,a link will permit the date preferences of the reader to operate.年、月、日 must all be linked for the preference to work correctly.
按年代順序排列的項目,如簡單的年份(譬如,1981年)應看待成普通文字,只有特別相關的項目才需加上連結。
[编辑] 大寫
目前还没有规则要求哪儿必须大写或者必须小写,如“Train”和“train”都可以连接到“列车”(超级链接也是如此),但如果是在几个不同连接而相同拼写的情形下,请拼写得与真正要链接的那条完全相同。
[编辑] 外部链接
Wikipedia is not a link collection and an article with only links is actively discouraged.
See also Wikipedia:External links.
[编辑] 语法
The syntax for referencing a URL is simple. Just enclose it in single brackets:
[URL link title after space]
The URL must begin with http://
or another common protocol, such as ftp://
or news://
.
In addition, putting URLs in plain text with no markup automatically produces a link, for example http://en.wikipedia.org/. However, this feature may disappear in a future release. Therefore, in cases where you wish to display the URL because it is intrinsically valuable information, it is better to use the short form of the URL (host name) as the optional text: [http://en.wikipedia.org/ en.wikipedia.org]
produces en.wikipedia.org.
[编辑] 链接头衔
You should always add a title to an external link by supplying descriptive text after the URL separated by a space and enclosing it all in square brackets. For example, to add a title to a bare URL such as http://en.wikipedia.org/
(this is rendered as "http://en.wikipedia.org/"), use the following syntax: [http://en.wikipedia.org/ an open-content encyclopedia]
(this is rendered as "an open-content encyclopedia").
Generally, URLs are ugly and uninformative; it is better for a meaningful title to be displayed rather than the URL itself. For example, "European Space Agency website" is much more reader-friendly than "http://www.esa.int/export/esaCP/index.html". There may be exceptions where the url is well known or is the company name. In this case, putting both the url and a valid title will be more informative, for example, "European Space Agency website, www.esa.int".
If the URL is displayed, make it as simple as possible; for example, if the index.html is superfluous, remove it (but be sure to check in preview mode first).
The "printable version" of a page displays all URLs in full, including those given a title, so no information is lost.
[编辑] URLs是数字化的链接
Without the optional text, external references appear as automatically numbered links: For example,
[http://en.wikipedia.org/]
is displayed like this:
Such links have a number of problems
- it is impossible to guess what might be linked without following it.
- it is impossible to tell if the material behind is different from that originally linked.
- there is no way to tell, just by looking, when two links go to the same place.
Such links should be converted to have a link text, or better to full web references as described in Cite your sources including information such as the last modification date and author.
[编辑] 在文章中的位置
In most cases, it is preferable to group external links together at the bottom of the article in bullet point format under the heading:
==External links==
*[http://
*[http://
As with other top-level headers, two equal signs should be used to markup the external links header (see Headings elsewhere in the article).
It is also possible to include an inline URL reference within the body of an article. For example:
One good example of a cooperative online community is the [http://en.wikipedia.org/ Wikipedia, an open-content encyclopedia].
is displayed like this:
- One good example of a cooperative online community is the Wikipedia, an open-content encyclopedia.
This is discouraged in most situations.
If an article has used information from an external webpage or it is to be indicated that more information regarding the article will be available, such as statistics, picture gallery, essays on a website, then such links should be part of the "External links" section at the bottom of the article. If the external reference to be cited pertains to only a paragraph or a line in the article, then the use of inline external links as footnotes serves as a proper citation. Footnote links can be used throughout the article; they are replaced by numbers in increasing order starting from 1.
[编辑] 外语页面
这里是中文维基,连接到中文条目最佳。连接到其他语言在少数情况下也有用于读者:
- 如连接到地图,diagrams, 照片, tables; explain the key terms with the link, so that people who do not know the language can still interpret them
- for example, if the subject of the article is a Spanish-language newspaper
外语连接应注明语言,如下:
[编辑] 文件类型
If the link is not to an HTML file, identify the file type. If a browser plugin is required to view to the file, mention that as well.
[编辑] 文件大小
如發覺該連結涉及一些容量很大的檔案(比如一個包含大量圖像的網頁檔案),建議在連接之後寫上備註提醒,以免一些電腦速度慢的使用者面臨當機的困擾。