Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Redirect link/doc

Template page
Revision as of 19:55, 13 December 2025 by imported>RedX
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header Template:Shortcut

Usage

Make a link to a redirect pages. This template detects if the page exists first before making a link. This template can also be used for non-redirect pages.

Parameters

  • Template:P the name of the redirect page to link to.
  • Template:P the display text for the link. Example: display just "JE" instead of "Java Edition".
  • Template:P: add a Template:ItemLink, linking to the special "What links here" page for the redirect page. Useful for cleaning up redirects.
  • Template:P: add a Template:BlockLink, linking to the special "Delete page" page for the page. Useful for cleaning up old pages / redirects.

Examples

Code Result
{{Redirect link|Template:tl|tl}} Template:Redirect link
{{Redirect link|Template:tlink}} Template:Redirect link
{{Redirect link|wlh=1|Page does not exist}} Template:Redirect link
{{Redirect link|wlh=1|Potions of poison}} Template:Redirect link
{{Redirect link|wlh=1|Gold Armor|Gold}} Template:Redirect link
{{Redirect link|d=1|Dolphins}} Template:Redirect link


ko:틀:Redirect link/doc