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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(add "include only" cat: Unprintworthy redirects)
 
(30 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>{{#ifeq:{{{embed}}}|yes
[[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;
+
|{{Redirect template
----
+
  |name=From a template shortcut
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]].
+
  |from=a shortcut page name '''in ''any'' namespace'''
 
+
  |to=a page in template namespace
[[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]].
+
  |info=** ''{{du|If target page is '''not''' a template}}, then use {{tl|R from shortcut}} instead.''  Template shortcuts are [[wikilink]]ed on community pages, talk pages and edit summaries, but not in [[wp:mainspace|mainspace]] articles.
}}<includeonly>{{{Category|[[Category:Templates for redirects to templates|{{PAGENAME}}]]}}}</includeonly><noinclude>
+
** '''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}}.''
 +
  |all category=Redirects from template shortcuts
 +
  |printworthy=no
 +
}}
 +
|{{Redirect template
 +
  |from=a '''[[:Category:Redirects from template shortcuts|shortcut page name]] in ''any'' namespace'''
 +
  |to=a page in template namespace.  For more information follow the bold category link
 +
  |info=** ''{{du|If target page is '''not''' a template}}, then use {{tl|R from shortcut}} instead.''  Template shortcuts are [[wikilink]]ed on community pages, talk pages and edit summaries, but not in [[wp:mainspace|mainspace]] articles.
 +
** '''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>
 
<includeonly>
{{{category|[[Category:Unprintworthy redirects]]}}}
+
  |all category=Redirects from template shortcuts</includeonly>
</includeonly>
+
  |printworthy=no
{{{Category|[[Category:Templates for redirects to templates|Shortcut]]}}}
+
}}
{{{Category|[[Category:Templates for redirects from a shorter name|Templates]]}}}
+
}}<noinclude>
{{{Category|[[Category:All redirect templates|{{PAGENAME}}]]}}}</noinclude>
+
{{Documentation}}  
 +
</noinclude>

Latest revision as of 04:19, 7 March 2016

Template:This is a redirect/rcat {{#invoke:Redirect template|main}}

Documentation icon Template documentation[create]