This is the template sandbox page for Template:What links here (diff). See also the companion subpage for test cases. |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template creates a link to the special page What links here. A particular namespace can be specified, and the link can be given a title.
Usage
editWith no parameters, this template produces a link for the current page. By default, only the links from main (article) namespace are shown.
With a page name:
{{What links here|Example}}
→ Pages that link to "Example"
With a link title:
{{What links here|Example|Titled link}}
→ Titled link
For all namespaces:
{{What links here|Example||all}}
→ Pages that link to "Example" in all namespaces
With no title, but specifying a namespace:
{{What links here|Example||Wikipedia}}
→ Pages that link to "Example" in namespace "Wikipedia"
With a title and a namespace:
{{What links here|Example|Titled link with a namespace|Wikipedia}}
→ Titled link with a namespace
Only transclusions in the Template namespace:
{{What links here|Template:tbullet||Template|extraparams=&hidelinks=1&hideredirs=1}}
→ Pages that link to "Template:tbullet" in namespace "Template"