Difference between revisions of "Help:Shortcut"
m (correcting Help topic to be inline with others) Tag: Removed redirect |
m (Updating) |
||
Line 1: | Line 1: | ||
+ | {{Shortcut|H:SHORT}} | ||
==Shortcut Defined== | ==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]]). | 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]]). | ||
Line 10: | Line 11: | ||
# 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. | # 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}}]] | [[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]
- 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 #REDIRECT [[article name]], changing 'article name' to that of the target's name.
- Save the new page.
Create Shortcut Box[edit]
- 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]
- {{Shortcut}} - The template that makes this happen
- {{R from shortcut}} – for placement on the redirect page
- {{Template shortcut}} – used for shortcuts/redirects to a template page