Template:R from modification/doc
From Funkinchan
Jump to navigationJump to search
This is a documentation subpage for Template:R from modification. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be substituted nor used to tag soft redirects. |
Usage
- This redirect category (rcat) template populates Category:Redirects from modifications. Add this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
- From a modification: This is a redirect from a modification of the target's title or a closely related title. For example, the words may be rearranged.
- Please note that there are many Template:Em. Please use {{R from alternative spelling}} for spelling changes (including punctuation and spacing), and {{R from misquotation}} for common alterations of the actual quotation; see subcategories of Category:Redirects from modifications for other options (capitals, abbreviations, diacritics, plurals, stylizations, transliteration, ligatures, different parts of speech, etc.). If you are unsure which to use, this template is fine; someone will make it more specific later if necessary.
- In cases of modification from distinctly longer or shorter names, please use {{R from long name}} or {{R from short name}}, respectively. An abbreviation should be tagged with {{R from initialism}} or, if it can be spoken like a word such as NASA and RADAR, use {{R from acronym}}.
- Use this rcat instead of {{R from other capitalisation}} and {{R from plural}} in namespaces other than mainspace for those types of modification. This may also apply to several other subcategories of modification; please check those templates' output before saving if using outside of mainspace.
</syntaxhighlight>
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any redirect in any namespace that is a modification of the target's title; for example, its words are rearranged, or punctuation in the name is changed, with a hyphen (-), without a hyphen, etc.
- If the redirect is from a title including the numeral form of a number to a title with the worded form, use the template {{R from numerals}} instead. If it is from the worded form to the numeral form, then use {{R to numerals}}.
- In cases of modification from distinctly shorter or longer names, instead please use {{R from short name}} or {{R from long name}}, respectively.
- Since rcats like {{R from other capitalisation}} and {{R from plural}} are only used in main-article namespace, this R from modification rcat is useful for other capitalisations, plurals, etc., in namespaces other than mainspace.
- This template should not be used with {{R from transliteration}}, which populates a subcategory of this rcat's category.
Parameters
This rcat takes two optional parameters:
|demo=yes
suppresses categorization for demonstration purposes.|1=
(a.k.a.|reason=
or|of=
) will include additional explanatory text. This is needed if the redirect is from a modification of some term other than the target title, e.g. an alternative name or subtopic. For example:- the redirect Direct to digitalDirect-to-video#Digital releases can be tagged as:
<syntaxhighlight lang="wikitext">
- REDIRECT Direct-to-video#Digital releases
This page is a redirect. The following categories are used to track and monitor this redirect:
Template:R from subtopic Template:R to section Template:R from alternative hyphenation Template:R unprintworthy When appropriate, protection levels are automatically sensed, described and categorized. |
</syntaxhighlight>
- where
{{R from alternative hyphenation}}
is an alias of{{R from modification}}
. This will make the template read:- "This is a redirect from a modification of the target's title or a closely related title. For example, the words may be rearranged, or punctuation may be different. This redirect is a modification of Direct-to-digital."
- (which uses hyphens instead of spaces between words).
Aliases
- Also known as... – list of templates that redirect here and may also be used
Printworthiness
Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- In main-article namespace, many redirects from modified page titles are considered unprintworthy; however, there are many others that are printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in Template:Diff. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not, and that means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
{{R printworthy}}
and{{R unprintworthy}}
- Please click on each one for more details and guidance.
- Template {{Redirect category shell}} will accept these rcats just like any other.
- Examples:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for R from modification
Puts redirect in the categories [[Category:Redirects from modifications]]. It takes two parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
yes | demo | Set to 'yes' to suppress categorization for purpose of demonstration. | String | optional |
(text) | 1 | Set 'text' to modification other than target when appropriate. | String | optional |
(text) | reason | Set 'text' to modification other than target when appropriate. | String | optional |