Template:Shortcut: Difference between revisions

From Perplex City Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
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;"
{| style="border: 3px solid #666666; background: #999999; text-align: center; padding: 1px; font-size: smaller;" align=right
|-
|
! [[Wikipedia:Shortcut|Shortcut]]:<br />{{{1}}}
{| style="border: 3px solid #cccccc; background: #ffffff; text-align: center; padding: 10px; font-size: smaller;" align=right
|-
| '''Shortcut<br />[[{{{1}}}]]'''
|}<noinclude>
|}
|} [[Category:Shortcutted]]
 
<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:V]] redirects to [[Wikipedia:Verification]]


Please '''do not 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, '''each''' template uses its own name as a shortcut, by default.
This template is taken fFrom Wikipedia and is used to show the shortest alias of a given page. For example, [[WP:V]] redirects to [[Wikipedia:Verification]]
 
Usage is this:
 
in your main page, you place the fFollowing:
 
<nowiki>{{shortcut|[[XXX]]}}</nowiki>
 
Where XXX is the shortcut name you want to use.  XXX will then be a link. Then you need to go to your new blank page XXX and create a redirect.  That is done like this:
 
<nowiki>#REDIRECT [[My Original Page With A Very Long Name]]</nowiki>
 
Then you may always use the shortened page name XXX as a valid page, and you will have a swanky little grey box on the side of your page pointing people towards that shortcut.
 


This text was stolen straight out of http://en.wikipedia.org/w/index.php?title=Template:Shortcut&action=edit -- I'll edit it fFor use if i can make it work.
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:19, 29 September 2006

Shortcut
[[{{{1}}}]]


Usage

This template is taken fFrom Wikipedia and is used to show the shortest alias of a given page. For example, WP:V redirects to Wikipedia:Verification

Usage is this:

in your main page, you place the fFollowing:

{{shortcut|[[XXX]]}}

Where XXX is the shortcut name you want to use. XXX will then be a link. Then you need to go to your new blank page XXX and create a redirect. That is done like this:

#REDIRECT [[My Original Page With A Very Long Name]]

Then you may always use the shortened page name XXX as a valid page, and you will have a swanky little grey box on the side of your page pointing people towards that shortcut.