Template:Shortcut: Difference between revisions

From Perplex City Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 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
|-
|
! Shortcut<br />{{{1}}}
{| style="border: 3px solid #cccccc; background: #ffffff; text-align: center; padding: 10px; font-size: smaller;" align=right
|-
| '''Shortcut<br />[[{{{1}}}]]'''
|}
|}
|} [[Category:Shortcutted]]


<noinclude>
<noinclude>
==Usage==
==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]]
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]]
Line 24: Line 24:




[[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.