Template:R from incorrect name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Josh Parris
doco
 
meta>Josh Parris
add semantics of use
Line 1: Line 1:
This template should be passed a parameter of the correct name if the redirect target isn't the correct name - for example, if it's a subsection of the target article or only mentioned in the target article under the correct name.
There are three uses for this template:
 
# when the '''correct name is the target''' of the redirect.  In this case, just use <nowiki>{{R from incorrect name}}</nowiki>; the correct name is already available as an article.
# when linking to article where '''the subject is only mentioned in the target article under the correct name'''.  In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage#section name]]</nowiki>.  That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.
# when '''linking to a section or anchor within an article''', where the <nowiki>#REDIRECT[[TargetPage#section name]]</nowiki> is used.  In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage#section name]]</nowiki>.  That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.
 
For other redirect templates of this type, see [[Wikipedia:Template messages/Redirect pages]]

Revision as of 12:25, 10 January 2010

There are three uses for this template:

  1. when the correct name is the target of the redirect. In this case, just use {{R from incorrect name}}; the correct name is already available as an article.
  2. when linking to article where the subject is only mentioned in the target article under the correct name. In this case, the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage#section name]]. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.
  3. when linking to a section or anchor within an article, where the #REDIRECT[[TargetPage#section name]] is used. In this case, the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage#section name]]. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.

For other redirect templates of this type, see Wikipedia:Template messages/Redirect pages