Template:Shortcut: Difference between revisions

From Perplex City Wiki
Jump to navigationJump to search
(Category:Shortcutted Well, if you're going to have shortcuts, it might be nice to have a shortcut fFinding them, right?)
mNo edit summary
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;"
{| 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;"
|-
|-
! Shortcut<br />{{{1}}}
! Shortcut<br />[[{{{1}}}]]
|-
|-
|} [[Category:Shortcutted]]
|} [[Category:Shortcutted]]

Revision as of 00:57, 8 March 2006

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


Usage

AH! I see! the link given is simply a redirect! ok! duh!

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.