Template:R from alternative name/doc

From Funkinchan
Revision as of 01:32, 21 September 2023 by Jedevari (talk | contribs) (making template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Template:Twinkle standard installation

Usage

This redirect category (rcat) template populates Category:Redirects from alternative names. Add this rcat to a redirect in the following manner:

When using {{Rcat shell}}

<syntaxhighlight lang="wikitext">

  1. REDIRECT Target page name

</syntaxhighlight>

Template {{Rcat shell}} is an alias for the template {{Redirect category shell}}, which may be used to add to a redirect page as many appropriate rcats as needed (usually from one to seven) along with their parameters in a demarcated place. For more information, see the documentation on Rcat shell's template page.

When rcats are used individually

<syntaxhighlight lang="wikitext">

  1. REDIRECT Target page name


  • From an alternative name: This is a redirect from a title that is another name or identity such as an alter ego, a nickname, or a synonym of the target, or of a name associated with the target.
    • This redirect leads to the title in accordance with the naming conventions for common names to aid searches and writing. It is not necessary to replace these redirected links with a piped link.
    • If this redirect is an incorrect name for the target, then {{R from incorrect name}} should be used instead.

</syntaxhighlight>

This accords with instructions found at Wikipedia:REDCAT.
  • Use this rcat on all redirects from a title that is another name such as a nickname, or a synonym of the target page name. For stage names and other pseudonyms, use the more specific {{R from pseudonym}} instead.

Optional parameters

Either the |of= or the |1= parameter can be used to specify the more common name. This is useful when redirecting from an obscure term to a more common one that is a subsection or anchor in a broader article that itself is not the other name of what is being redirected. For example Primary research redirects to Research#Forms of research, where this subtopic is treated under the term "original research"; the redirect has Template:Tnull, which adds the following to the first sentence: "(in this case, the more common name is: original research)". Three ways to accomplish this are as follows:

Aliases

Printworthiness

  • In the main (article) namespace, many other-name redirects are considered printworthy. However, there are also many that are not printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in Template:Diffs. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not. That means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Either {{Redirect category shell}} or its alias/shortcut templates may be used.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for R from alternative name

Places a redirect in [[Category:Redirects from alternative names]]. This template can be added to a redirect which has a name which is a valid alternative to the title of the target page. There are several more specific alternative name redirect templates which can be used instead of this general one. Do not use this if the redirect is an incorrect title for the target page; use {{R from incorrect name}} instead.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

This template takes no parameters.
See
{{R from}} for an example that does.

See also