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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
m (Undid revision 639162419 by Jdaloner (talk) return to status quo per wp:NOTBROKEN)
meta>Paine Ellsworth
m (→‎Usage: clarify)
Line 23: Line 23:
:: These are also useful as shortcuts to the template page itself:
:: These are also useful as shortcuts to the template page itself:
::: {{code|<nowiki>[[T:S]]</nowiki>}}, which results in:
::: {{code|<nowiki>[[T:S]]</nowiki>}}, which results in:
::: [[T:S]]
::: [[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''.
* 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''.

Revision as of 23:44, 26 January 2015

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 (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.
  • 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

See also