FANDOM


The following are examples of wikitext formatting, specific to links.

See also Help:Wikitext, plus table examples and more examples.

Internal links

You typeDisplayed linkLinks toDescriptionFor example
Wiki links
[[A]]AAInternal link
[[A B]]A BA BInternal link
[[A]][[B]]AB
(two separate links)
A, BInternal link
[[A#B]]A#BA (section B)Internal link with jump to section (within a local wiki)Help:Links#Types of internal links
[[A]]sAsA
[[:Category:A]]Category:ACategory:ALinking to a categoryCategory:Browse
[[:File:A.jpg]]File:A.jpgFile:A.jpgLinking to an imageFile:Example.jpg
[[lang:B]]Link is collated with other language links at the page end Interlanguage links
[[:lang:A]]lang:A Interlanguage links
[[site:A]]site:ALinking to an external WikiWikipedia:Main page
[[w:c:wiki:A]]w:c:wiki:A Linking to another Wikia wikiw:c:starwars:Jedi
Piped link
[[A|B]]BAInternal linkDisplayed text
[[A#B|C]]CA (section B)
[[:pre:B|C]]C
[[A|B|C|D]]B|C|DA
[[A|B]]cBcA
Pipe trick
[[A (b)|]]
is converted to [[A (b)|A]]
AA (b)Bracket and what follows
[[A, B|]]
is converted to [[A, B|A]]
A"A, B"Comma and what follows
[[pre:A|]]
is converted to [[pre:A|A]]
Apre:ANamespace or other prefix that precedes a colon
[[:lang:name:A|]]
is converted to [[:lang:name:A|name:A]]
name:Alang:name:ANamespace or other prefix that precedes a colon
[[pre:A (b)|]]
is converted to [[pre:A (b)|A]]
Apre:A (b)
Others
a[[B]]aB
(only B is linked)
B

External links

You typeYou getLinks to
External links
[http://www.example.org][1]http://www.example.org
[http://www.example.org Displayed text]Displayed texthttp://www.example.org
http://www.example.orghttp://www.example.orghttp://www.example.org
[http://www.example.org a]sashttp://www.example.org

See also

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.