Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

Template shortcut

From HR Wiki Twice
Revision as of 14:24, 14 July 2026 by imported>HRWikiMirrorBot (Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Shortcut:

Usage:

When linking to a shortcut using the HRW or HRWT namespace aliases, simply enter the target name (without the namespace) as a template parameter. In all of the examples below, HRWT would automatically be used instead of HRW if the template is used on a talk page:

Template:Shortcut — automatically links to HRW:SHORTCUT1 (Note that the HRW: namespace alias is automatically added) or

Template:Shortcut — automatically links to HRW:SHORTCUT1 and HRW:SHORTCUT2 or

Template:Shortcut — same as above, except the third parameter requires extra formatting since it's a free-for-all. As shown, it links to HRW:SHORTCUT3, but you could string any number of extra links in the form: HRW:SHORTCUT3
HRW:SHORTCUT4 — adds links to HRW:SHORTCUT3 and HRW:SHORTCUT4 SHORTCUT3
HRWiki:SHORTCUT4 — adds links to SHORTCUT3 and HRWiki:SHORTCUT4

This last parameter is used when you need to link to non-HRW pages or the page contains more than two shortcuts. You may link to an HRW shortcut page and a non-HRW page like so (note in the following example that the second parameter is empty):

Template:Shortcut — will link to HRW:SHORTCUT1 and SHORTCUT3 respectively

If there are not currently any HRW namespace links, you can skip straight to the third parameter (although creating at least one HRW link is strongly preferred).

Template:Shortcut — will link to SHORTCUT

The word "Shortcut" is automatically made plural if it can tell that there is more than one link. To set the value manually, set plural=true or plural=false:

Template:Shortcut

If the shortcuts are better placed on the left side of the page, you can set float=left:

Template:Shortcut