Difference between revisions of "Help:Shortcut"

m (Redirected page to Help:Create a Shortcut)
m (Updating)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Help:Create a Shortcut]]
+
{{Shortcut|H:SHORT}}
 +
==Shortcut Defined==
 +
Shortcuts are used as a means of linking quickly, and utilizing a bare minimum amount of space, to a page with a lengthy title (ex: [[BattleTechWiki:Project BattleMechs]], abbreviated as [[BTW:PBM]]).
 +
 
 +
==Create Shortcut==
 +
# Create a page named as that shortcut (ex: BTW:PBM) to represent the target page (ex: BattleTechWiki:Project BattleMechs) as an abbreviation.
 +
# On the new page, add a redirect to the target page by inserting the code '''<nowiki>#REDIRECT [[article name]]</nowiki>''', changing 'article name' to that of the target's name.
 +
# Save the new page.
 +
 
 +
==Create Shortcut Box==
 +
# On the target page, insert the code '''<nowiki>{{shortcut|[[redirect page]]}}</nowiki>''', replacing 'redirect page' with that of the new page. The result will be a small box placed in the top right corner of the original page.
 +
 
 +
==Example==
 +
{{Main|Template:Shortcut/doc#Examples}}
 +
 
 +
==See Also==
 +
* {{tl|Shortcut}} - The template that makes this happen
 +
* {{tl|R from shortcut}} – for placement on the redirect page
 +
* {{tl|Template shortcut}} – used for shortcuts/redirects to a template page
 +
[[Category:Help|{{PAGENAME}}]]

Latest revision as of 17:30, 9 March 2023

Shortcut Defined[edit]

Shortcuts are used as a means of linking quickly, and utilizing a bare minimum amount of space, to a page with a lengthy title (ex: BattleTechWiki:Project BattleMechs, abbreviated as BTW:PBM).

Create Shortcut[edit]

  1. Create a page named as that shortcut (ex: BTW:PBM) to represent the target page (ex: BattleTechWiki:Project BattleMechs) as an abbreviation.
  2. On the new page, add a redirect to the target page by inserting the code #REDIRECT [[article name]], changing 'article name' to that of the target's name.
  3. Save the new page.

Create Shortcut Box[edit]

  1. On the target page, insert the code {{shortcut|[[redirect page]]}}, replacing 'redirect page' with that of the new page. The result will be a small box placed in the top right corner of the original page.

Example[edit]

See Also[edit]