Template:R template index

From TechInfoDepot
Jump to navigationJump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Purpose

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 at WP:REDCAT.

For an expanded index with examples and complete alphabetical list of redirect category templates, see TechInfoDepot:Template messages/Redirect pages. The links in the navbox go to sections on that page.

Usage

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

{{R template index}}

This template's initial visibility currently defaults to collapsed, meaning that it is hidden apart from its title bar.

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

  • {{R template index|state=expanded}} will show the template expanded, i.e. fully visible.
  • {{R template index|state=autocollapse}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.