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

From Timelines
Jump to: navigation, search
m (moved Template:R from template shortcut to Template:R to template shortcut: Per discussion at Template_talk:R_from_other_template#Mistake.)
m (make consistent with Template:R from shortcut)
 
(24 intermediate revisions by 5 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:Redirects to template shortcuts]]
+
  |all category=Redirects from template shortcuts
[[Category:Unprintworthy redirects]]
+
  |printworthy=no
</includeonly><noinclude>
+
}}<noinclude>
[[Category:Templates for redirects to templates]]
+
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
[[Category:Templates for redirects from a shorter name]]
+
{{Documentation}}
[[Category:All redirect templates]]</noinclude>
+
</noinclude>

Latest revision as of 06:31, 12 March 2017

Template:This is a redirect/rcat

Template documentation[create]