Template:R from template shortcut/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>David.moreno72
m Reverted edits by 66.87.68.143 (talk): Unexplained removal of content (HG) (3.1.19)
Ookami (talk | contribs)
m 171 revisions imported
 
(83 intermediate revisions by 47 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
<noinclude>{{pp-protected|reason=Persistent [[WP:Disruptive editing|disruptive editing]] Nobody who is not auto-confirmed should be messing with this. }}</noinclude>{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-use| 3293 }}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]].<br />'''This rcat is for template  {{em|shortcuts}} only''' (for example, {{-r|Template:R tsh}} for this template itself) – this rcat is {{big|not}} for alternative template names)}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]].<br />'''This rcat is for template  {{em|shortcuts}} only''' (for example, {{-r|Template:R tsh}} for this template itself) – this rcat is {{big|not}} for alternative template names)}}
{{Twinkle standard installation}}
__NOTOC__
__NOTOC__
=== Usage ===
== Usage ==
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]''' (most often "Template:" of course, but there are also many templates in "User:" and a few, mostly process-related, in "Wikipedia:").}}
* This redirect category ([[WP:RCAT|rcat]]) template populates {{Cat|Redirects from template shortcuts}} and, when the shortcut is in the [[wp:Mainspace|main-article namespace]] (mainspace), the {{c|Unprintworthy redirects}} category is also populated by default.  At some point in the future, [[Jimmy Wales]] wants to make more {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}} of ''Wikipedia'' encyclopedia articles.  Template-shortcut redirects from mainspace are not suitable for a printed version.  In other words they are [[wp:Printworthiness|unprintworthy]].  
* This redirect category ([[WP:RCAT|rcat]]) template populates {{Cat|Redirects from template shortcuts}} and, when the shortcut is in the [[wp:Mainspace|main-article namespace]] (mainspace), the {{c|Unprintworthy redirects}} category is also populated by default.  In 2003, efforts were begun to support the [[Wikimedia Foundation]]'s goal of increasing access and availability of  ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}.  Template-shortcut redirects from mainspace are not suitable for a printed version.  In other words they are [[wp:Printworthiness|unprintworthy]].  
{{info|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}
* Add this rcat to a redirect in the following manner:  
* Add this rcat to a redirect in the following manner:  
<pre>
<pre>
#REDIRECT [[Template:(target page name)]]
#REDIRECT [[Template:(target page name)]]


{{Redr|from template shortcut}}
{{Rcat shell|
{{R from template shortcut}}
}}
</pre>
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
<pre>
#REDIRECT [[Template:(target page name)]]
 
{{Rcat shell|
{{R from template shortcut}}
{{R unprintworthy}}
}}
</pre>
</pre>
: Template {{tl|Redr}} is an alias for the ''This is a redirect'' template, which may be used to add up to seven appropriate rcats, along with their parameters, to a redirect.  For more information see the documentation on its template page and its [[Template:This is a redirect/Comparison|comparison page]].  This rcat may also tag a redirect individually:
: Template {{tl|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:
<pre>
<pre>
#REDIRECT [[Template:(target page name)]]
#REDIRECT [[Template:(target page name)]]
Line 19: Line 33:
</pre>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat to tag any redirect that is a shortcut '''''to a template''''', which usually has a longer pagename.  The redirect itself does not necessarily have to be a template, e.g., <nowiki>[[</nowiki>[[T:S]]]], which is a template shortcut that is actually in mainspace.  Such shortcuts are known as [[WP:pseudo-namespace|pseudo-namespace]] redirects.
* Use this rcat to tag any redirect that is a shortcut '''''to a [[WP:template namespace|template]]''''', which usually has a longer pagename.  The redirect itself does not necessarily have to be a template.
** Note:  Pseudo-namespace template shortcuts such as '''T:S''' above may be transcluded by use of a leading colon:
::: <code><nowiki>{{</nowiki>{{red|''':'''}}<nowiki>T:S|This text has been "struck through".}}</nowiki></code>, which results in:
::: {{:T:S|This text has been "struck through".}}
:: If the leading colon is not included, then the result is a red link:
::: {{T:S|This text has been "struck through".}}
:: These are also useful as shortcuts to the template page itself:
::: {{code|<nowiki>[[T:S]]</nowiki>}}, which results in:
::: [[T:S]] ([[File:Redirect arrow without text.svg|35px]][[Template:Strikethrough]])
* It is important to note that it is the ''target'' that determines the difference between a template shortcut and any other shortcut.  If the shortcut redirect is in ''any namespace'' and the target is a template, then the redirect is a "template shortcut".  Shortcut redirects that target template pages should ''always'' be tagged with {{tlc|R from template shortcut}} and should ''never'' be tagged with {{tlc|R from shortcut}}, which is meant only for shortcuts that do ''not'' target templates.
* It is important to note that it is the ''target'' that determines the difference between a template shortcut and any other shortcut.  If the shortcut redirect is in ''any namespace'' and the target is a template, then the redirect is a "template shortcut".  Shortcut redirects that target template pages should ''always'' be tagged with {{tlc|R from template shortcut}} and should ''never'' be tagged with {{tlc|R from shortcut}}, which is meant only for shortcuts that do ''not'' target templates.
* Also, template talk pages are in the [[WP:talk namespace|talk namespace]] and are not in template space; if the shortcut redirect targets a talk page of ''any'' subject namespace, then use {{tlc|R from shortcut}} ''instead''.
* Important also is the fact that template talk pages are in the [[WP:talk namespace|talk namespace]] and are not in template space; if the shortcut redirect targets a '''talk page''' of ''any'' subject namespace, then use {{tlc|R from shortcut}} ''instead''.


==== Aliases ====
=== Aliases ===
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_from_template_shortcut|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_from_template_shortcut|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used


=== See also ===
== See also ==
* {{tl|R from shortcut}}
* {{tl|R from shortcut}}
* {{tl|R to redirect template}}
* {{tl|R to redirect template}}
Line 42: Line 48:
{{R template index}}
{{R template index}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:All redirect templates]]
[[Category:Redirect templates|Shortcut, template]]
[[Category:Redirect templates|Shortcut, template]]
[[Category:Redirects from template shortcuts| ]]
[[Category:Redirects from template shortcuts| ]]

Latest revision as of 05:01, 3 September 2020

Usage

Use this rcat template in any namespace (most often "Template:" of course, but there are also many templates in "User:" and a few, mostly process-related, in "Wikipedia:").
  • Add this rcat to a redirect in the following manner:
#REDIRECT [[Template:(target page name)]]

{{Rcat shell|
{{R from template shortcut}}
}}
and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[Template:(target page name)]]

{{Rcat shell|
{{R from template shortcut}}
{{R unprintworthy}}
}}
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:
#REDIRECT [[Template:(target page name)]]

{{R from template shortcut}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat to tag any redirect that is a shortcut to a template, which usually has a longer pagename. The redirect itself does not necessarily have to be a template.
  • It is important to note that it is the target that determines the difference between a template shortcut and any other shortcut. If the shortcut redirect is in any namespace and the target is a template, then the redirect is a "template shortcut". Shortcut redirects that target template pages should always be tagged with {{R from template shortcut}} and should never be tagged with {{R from shortcut}}, which is meant only for shortcuts that do not target templates.
  • Important also is the fact that template talk pages are in the talk namespace and are not in template space; if the shortcut redirect targets a talk page of any subject namespace, then use {{R from shortcut}} instead.

Aliases

See also