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

From Timelines
Jump to: navigation, search
(Created page with '{{#if:{{{1|}}}|*'''Template shortcut:''' The target is a wp:template whose name is longer than the redirecting tile. This redirect can therefore be used as a [...')
 
m (make consistent with Template:R from shortcut)
 
(33 intermediate revisions by 8 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]]".
}}
+
** '''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}}.''
<includeonly>{{Category:[[Category:Redirects from template shortcuts]]}}</includeonly>
+
  |all category=Redirects from template shortcuts
<noinclude>{{Category:[[Category:Templates for redirects to templates|Shortcut]]}}</noinclude>
+
  |printworthy=no
<noinclude>{{Category:[[Category:Templates for redirects from a shorter name|Templates]]}}</noinclude>
+
}}<noinclude>
<noinclude>{{Category:[[Category:All redirect templates]]}}</noinclude>
+
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
 +
{{Documentation}}  
 +
</noinclude>

Latest revision as of 06:31, 12 March 2017

Template:This is a redirect/rcat

Template documentation[create]