Template:R from diacritic/doc

From English Wikipedia @ Freddythechick

Usage

  • Add this rcat to a redirect in the following manner:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)

</syntaxhighlight>

and when the redirect is in article mainspace, printworthiness should also be tagged:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)

</syntaxhighlight>

Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)


  • From the same page name with diacritics: This is a redirect from a page name that has diacritical marks (accents, umlauts, etc.) to essentially the same page name without those marks or a "List of..." page anchored to a promising list item name without diacritics.
    • Apply this redirect (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • Sort these redirects with {{DEFAULTSORT:(title without diacritics)}} and be sure to use a colon ( : ) rather than a pipe ( | ) to access the magic word directly.
    • This rcat can also be used on redirects to sections and anchors to indicate the diacritics version of a term/name written both ways.

</syntaxhighlight>

This is in accord with instructions found at WP:REDCAT.
  • Use this rcat on any redirect with diacritical marks (accents, umlauts, etc.) to essentially the same page name that does not have diacritical marks.
  • By default, this template places redirects in the Unprintworthy redirects category. To tag and categorize a redirect as "printworthy", type the addition printworthy in the following manner:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

or

<syntaxhighlight lang="wikitext">

  • From the same page name with diacritics: This is a redirect from a page name that has diacritical marks (accents, umlauts, etc.) to essentially the same page name without those marks or a "List of..." page anchored to a promising list item name without diacritics.
    • Apply this redirect (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • Sort these redirects with {{DEFAULTSORT:(title without diacritics)}} and be sure to use a colon ( : ) rather than a pipe ( | ) to access the magic word directly.
    • This rcat can also be used on redirects to sections and anchors to indicate the diacritics version of a term/name written both ways.

</syntaxhighlight>

That will suppress the unprintworthy category and place the redirect in Category:Printworthy redirects.

Sorting in the category

Sort these redirects with {{DEFAULTSORT:(title without diacritics)}}. That will make these redirects much easier to find in the Redirects from titles with diacritics category. Be sure to use a colon ( : ) rather than a pipe ( | } after "DEFAULTSORT" in order to directly access the magic word.

Aliases

See also