Template:Template shortcut

Template page
Revision as of 19:39, 31 January 2023 by x>BakiDance (Created page with "<div role="note" class="module-shortcutboxplain plainlist plainlinks noprint"><!-- Adding the shortcut links: --><div class="module-shortcutlist">{{#if:{{{redirect|}}} |Redirect |Shortcut}}{{#if:{{{2|}}}|s}}</div> {{bulleted list | {{#if: {{{1|<noinclude>{{PAGENAME}}</noinclude>}}} | {{{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{#if:true|{{{1}}}}}] |Template:{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}|{{#if:true|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Template shortcut/doc. Changes can be proposed in the talk page.

This template displays one or more of a template's shortcuts (that is, redirects, also known as aliases, as in the box appearing at the right. {{Template:Template shortcut}} is a shortcut to this template, {{template shortcut}}, and can be used in its place. See Wikipedia:Template:Template shortcut for more details. Note that there are no optional parameter in this template.

Usage

Place this template and its list of few to one, carefully selected shortcut(s) at the top of the template documentation page's wikitext, right underneath {{Documentation}}. In the saved, rendered text, those shortcuts will appear in this template's Shortcut(s) box, whose title will reflect the number of list items by automatically being singular or plural in form.

Which ones to display here

Although the template can show up to ten shortcuts, you are encouraged to choose well which ones to display in this template's box. Even if many redirects exist, two or three at the most is almost always enough. By keeping the number of redirects presented in the Shortcut box small, it makes it easier to remember them, and the documentation is kept well organized.

Where to list any others

List others in the Redirects section of the template documentation. Again, not all of them need to be listed; some shortcuts are there just for historical reasons, and others differ only in minor points such as white spaces or capitalization. Such shortcut-name variations are unnecessary to list at all—just list the standard, most common version of such a variation.