మూస:R template index

వికీపీడియా నుండి
Jump to navigation Jump to search
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 Wikipedia:Template messages/Redirect pages. The links in the navbox go to sections on that page.

Usage[మార్చు]

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}}

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.