Search results
Results From The WOW.Com Content Network
A wikilink that links to a section and that appears as [[page name#section name]] can link to that section through the canonical page name (the title on the page with the actual content) or through the page name of any redirect to it, in which case the page name is the name of a redirect page.
If you want to link to an article, but display some other text for the link, you can use a pipe | divider (⇧ Shift+\): [[target page|display text]] You can also link to a specific section of a page using a hash #: [[Target page#Target section|display text]] Here are some examples: [[link]] displays as link
As a general rule, it is preferable, particularly in cases where a section has a large number of backlinks, to use {{subst:Anchor}} in the HTML element of the header. To link to a section within the same article, one can simply prefix the name of the section header with the pound sign ("#") nested in square brackets, for example ("#"):
You can "deep link" to a section of an article (or other Wikipedia page), using a hash character (#), then the section's title, with underscore characters (_) replacing spaces.
When a section title is known to be the target of incoming links, the Wikipedia Manual of Style suggests creating a redundant anchor with the same name as the section title, so that such links will continue to work even if someone renames the section without creating an anchor with the old name.
In the HTML code for each section there is an "id" attribute holding the section title. This enables linking directly to sections. These section anchors are automatically used by MediaWiki when it generates a table of contents for the page, and therefore when a section heading in the ToC is clicked, it will jump to the section.
An inline link displays remote content without the need for embedding the content. The remote content may be accessed with or without the user following the link. An inline link may display a modified version of the content; for instance, instead of an image, a thumbnail, low resolution preview, cropped section, or magnified section may be shown.
When the redirect target is a section link, following a redirected link should lead to the section or other element identified by the link. Normally the redirected page includes the entire contents of the target page as if the section fragment wasn't specified, and uses JavaScript to jump to the section after the page is loaded.