Template:R template index

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]
Changes made to this navbar must also be made to the functional index, and vice versa.

Purpose[edit]

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. The links in the navbox go to sections on that page.

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[edit]

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[edit]

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

Initial visibility

To set the template's initial 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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to collapsed.