This is a mirror of discontinued 'WikiDevi'. Enjoy!
Template:R template index/doc
40px | This is a documentation subpage for Template:R template index. It contains usage information, categories and other content that is not part of the original template page. |
40x40px | This template should not be substituted. |
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 WikiDevi: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}}
How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:
|state=collapsed
to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g.{{R template index |state=collapsed}}
|state=expanded
to show the template in its expanded state, i.e. fully visible – e.g.{{R template index |state=expanded}}
|state=autocollapse
to show the template in its collapsed state but only if there is another template of the same type on the page – e.g.{{R template index |state=autocollapse}}
Unless set otherwise (see the |state=
parameter in the template's code), the template's default state is collapsed
.