Difference between revisions of "Template:Shortcut"

From MINR.ORG WIKI
(added category)
(Merging in logic changes from Template:shortcut/)
Line 1: Line 1:
{| id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: 0 0 .5em 1em; text-align: center; padding: 5px; float: {{{float|right}}}; clear: {{{clear|right}}}; font-size: smaller;"
+
<includeonly>{{{1{{{1|}}}|!! id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px; float: right" align="center" valign="top" {{!}} <small>[[Wikipedia:Shortcut|Shortcut]]:<br />{{{1|}}}</small>}}}</includeonly><noinclude>
|-
+
{{shortcut}}
! [[Wikipedia:Shortcut|Shortcut]]:<br />{{{1}}}
 
|-
 
|}<noinclude>
 
 
==Usage==
 
==Usage==
 
This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, [[WP:SHORT]] redirects to [[Wikipedia:Shortcut]]
 
This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, [[WP:SHORT]] redirects to [[Wikipedia:Shortcut]]

Revision as of 14:45, 20 April 2006

!! id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px; float: right" align="center" valign="top" | Shortcut:

Usage

This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, WP:SHORT redirects to Wikipedia:Shortcut

Please do not use this template on other templates, e.g. to state that the shortcut to Template:Foo is in fact {{Foo}}. There's no need to state the obvious like that, each template uses its own name as a shortcut, by default.