A piped link is an internal link that displays text different from the title of the page to which the text links. It is created with wikitext that results in hyperlinked (underlined, clickable) text.
For example, the wikitext
[[train station|station]] displays as station but links to the Wikipedia article about train stations.
Do not confuse piped links and redirects: they are two very different mechanisms. Both allow the displayed text of a link to differ from the title of the final destination page (the page that a reader will see after clicking that link). However, a piped link conceals the destination page's title only in that single line on the single page where its wikitext is used, while on any page throughout Wikipedia any link, piped or not, to a specific redirect page will always lead to the same destination page.
Main page: Help:Piped link
Piped links are useful for preserving the grammatical structure and flow of a sentence when:
The pipe ("|") character is also known as a vertical bar.
There are two ways to create the pipe ("|") character: on English-layout keyboards you may press ⇧ Shift+\. On Spanish keyboards, the pipe character can be obtained by pressing AltGr+1. Or note that the pipe character is the third character that appears in the "wiki markup" section of symbols at the bottom of the symbol page that appears in "edit this page" mode. Clicking on the pipe symbol there inserts it at the cursor spot, just as happens for any symbol chosen from this page.
For full details on how to use this feature, see Help:Piped link.
"WP:NOPIPE" redirects here. For the Manual of Style guideline, see MOS:NOPIPE.
First of all, keep links as simple as possible:
[[George Washington|President George Washington]]
President [[George Washington]]
[[Wolfgang Amadeus Mozart|Mozart]]
[[Leningrad]]currently redirects to Saint Petersburg, but one day it could be decided to spin off a dedicated article about the old city of Leningrad; when that happens, all existing links
[[Leningrad]]will automatically point to the correct article, while the unnecessarily piped ones
[[Saint Petersburg|Leningrad]]will not.
[[public transport|public transportation]]
[[Public transport|public transport]]
"WP:EASTEREGG" redirects here. You may also be looking for MOS:EGG.
Keep piped links as transparent as possible. Do not use piped links to create "Easter egg" links that require the reader to open them (or, at least, to move their mouse pointer into this link) before understanding where they lead. Wikipedia is not an Advent calendar.
Also remember there are people who print the articles. For example, do not write this:
The readers will not see the hidden reference to Thomas Bowdler unless they click or hover over the piped exceptions link. In a print version, there is no link to select, and the reference is lost. Instead, reference the article explicitly:
Similarly, instead of:
It will occasionally be useful to link to a fuller explanation of a phrase; when this is done, link the phrase, not a single word.
For example: If Pontiac's War is defined as having been
and there is no space for further explanation in that context (this is a quote from the lead of the article), then some readers will value a link to a description of the confederation. This should not be linked from the word confederation; the link in the following phrase:
looks like a link to the article Confederation.
At a minimum, link something that, obviously, wouldn't be the title of an article under our article title conventions:
Further, it is inappropriate to contain veiled and uncited interpretations of fiction through piped links, as in this excerpt from the The Iron Dream article, which contained over 30 interpretations hidden in links:
Such interpretation, if properly sourced, should be placed in its own section and citations provided. If the interpretation is purely that of the editor, it is original research and should be removed.
The pipe character is also used when supplying parameters to templates; this is not the same thing as a piped link.