Template:R template index/doc

From Simple English Wikipedia, the free encyclopedia
Changes made to this navbar must also be made to the functional index, and vice versa.

Purpose[change source]

This template navbox furnishes editors with a practical tool to quickly find the redirect category templates (rcats) that are used most often. This index template organises the templates by function. The procedure to use for placing these rcats on redirects will be found on each rcat's individual documentation page and at WP:REDCAT.

For an expanded index with examples and complete alphanumerical listing of redirect category templates, see Wikipedia:Template messages/Redirect pages. Most of the links in the navbox go to sections on that page. A few of the links go to other explanatory pages that are associated with rcats.

As usual, please refrain from using aliases (redirects) in this navbar. In any navbar, redirects are not your friends. If the non-redirect subject page is linked, then it will appear not as a link, but as a bold, easy to find entry when the navbar is placed on that entry's page. Redirects in navbars will not appear in bold text on the entries' pages.

Usage[change source]

Either {{R template index}} or its shortcut, {{Rcats}}, may be used. Add this navbox to the bottom of a template documentation page (above the categories) in the following manner:

{{R template index}}

See also[change source]

Additions made to the functional index must also be added to this navbar, and vice versa.

Starting visibility: currently automatically selects itself to wikt:collapsed

To set this template's starting visibility, the |state= parameter may be used:

  • |state=collapsed: {{R template index|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{R template index|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{R template index|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's starting visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.