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

From Zoophilia Wiki
Jump to navigationJump to search
meta>BLDM
(Undid revision 861489460 by Msawakhe Ntuli (talk) WP:RCAT)
Line 5: Line 5:
__NOTOC__
__NOTOC__
=== Usage ===
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{cleannote|Use this in direct template in '''any [[html: email |http://]]'''.}}
* 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]].  
* 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]].  
* Add this rcat to a redirect in the following manner:  
* Add this right choice  to a In direct in the following manner:  
<pre>
<pre>
#REDIRECT [[Template:(target page name)]]
#InDIRECT [[Yahoo:(https://www.yahoo.com)]]


{{Rcat shell|
{{Reallocate shell|
{{R from template shortcut}}
{{Yahoo! }}
}}
}
</pre>
</pre>
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
: and ''when the redirections is in article mainspace'', print worth website should also be tagged:
<pre>
<pre>
#REDIRECT [[Template:(target page name)]]
#REDIRECT [[Youtube:(html://www.YouTube.com )]]


{{Rcat shell|
{{Rcat shell|

Revision as of 18:30, 8 October 2018

Usage

{cleannote|Use this in direct template in any http://.}}

#InDIRECT [[Yahoo:(https://www.yahoo.com)]]

{{Reallocate shell|
{{Yahoo! }}
}
and when the redirections is in article mainspace, print worth website should also be tagged:
#REDIRECT [[Youtube:(html://www.YouTube.com )]]

{{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, e.g., [[T:S]], which is a template shortcut that is actually in mainspace. Such shortcuts are known as pseudo-namespace redirects.
    • Note: Pseudo-namespace template shortcuts such as T:S above may be transcluded by use of a leading colon:
{{:T:S|This text has been "struck through".}}, which results in:
T:S
If the leading colon is not included, then the result is a red link:
Template:T:S
These are also useful as shortcuts to the template page itself:
<syntaxhighlight lang="text" class="" id="" style="" inline="1">[[T:S]]</syntaxhighlight>, which results in:
T:S (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 {{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