Help:Links/Wikitext


 * This page is best viewed on Community Central. It necessarily uses links which are only available on that wiki. 

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

Internal links
An internal link is one made to a page on whatever wiki you're currently editing. It must be to a page other than the one you're editing, though.  Assume good faith = Assume good faith but

 Help:Wikitext/link examples = Help:Wikitext/link examples

In other words, attempting to create a link to the current page will fail. Instead, you'll just get bolded text.

Displaying a link
As you've probably already figured out, the most basic kind of link simply puts two  square brackets   around the name of a page on the wiki. But you can change the way that link displays by using a pipe, the vertical line found on most English keyboards above the Enter key (|).

Generally, the pipe delineates between the proper name of the article on the left, and the how you want to display that link on the right.  Editing = Editing

Common link types
Now that we know what a wikitext link is, let's look at the variety of ways in which it can be achieved.

Pipe tricks
A pipe trick is when the use of a pipe results in an automatic transformation of display text.

Its most basic form is to chop off a namespace from the front of a page name.

Imagine you're trying to create a link to Community Central:Admins and mods, but you don't want to show the words Community Central. Just add a single pipe at the end, and the software will do its thing.  Community Central:Admins and mods = Admins and mods

When you go back to edit the text, you'll find that the pipe trick has resulted in the full form,  Admins and mods </tt>.

Here are some other examples:

Further help and feedback
de:Hilfe:Links/Wikitext ja:ヘルプ:リンク/ウィキテキスト pt:Ajuda:Wikitexto/exemplos de links