Template:NASTRO comment/doc

Description
This template manages the plethora of redirect pages of small Solar System bodies. For redirects of cometary and minor planet objects, it is mandatory to use on the page (usage of correct parameters described below).

Features
The template's features include (the outcome depends on the chosen parameters):
 * Displaying a message or a warning directly on the page
 * Adding a specific redirect category (see below)
 * Adding template
 * Adding a set of templates, such as R to list entry, when redirecting to an anchored list

Examples
Primary redirect for minor planet
 * #REDIRECT List of minor planets: 57001–58000

Non-primary redirect for minor planet. This is the former designation of (above), before it was named.
 * #REDIRECT List of minor planets: 57001–58000

As shown in the second example, custom R-templates should be added with above , maintaining the blank line. Also, for redirects on comets, an additional parameter comet is needed (see ).

Usage

 * , used for primary redirects (i.e. pages with titles suited to be turned into an article if the object becomes notable one day), produces the following default message to caution editors before they begin writing an article. It links to for more contextual details.
 * , used for non-primary redirects (i.e. pages not suited to become an article), replaces the default message with:


 * Use the "do-not-cat" parameter for non-primary redirects. They are typically tagged with "alternative (former) name", "incorrect spelling", "non-diacritical version", or "avoided double redirect". They should not be turned into articles as the title has been superseded. They never contain any categories.

Redirects to anchored list (R-templates)
In most cases, a redirect points to an anchored list entry. Therefore displays three R-templates by default:
 * R to list entry — "To a list entry"
 * R to anchor — "To an embedded anchor"
 * R unprintworthy — "From an unprintworthy page title".

In many cases, however, a redirect does not point to a list but to an existing article instead, the above R-templates need to be turned off using off. See for an example.

Wikidata redirect template
Template wikidata redirect is automatically added by default. In case auto detection does not work, use parameter wikidata-r with Wikidata's corresponding Q-number without the Q-prefix as value:

Comets
For cometary redirects, use.

Redirect categories
Depending on the chosen parameters, redirect pages using this template are automatically listed in one of the following categories (with number of items as per Spring 2020):