<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AShortcut%2Fdoc</id>
	<title>Template:Shortcut/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AShortcut%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Shortcut/doc&amp;action=history"/>
	<updated>2026-06-16T07:21:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.midsouthmakers.org/index.php?title=Template:Shortcut/doc&amp;diff=931&amp;oldid=prev</id>
		<title>Dan9186: Created page with &#039;{{documentation subpage}}  This is the documentation for {{tl|shortcut}} and its sister templates. The &#039;&#039;shortcut&#039;&#039; family of templates is put in context here, but they each have…&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Shortcut/doc&amp;diff=931&amp;oldid=prev"/>
		<updated>2010-02-06T18:14:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{documentation subpage}}  This is the documentation for {{tl|shortcut}} and its sister templates. The &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; family of templates is put in context here, but they each have…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&lt;br /&gt;
This is the documentation for {{tl|shortcut}} and its sister templates.&lt;br /&gt;
The &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; family of templates is put in context here,&lt;br /&gt;
but they each have [[#See also|there own documentation pages]].&lt;br /&gt;
&lt;br /&gt;
A shortcut template is a sort of evolved &amp;#039;&amp;#039;anchor&amp;#039;&amp;#039; template,&lt;br /&gt;
but it adds a visual &amp;#039;&amp;#039;box&amp;#039;&amp;#039; graphic to the rendered page as well as providing an alternative name.&lt;br /&gt;
Creating a redirect page is a requirement to fulfill the shortcut mechanism.&lt;br /&gt;
&lt;br /&gt;
The characteristics of the &amp;#039;&amp;#039;box&amp;#039;&amp;#039; graphic are determined by which of the family of shortcut templates are chosen.&lt;br /&gt;
For example the &amp;#039;&amp;#039;policy shortcut&amp;#039;&amp;#039; box has the word &amp;#039;&amp;#039;policy&amp;#039;&amp;#039; on it for use on policy pages.&lt;br /&gt;
The graphic alignment of the box depends on the whether its a &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; or a &amp;#039;&amp;#039;shorcut-l&amp;#039;&amp;#039;.&lt;br /&gt;
*{{tl|shortcut}} — right-aligned box.&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{tl|shortcut-l}} – left aligned box.&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{tl|policy shortcut}} – &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; that also says &amp;quot;policy&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
*{{tl|Ombox/Shortcut}} – &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; that embeds into message boxes.&amp;lt;br /&amp;gt;&lt;br /&gt;
This template is not normally used for articles in the main namespace because the graphic produces an avoidable [[WP:SELF|self-reference]].&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
# Insert the shortcut.  If it is to a section, put it on the line above the section title.&lt;br /&gt;
# Create a redirect page with the {{tl|R from shortcut}} template suffixed to the redirect. Name the page after your shortcut name.  Include the namespace name in both the shortcut name and the redirect page name. For example, substituting your own shortcut name as the title of the page, and substituting the proper namespace, add the following as the top-line on your redirect page:&lt;br /&gt;
#:&amp;lt;nowiki&amp;gt;#REDIRECT [[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;Namespace&amp;#039;&amp;#039;:&amp;#039;&amp;#039;Title of page with&amp;#039;&amp;#039;#&amp;#039;&amp;#039;Optional very long section name&amp;#039;&amp;#039;]] &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;lt;tt&amp;gt;R from shortcut&amp;lt;/tt&amp;gt;}}&lt;br /&gt;
# Verify operation.  Note that shortcut templates should display in all capitals, but operate without all capitals.&lt;br /&gt;
&lt;br /&gt;
Be careful not use a  &amp;#039;&amp;#039;policy template&amp;#039;&amp;#039; on a guideline or essay.&lt;br /&gt;
&lt;br /&gt;
These templates are mainly used on user pages and talk pages in reference to Wikipedia, Help, and Portal namespaces. These templates inform about the shortcuts available to the page they are on. For example, [[WP:SHORT]] redirects to [[Wikipedia:Shortcut]] and therefore Wikipedia:Shortcut renders a shortcut box listing WP:SHORT.  It is a self-reference that is normally avoided in the main article namespace.&lt;br /&gt;
&lt;br /&gt;
The point of these templates is not to list every single redirect for a page (indeed, that&amp;#039;s what &amp;quot;[[Special:WhatLinksHere|What links here]]&amp;quot; is for), instead they should list only one or two common and easily-remembered redirects.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;shortcut&amp;#039;&amp;#039; template can take up to five shortcuts as parameters. &lt;br /&gt;
&lt;br /&gt;
For policy pages you can use {{t1|policy shortcut}} which takes up to ten shortcuts as parameters.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | {{tlc|{{BASEPAGENAME}}|WP:SHORT}}&lt;br /&gt;
| {{{{BASEPAGENAME}}|WP:SHORT}}&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | {{tlc|{{BASEPAGENAME}}|WP:V|WP:VERIFY|WP:SOURCE}}&lt;br /&gt;
| {{{{BASEPAGENAME}}|WP:V|WP:VERIFY|WP:SOURCE}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Anchors ===&lt;br /&gt;
&lt;br /&gt;
These templates automatically add [[HTML element#Anchor|anchors]]. If a shortcut box with the shortcut [[WP:SHORT]] is placed on the page [[Wikipedia:Shortcut]] then the link [[Wikipedia:Shortcut#WP:SHORT]] will take you to the position in the page where that shortcut box is placed.&lt;br /&gt;
&lt;br /&gt;
For instance, try this link: [[#WP:SHORT]]&lt;br /&gt;
&lt;br /&gt;
Thus if you make a shortcut for a section of a page then you can use the anchor in the shortcut redirect itself. Like this:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#REDIRECT [[Pagename#WP:SHORT]] {{R from shortcut}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[Wikipedia:Shortcut]] – The how-to guide and guideline about how and when to create shortcuts and shortcut boxes. A must-read for anyone handling shortcuts.&lt;br /&gt;
* {{tl|R_from_shortcut}}&lt;br /&gt;
* {{tl|anchor}} - a way to overcome the otherwise permanent fact that section titles are the only way to link to a section&lt;br /&gt;
* {{tl|shortcut-l}} – For left aligned normal shortcuts.&lt;br /&gt;
* {{tl|policy shortcut}} – For shortcuts to sections of policy pages.&lt;br /&gt;
* {{tl|template shortcut}} – Use this one to show the names of shortcuts/redirects to a template.&lt;br /&gt;
* {{tl|Ombox/Shortcut}} – for embedding into message boxes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia header templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan9186</name></author>
	</entry>
</feed>