Difference between revisions of "Template:R from template shortcut"

From Timelines
Jump to: navigation, search
(condense includeonly)
m (make consistent with Template:R from shortcut)
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|*'''Template shortcut:''' The target is a [[wp:template|template]] whose name is longer than the redirecting tile. This redirect can therefore be used as a [[wp:shortcut|shortcut]] by, for example, entering the text <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> on a page. (For more information, see [[Wikipedia:Redirect#Template redirects]].)
+
<noinclude>{{This is a redirect/rcat}}
 
+
</noinclude>{{Redirect template
[[wp:Linking|Linking]] directly to this redirect is not generally a problem, although it can present confusion as to whether one is referring to this redirect or its target. Under most circumstances, there is no need to link to templates in the [[wp:article namespace]].|&nbsp;
+
  |name=From a template shortcut
----
+
  |from=a shortcut page name '''in ''any'' [[WP:namespace|namespace]]'''
This is a [[wp:redirect|redirect]] to a [[wp:template|template]] with a longer name. It can therefore be used as a [[wp:shortcut|shortcut]] by, for example, entering the text <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> on a page. For more information, see [[Wikipedia:Redirect#Template redirects]].
+
  |to=a page in [[WP:template namespace|template namespace]]
 
+
  |info=** ''If target page is '''not''' a template, then use {{tl|R from shortcut}} instead.''
[[wp:Linking|Linking]] directly to this redirect is not generally a problem, although it can present confusion as to whether one is referring to this redirect or its target. Under most circumstances, there is no need to link to templates in the [[wp:article namespace]].
+
** Template shortcuts are [[wikilink]]ed on community pages, talk pages and edit summaries, but not in [[wp:mainspace|mainspace]] articles. [[WP:Transclusion|Transclusion]]s in mainspace are common and do not need to be "[[WP:NOTBROKEN|fixed]]".
}}<includeonly>
+
** '''Note:'''  ''Template talk pages are in a [[wp:talk namespace|talk namespace]]; they are '''''not''''' in the template namespace. All shortcuts to talk pages should be tagged with {{tlc|R from shortcut}}.''
{{{Category|[[Category:Templates for redirects to templates|{{PAGENAME}}]]}}}
+
  |all category=Redirects from template shortcuts
{{{category|[[Category:Unprintworthy redirects]]}}}
+
  |printworthy=no
</includeonly><noinclude>
+
}}<noinclude>
{{{Category|[[Category:Templates for redirects to templates|Shortcut]]}}}
+
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
{{{Category|[[Category:Templates for redirects from a shorter name|Templates]]}}}
+
{{Documentation}}  
{{{Category|[[Category:All redirect templates|{{PAGENAME}}]]}}}</noinclude>
+
</noinclude>

Latest revision as of 06:31, 12 March 2017

Template:This is a redirect/rcat

Template documentation[create]