Permanently protected template

Template:No redirect

From Wikipedia, the free encyclopedia
  (Redirected from Template:Noredirect)
Jump to: navigation, search

[[:{{{1}}}]]

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

This template provides an easy way to link to a page without following a redirect.

{{no redirect|page name|label}}

It accepts two unnamed parameters:

  • 1= (required) the name of the page to link.
  • 2= (optional) the text to be displayed. If this is omitted then the input of the first parameter is used.

Example

Instead of having to copy/paste or type:

  • [http://en.wikipedia.org/w/index.php?title=The_Silence_of_the_Sea&redirect=no ''The Silence of the Sea'']

an editor can type:

  • ''{{No redirect|The Silence of the Sea}}''

or an alias can be used, as in:

  • ''{{-r|The Silence of the Sea}}''

All of these will take users directly to the same redirect page – The Silence of the Sea.

  • The second parameter (label) may come in handy during discussions on talk pages:
{{-r|The Silence of the Sea|this redirect}}
...may appear in a talk page discussion something like this: "...For reference, you might want to see this redirect."

See also