Difference between revisions of "Template:Redirect category"

From LIMSWiki
Jump to navigationJump to search
(Link.)
m (Internal link)
 
Line 4: Line 4:
| text = The pages in this category are '''redirects'''{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br/>
| text = The pages in this category are '''redirects'''{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br/>
To add a redirect to this category, {{#ifeq:{{{same_line}}}|no|use|put}} {{tlx|{{{template|R from ...}}}|{{{parameters|}}}}}{{#ifeq:{{{same_line}}}|no||&#32;on a separate line after the redirect}}. Do not [[LIMSWiki:Substitution|substitute]] redirect templates.<br/>
To add a redirect to this category, {{#ifeq:{{{same_line}}}|no|use|put}} {{tlx|{{{template|R from ...}}}|{{{parameters|}}}}}{{#ifeq:{{{same_line}}}|no||&#32;on a separate line after the redirect}}. Do not [[LIMSWiki:Substitution|substitute]] redirect templates.<br/>
<small>See also the [[LIMSWiki:Style guide|style guide]] and [[:Category:All redirect templates]].</small>
<small>See also the [[LIMSWiki:Style guide#Redirects|style guide]] and [[:Category:All redirect templates]].</small>
}}
}}
{{LIMSwiki category|hidden=yes|tracking=yes|tracking_category=no}}{{Category other|[[Category:All redirect categories]][[Category:Redirect tracking categories]]}}<noinclude>
{{LIMSwiki category|hidden=yes|tracking=yes|tracking_category=no}}{{Category other|[[Category:All redirect categories]][[Category:Redirect tracking categories]]}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:03, 25 October 2013


[edit] [purge] Template documentation

Usage

This template provides a header for the subcategories of Category:All redirect categories.

  • {{Redirect category|from=|to=|template=|parameters=|same_line=}}

Use from and/or to to describe the purpose of the redirects in the category. template names the associated redirect template (without the Template: prefix). parameters lists the parameters used by the redirect template. same_line=no changes "put" to "use" and suppresses the text "after the redirect but on the same line". This option is only used for Category:Miscellaneous redirects and soft redirect categories.

Example

{{Redirect category|from=misspellings or typographical errors|to=the correct spellings|template=R from misspelling}}

produces:


Categorisation

This template adds categories to Category:All redirect categories, Category:Hidden categories and Category:Tracking categories. If the template is transcluded on a page outside of the category namespace, the page will not be added to the categories.

See also

Other category header templates

Namespaces

Maintenance