Template:R from template shortcut/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth m →Usage: update /doc |
meta>Paine Ellsworth m update /doc |
||
Line 4: | Line 4: | ||
=== 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 [[:Category:Redirects from template shortcuts]] and, when the shortcut is in the | * This redirect category ([[WP:RCAT|rcat]]) template populates [[:Category:Redirects from template shortcuts]] and, when the shortcut is in the [[wp:Mainspace|main (article)]] namespace, the {{c|Unprintworthy redirects}} category. At some point in the future, [[Jimmy Wales]] wants to make a printed version of the full ''Wikipedia'' encyclopedia, and template-shortcut redirects from the main namespace 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> | |||
#REDIRECT [[(target page name)]] | |||
{{R from template shortcut}} | |||
</pre> | |||
: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 the Main (article) namespace. Such shortcuts are called [[WP:pseudo-namespace|pseudo-namespace]] redirects. | ||
** Note: Pseudo-namespace shortcuts such as '''T:S''' above ''can be transcluded'' by use of a leading colon, as in <code><nowiki>{{</nowiki>:T:S| | ** Note: Pseudo-namespace template shortcuts such as '''T:S''' above ''can be transcluded'' by use of a leading colon, as in... | ||
:::<code><nowiki>{{</nowiki>{{red|''':'''}}T:S|This text has been "struck through".}}</code>, which results in... | |||
:::{{: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. | * 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. | ||
Revision as of 06:11, 5 May 2014
This is a documentation subpage for Template:R from template shortcut. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
Use this rcat template in any namespace.
- This redirect category (rcat) template populates Category:Redirects from template shortcuts and, when the shortcut is in the main (article) namespace, the Unprintworthy redirects category. At some point in the future, Jimmy Wales wants to make a printed version of the full Wikipedia encyclopedia, and template-shortcut redirects from the main namespace are not suitable for a printed version. In other words they are unprintworthy.
- Add this rcat to a redirect in the following manner:
#REDIRECT [[(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 the Main (article) namespace. Such shortcuts are called pseudo-namespace redirects.
- Note: Pseudo-namespace template shortcuts such as T:S above can be transcluded by use of a leading colon, as in...
{{:T:S|This text has been "struck through".}}
, 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 namespace pages should be tagged with the {{R from template shortcut}} and never be tagged with the plain {{R from shortcut}} rcat, which is meant only for shortcuts that are not to templates.
Redirects
- Click here for a list of templates that redirect here and that may also be used.
See also
- {{R from shortcut}}, used mainly in Wikipedia Project namespace – not for use on template shortcuts.
- {{R template index}}