Template:Shortcutleft/doc

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(create template/doc)
Current revision (12:30, February 10, 2011) (edit) (undo)
m (Re-write... ref to Shortcut doc)
 
Line 2: Line 2:
{{documentation subpage}}
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
-
<nowiki>{{Shortcutleft]]</nowiki> is like <nowiki>{{Shortcut]]</nowiki> but on the left.
+
{{See|{{tl|Shortcut}} for identical documentation for this template.}}
-
 
+
-
This template is used to display a short ''alias'' for the given page. This template does NOT create the shortcut; it displays the shortcut in a standardized format on the destination page. The optional parameter is typically a link to the shortcut.
+
-
==Usage==
+
-
This template is primarily used on MeritBadgeDotOrg guideline and policy pages to show the shortest alias of a given page. For example, [[MB:SHORT]] redirects to [[MeritBadgeDotOrg:Shortcut]]. The point of this template is not to list every single redirect (indeed, that's what [[Special:Whatlinkshere]] is for); for any given page, it should list only one or two common and easily-remembered redirects.
+
-
 
+
-
Don't use this template on other templates, e.g. to state that the shortcut to [[Template:Foo]] is in fact <nowiki>{{Foo}}</nowiki>. There's no need to state the obvious like that, by default every template uses its own name as a shortcut.
+
-
 
+
-
==Template usage==
+
-
Please use {{tl|template shortcut}} to indicate convenient template redirects, which is specifically intended for that purpose.
+
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
-
[[Category:MB header templates|{{PAGENAME}}]]
+
[[Category:Header templates|{{PAGENAME}}]]
-
 
+
-
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
-
 
+
</includeonly>
</includeonly>

Current revision

This is the documentation page for Template:Shortcutleft/doc.
When viewed directly, links using variables may appear broken; do not replace these with hard-coded page names or URLs.


This documentation is transcluded from Template:Shortcutleft/doc/doc.
This template may have a sandbox (edit) and testcases for editors to experiment.
See: {{Shortcut}} for identical documentation for this template.


Personal tools
language