Template:Redirect category shell

From Ekatra Foundation
Jump to navigation Jump to search

Lua error in package.lua at line 80: module ‘strict’ not found.

(|1=ja),

Redirects to Spanish-language terms

(|2=es) and

Unprintworthy redirects

See the lists of ISO 639-1 and ISO 639-2 codes for two- and three-letter language codes that can be used this way. See also Wikipedia:Template messages/Redirect language codes for common codes that are already used on redirects.

When used alone

This template is designed to help contributors who are unfamiliar with categorizing redirects by enabling them to sort redirects into the monitored

Miscellaneous redirects

category. Do not hesitate to use this important function to help with sorting redirects to correct and appropriate categories.

There are two ways to sort a redirect into the Miscellaneous redirects category. When this template is used without any rcats, it will perform the miscellaneous sort:

{{Redirect category shell}}... Lua error in package.lua at line 80: module ‘strict’ not found.

Also, if one or more rcats are known, but an editor is unsure that there might be one or more other rcats that are needed, then leave the first parameter blank (type two pipes together → ||):

{{Redirect category shell||
{{R from subtopic}}
{{R printworthy}}
}}

Lua error in package.lua at line 80: module ‘strict’ not found.

Monitors of the Miscellaneous redirects category will check the redirect, add other rcats if needed and then remove the empty first parameter.

Comparison

Template:Redirect category shell/Comparison shows the difference in the appearance of text between when individual rcats are used and when this template is used.

Other templates

This template may also carry and hold other templates within it. Even the {{DEFAULTSORT}} magic word and a sort key may be used either inside this template or below it. Another template commonly used within the Redirect category shell template is {{Italic title}} and its shortcut to format titles in italics. Some rcats such as {{R from book}} and {{R from film}} automatically format the redirect names in italics. Any appropriate template may be used within this shell template in the following manner:

{{Redirect category shell|
{{R from move}}
{{R from alternative name}}
{{Italic title}}
{{DEFAULTSORT:Hobbit, The}}
}}

Notes

Mbox note

  1. When the wiki markup of this template is opened, it is seen that this is an "mbox-based" template. "Mbox" stands for "multi namespace message box", which is a meta-template that works in all namespaces. There can be a problem with this mbox unless editors are careful to place Redirect category shell on its own line at the very beginning of the line. If this is done then all is well; if this is not done, then HTML Tidy may interfere with the mbox and cause this template to appear in an abnormal and unexpected manner when saved. So be careful where you leave this template placed in a redirect’s Edit screen, take another look at the above readability guide, and be sure to preview your edits – all your edits.
    Correct:
    #REDIRECT [[(target page)]]
    
    {{Redirect category shell||
    {{R unprintworthy}}
    }}
    Not correct:
    #REDIRECT [[(target page)]] {{Redirect category shell||{{R unprintworthy}}}}
    A blank line is usually placed between the redirect target and this template to make the "Edit" screen easier to read.

Lua error in package.lua at line 80: module ‘strict’ not found.

Printworthiness note

  1. Where the printworthiness of a mainspace redirect is concerned, there are three kinds of rcats:
    1. those that populate the
    Printworthy redirects
category by default,
  1. those that populate the

Unprintworthy redirects

category by default, and

  1. those that do not default to either of the above, and which leave it to the editor to decide based upon best knowledge whether or not a mainspace redirect is suitable for a printed or DVD version of Wikipedia.

At present, those that are types 1 and 2 will populate the appropriate printworthiness category, however the notice will not appear within the mbox of this template unless either {{R printworthy}} or {{R unprintworthy}} is listed as an rcat within this template. For example, if a redirect is tagged with:

{{Redirect category shell|
{{R from ambiguous term}}
}}

...then the hidden categories populated will be

Redirects from ambiguous pages

,

Unprintworthy redirects

and any appropriate protection categories. These will appear at the bottom of the redirect page only to registered users who are logged in and who have set their preferences to see hidden categories. The mbox that will appear to all readers would look like:

Lua error in package.lua at line 80: module ‘strict’ not found. To show the printability or printworthiness information in the mbox, then the redirect must be tagged with either the printworthy or unprintworthy rcat as in the following example:

{{Redirect category shell|
{{R from ambiguous term}}
{{R unprintworthy}}
}}

...which produces: Lua error in package.lua at line 80: module ‘strict’ not found. Only then will the printability, printworthy or unprintworthy, be described within this template’s mbox on the redirect page.

Lua error in package.lua at line 80: module ‘strict’ not found.

See also

Tracking categories

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Redirect category shell in articles based on its TemplateData.

TemplateData for Redirect category shell

Lua error in package.lua at line 80: module ‘strict’ not found.

This template may be used to add one or more appropriate redirect category (rcat) templates, along with their parameters, to redirects. Additionally, this template automatically senses, describes, categorizes and changes protection levels when appropriate.

Template parameters

ParameterDescriptionTypeStatus
Redirect categories1

1 or more redirect category templates.

Example
{{R from alternative name}}
Contentsuggested
Redirect categories (more needed)2

Same as Redirect categories, except that the redirect is also added to Category:Miscellaneous redirects.

Contentoptional
Hatnoteh

A hatnote to display above the redirect categories.

Lineoptional
No categorynocat

Don’t add this redirect to Category:Miscellaneous redirects, even if Redirect categories has been left empty.

Booleanoptional
Categorycategory

The category to add this redirect to if the Redirect categories parameter is empty. Defaults to Category:Miscellaneous redirects.

Example
[[Category:Miscellaneous redirects]]
Lineoptional

Lua error in package.lua at line 80: module ‘strict’ not found.