Gamepedia帮助Wiki:教程/链接

来自Gamepedia帮助Wiki
< Gamepedia帮助Wiki:教程
Donnerkiesel讨论 | 贡献2021年1月2日 (六) 16:00的版本 (interwiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

This article or section needs to be translated. You can help Gamepedia帮助Wiki by translating it. For more pages that require translation, see the category.


Linking Gamepedia articles together is very important. These easily created links allow users to jump to information related to the article they are reading, greatly adding to Gamepedia's usefulness.

如何使用[编辑源代码]

在一个页面添加另一个页面的链接(称为“ Wiki链接”),需将要链接的页面名称放在两对方括号中,如下所示:

[[Sandbox]]

在你保存后,读者会看到:

Sandbox

如果你想链接到一个页面,但不想显示其中的一些文字,你可以在页面名称后添加一个管道符号“|”, 将想要显示的文字写在管道符号后面。这是两个例子:

1. :[[User groups and permissions|Permissions]] 显示为'Permissions', 链接到名为'User groups and permissions'的页面.

2. :[[Basic images|Images]] and [[Advanced images|Images]] will both display as Images, but link to very different articles.

你还可以连接到一个页面的特定章节,如:

[[Target page#Target section|display text]]

For example:

[[Gamepedia Help Wiki:Tutorial/Links#Categories|Categories]]

will display as this: Categories

If you want the display text of the link to appear in italics or bold, nest the double square brackets for the link within the multiple apostrophes that delimit the italicized or bold text, like this:

''[[BoilerRoom]]''

which will display as this: BoilerRoom

Please check your links to ensure they point to the correct article. For example, Apple points to the article about the fruit, while Apple Inc. is the title of the article about the consumer electronics manufacturer. There are also "disambiguation" pages, which are not articles, but rather pages which contain links to articles with similar titles. Some, such as Apple (disambiguation) are obvious, while others such as Georgia use generic titles. These differing titles are where piped links are especially useful. For example, a wikilink of Georgia (country) is much less readable than a piped link of Georgia, though both take the reader to the same place.

For more information, see Links.

何时使用[编辑源代码]

Adding links to an article makes it more useful, but too many links can be distracting. To avoid overlinking, you should normally create a link in an article only at the first occurrence of a word or phrase (thus, lead sections of articles often have more links than other sections).

Categories[编辑源代码]

You can also put the article in a category with others in a related topic. Near the bottom of the article, type [[Category:]], and put the name of the category between the colon and the brackets. For example, [[Category:Tutorials]].

It is very important to put in the correct categories so that other people can easily find your work. The best way to find which categories to put in is to look at pages on similar subjects, and check which categories they use. For example, if you write an article about a character, you may look at an article on another character to see which categories could be appropriate.

For more information, see Categories.

外部链接[编辑源代码]

Many Gamepedia articles have a separate section called External links. This section is for linking to websites with significant and reliable additional information on the article's topic, such as the game's official website or forums. Only a relatively few, very relevant external links are appropriate for this section. If an article already has more than a few links in the "External links" section, and you're an inexperienced editor, you probably should suggest any new links on the article's Discussion (talk) page before actually adding one.

To add a new external link, just type, inside a single set of brackets, the full URL for the link, followed by a space and the text that will be visible. For example:

[http://www.gamepedia.com/ Official website]

will display the following, whilst linking to the full URL:

Official website
For more information, see External links.


继续阅读教程 引用来源