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

From Timelines
Jump to: navigation, search
(Fix my mistake.)
(standardising with Template:Redirect template)
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]].)
+
{{#ifeq:{{{embed}}}|yes|{{Redirect template|name=From a template shortcut|from=a shortcut|to=a template|all category=Redirects from template shortcuts|printworthy=no}}|{{Redirect template|from=a '''[[:Category:Redirects from template shortcuts|shortcut]]'''|to=a template<includeonly>|all category=Redirects from template shortcuts</includeonly>|printworthy=no}}}}<noinclude>
  
[[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;
+
[[Category:Templates for redirects from a shorter name|Template Shortcut]]
----
+
[[Category:Templates for redirects to templates|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]].
+
</noinclude>
 
 
[[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]].
 
}}<includeonly>
 
[[Category:Redirects from template shortcuts]]
 
[[Category:Unprintworthy redirects]]
 
</includeonly><noinclude>
 
[[Category:Templates for redirects to templates]]
 
[[Category:Templates for redirects from a shorter name]]
 
[[Category:All redirect templates]]</noinclude>
 

Revision as of 21:43, 13 April 2011

  • This is a redirect from a shortcut to a template.