Help: Links

From A Wiki of Ice and Fire
Jump to: navigation, search

Links allow users to easily access other relevant pages on the wiki and external websites.

There are four sorts of links in MediaWiki:

  1. internal links to other pages in the wiki
  2. external links to websites
  3. inter-wiki links (links to other wikis)
  4. inter-language links to other language versions of the same wiki

To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red. Selflinks to the current page are not transformed in URLs but displayed in bold.

The first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text).

How to link

What it looks like What you type
Here's a link to a page named Jaime Lannister.

You can even say Jaime Lannisters and the link will show up correctly.

Here's a link to a page named [[Main Page]].
You can even say [[Jaime Lannister]]s
and the link will show up correctly.
You can put formatting around a link.

Example: Jaime Lannister.

You can put formatting around a link.
Example: ''[[Jaime Lannister]]''.
The first letter of articles is automatically

capitalized, so jaime Lannister goes to the same place as Jaime Lannister. Capitalization matters after the first letter.

The ''first letter'' of articles is automatically
capitalized, so [[jaime Lannister]] goes to the same place
as [[Jaime Lannister]]. Capitalization matters after the
first letter.
Intentionally permanent red link is a page that doesn't exist

yet. You could create it by clicking on the link.

[[Intentionally permanent red link]] is a page that doesn't exist
yet. You could create it by clicking on the link.
You can link to a page section by its title:
You can link to a page section by its title:

* [[Jaime Lannister#History]].
You can make a link point to a different place

with a piped link. Put the link target first, then the pipe character "|", then the link text.

Or you can use the "pipe trick" so that a title that contains disambiguation text will appear with more concise link text.

You can make a link point to a different place
with a piped link. Put the link
target first, then the pipe character "|", then
the link text.

* [[Help:Links|About Links]]
* [[Jaime Lannister#History|History of Jaime Lannister]]

Or you can use the "pipe trick" so that a title that
contains disambiguation text will appear with more concise
link text.

* [[Lord Commander of the Kingsguard|Lord Commander]]
* [[Jon (A Dance with Dragons)|Jon]]

You can make an external link just by typing a URL: http://www.nupedia.com

You can give it a title: Nupedia

Or leave the title blank: [1]

External link can be used to link to a wiki page that cannot be linked to with [[page]]: http://meta.wikimedia.org/w/index.php?title=Fotonotes&oldid=482030#Installation

You can make an external link just by typing a URL:
http://www.nupedia.com

You can give it a title:
[http://www.nupedia.com Nupedia]

Or leave the title blank:
[http://www.nupedia.com]

External link can be used to link to a wiki page that
cannot be linked to with <nowiki>[[page]]</nowiki>:
http://meta.wikimedia.org/w/index.php?title=Fotonotes
&oldid=482030#Installation

Linking to an e-mail address works the same way: mailto:[email protected] or someone

Linking to an e-mail address works the same way:
mailto:[email protected] or [mailto:[email protected] someone]

You can redirect the user to another page.

#REDIRECT [[Official position]]

Category links do not show up in line but instead at page bottom and cause the page to be listed in the category.

Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:Help

[[Help:Categories|Category links]] do not show up in line
but instead at page bottom
''and cause the page to be listed in the category.''
[[Category:Help]]

Add an extra colon to ''link'' to a category in line
without causing the page to be listed in the category:
[[:Category:Help]]

See Also