Template:What links here

From Sarkarverse
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Usage

  • {{what links here|pagename|caption}}

This creates a link to the special What links here page using the first parameter. The default value of the first parameter is the current page name. The first parameter must be the title of an existing page, else of course the special page show no pages link to that non-existent page.

The default value for the second parameter is Pages that link to "pagename". The second parameter can be used to customize the displayed caption.

The intent is to provide a way to build a link to this special page without needing to remember or type [[Special:WhatLinksHere/Page name]].

Examples

  • {{what links here|Wales}}
produces Pages that link to "Wales".
  • {{what links here|Wales|links to "Wales"}}
produces links to "Wales".

Shortcut

See also