Template:R to anchor

From Wikipedia, the free encyclopedia
Jump to: navigation, search
  • This is a redirect from a topic that does not have its own page to an anchored part of a page on the subject. For more information follow the category link and see the template documentation.
    • The {{anchor}} (or <span id=(anchor)> ... </span> tags or |id= attribute) might be installed above a paragraph within a section or within a table. Also, the anchor might be an old section header that has been changed that is anchored within or near the new header to prevent link breakages, both internal links and those from sister projects and the Internet.
    • While existing (live) section headers of the general form == (header name) == are themselves a type of anchor, do not use this rcat to tag such redirects; use {{R to section}} instead.
      • Note: The "template documentation" link is in bold and does not work on this page because this is the page to which it links. The link works properly on redirect pages. This note only appears on this page – it will not appear on redirects.
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Use this rcat template in any namespace.
#REDIRECT [[(target page name)#(target anchor name)]]

{{R to anchor}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Template {{This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
  • This rcat is used whenever a redirect targets an embedded {{anchor}}, <span id=(anchor)> ... </span> or the id= attribute within tables. Redirects may target an anchor that covers a particular term that has insufficient independent scope and notability to warrant its own section, much less an entire article, and the term is nonetheless important within the field and is useful to link from other articles in the field of expertise. Such redirects allow a reader to search and find useful information about the term and similar related material in the defining article.
  • Also use this rcat to tag redirects that target old section headers that have been replaced and anchored to prevent link breakages, those that are internal links, those from sister projects and external links from the Internet.
  • A few anchor redirects are printworthy, for example when it is a {{redirect with possibilities}} of one day becoming an article. When you add R to anchor to a redirect that is printworthy, then use the first parameter to subdue the unprintworthy category in the following manner:
{{R to anchor|printworthy}}
This will suppress "unprintworthy" and, in addition, add the redirect to Category:Printworthy redirects.
  • Please use the following rcats when more appropriate:
{{R to list entry}}, which populates Category:Redirects to list entries
{{R to section}}, which populates Category:Redirects to sections
See also: MOS:SECTIONS

Aliases

  • Click here for a list of templates that redirect here and that may also be used.

See also