Template:R from template shortcut/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>78.26 m Reverted 1 edit by Asifbothers 56 (talk) to last revision by Paine Ellsworth. (TW) |
meta>Paine Ellsworth m →Usage: update /doc |
||
Line 3: | Line 3: | ||
{{Tsh|R ts|R tsh}} | {{Tsh|R ts|R tsh}} | ||
=== Usage === | === Usage === | ||
{{hatnote|Use this | {{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}} | ||
* This redirect category ([[WP:RCAT| | * This redirect category ([[WP:RCAT|rcat]]) template populates [[:Category:Redirects from template shortcuts]] and, when the shortcut is in the 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 "unprintworthy". | ||
* Add this | * Add this rcat to a redirect in the following manner: | ||
<code><nowiki>#REDIRECT [[(Target page name)]] {{R from template shortcut}}</nowiki></code> | <code><nowiki>#REDIRECT [[(Target page name)]] {{R from template shortcut}}</nowiki></code> | ||
: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 | * Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect. | ||
* Use this | * 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|example text}}</code>, which results in {{:T:S|example text}}. | ** 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|example text}}</code>, which results in {{:T:S|example text}}. | ||
* 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}} | * 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. | ||
==== Redirects ==== | ==== Redirects ==== |
Revision as of 07:13, 4 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 shortcuts such as T:S above can be transcluded by use of a leading colon, as in
{{:T:S|example text}}
, which results in T:S.
- Note: Pseudo-namespace shortcuts such as T:S above can be transcluded by use of a leading colon, as in
- 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}}