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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
m (temporarily disable discussed template)
meta>Paine Ellsworth
(clarify text)
Line 2: Line 2:
<!-- 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]]) -->
{{Substitution|not}}
{{Substitution|not}}
{{Tsh|R ts|R tsh}}
{{Tsh|R tsh|R ts}}
__NOTOC__
__NOTOC__
=== Usage ===
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
* 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.  At some point in the future, [[Jimmy Wales]] wants to make more <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed versions]</span> 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.  At some point in the future, [[Jimmy Wales]] wants to make more <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed versions]</span> of ''Wikipedia'' encyclopedia articles.  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 rcat to a redirect in the following manner:  
<pre>
<pre>
#REDIRECT [[(target page name)]]
#REDIRECT [[Template:(target page name)]]


{{R from template shortcut}}
{{R from template shortcut}}
Line 15: Line 15:
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
* Use this rcat on 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 the Main (article) namespace. Such shortcuts are called [[WP:pseudo-namespace|pseudo-namespace]] redirects.
* Use this rcat on 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.
** Note:  Pseudo-namespace template shortcuts such as '''T:S''' above ''can be transcluded'' by use of a leading colon, as in...
** Note:  Pseudo-namespace template shortcuts such as '''T:S''' above may be transcluded by use of a leading colon:
:::<code><nowiki>{{</nowiki>{{red|''':'''}}T:S|This text has been "struck through".}}</code>, which results in...
::: <code><nowiki>{{</nowiki>{{red|''':'''}}<nowiki>T:S|This text has been "struck through".}}</nowiki></code>, which results in:
:::<!--{{:T:S|--><s>This text has been "struck through".</s><!--}}-->
::: {{:T:S|This text has been "struck through".}}
* 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 namespace pages should be tagged with the {{tl|R from template shortcut}} and ''never'' be tagged with the plain {{tl|R from shortcut}} rcat, which is meant only for shortcuts that are ''not'' to templates.
:: If the leading colon is not included, then the result is a red link:
* Also, template talk pages are in the [[WP:talk namespace|talk namespace]], not in template space; if the shortcut is to a talk page of ''any'' subject namespace, then use {{tl|R from shortcut}} instead of this rcat.
::: {{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]]
* 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''.


==== Aliases ====
==== Aliases ====
Line 26: Line 31:


=== See also ===
=== See also ===
* {{tl|R to redirect template}}
* {{tl|R to template namespace}}
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]


Line 34: Line 41:
[[Category:All redirect templates]]
[[Category:All redirect templates]]
[[Category:Redirect templates|Shortcut, template]]
[[Category:Redirect templates|Shortcut, template]]
[[Category:Unprintworthy redirects| ]]
[[Category:Redirects from template shortcuts| ]]
[[Category:Templates for redirects from a shorter name|Shortcut, template]]
[[Category:Templates for redirects from a shorter name|Shortcut, template]]
[[Category:Templates for redirects to templates|Shortcut, template]]
[[Category:Templates for redirects to templates|Shortcut, template]]
[[Category:Templates for unprintworthy redirects|Shortcut, template]]
[[Category:Templates for unprintworthy redirects|Shortcut, template]]
[[Category:Redirects from template shortcuts| ]]
[[Category:Unprintworthy redirects| ]]


}}</includeonly>
}}</includeonly>

Revision as of 19:26, 23 October 2014

Usage

Use this rcat template in any namespace.
#REDIRECT [[Template:(target page name)]]

{{R from template shortcut}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Template {{This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
  • Use this rcat on 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
  • 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.
  • Also, 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

  • Click here for a list of templates that redirect here and that may also be used.

See also