Modèle:R from alternative name/doc

De Wiki des ADN
Aller à la navigation Aller à la recherche

Usage[modifier | modifier le wikicode]

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}}[modifier | modifier le wikicode]

#REDIRECT [[Target page name]]

{{Rcat shell|
{{R from alternative name}}
}}
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[modifier | modifier le wikicode]

#REDIRECT [[Target page name]]

{{R from alternative name}}
This accords with instructions found at Wikipedia:REDCAT.
  • Use this rcat on all redirects from a title that is another name such as a pseudonym, a nickname, or a synonym of the target page name.

Optional parameters[modifier | modifier le wikicode]

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 {{R from alternative name|of=original research}}, 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:

  • {{R from alternative name|of=(alternative name)}}
  • {{R from alternative name|1=(alternative name)}}
  • {{R from alternative name|(alternative name)}}

Aliases[modifier | modifier le wikicode]

Printworthiness[modifier | modifier le wikicode]

  • 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 printed versions. 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:
{{Rcat shell|
{{R from alternative name}}
{{R printworthy}}
}}

{{Rcat shell|
{{R from alternative name}}
{{R unprintworthy}}
}}
Either {{Redirect category shell}} or its alias/shortcut templates may be used.

TemplateData[modifier | modifier le wikicode]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

R from alternative name

[[Category:TemplateData documentation{{#translation:}}]]

<TemplateData> {

  "description": "Places a redirect in. 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 
  • From an incorrect name: This is a redirect from an erroneous name – either an incorrect name or a title that is unsuitable as a Wikipedia article title or other project page name – that serves readers because it is a good search term. The correct name is given by the target of the redirect.
    • Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.

instead. ",

   "params": {
   }

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

See also[modifier | modifier le wikicode]