Template:What links here: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{Plain link|url={{fullurl:Special:WhatLinksHere|target={{urlencode:{{{1|{{PAGENAME}}}}}}}{{#ifeq:{{{3|{{{ns|{{{namespace|0}}}}}}}}}|all||&namespace={{NAMESPACENUMBER:{{{3|{{{ns|{{{namespace|0}}}}}}}}}:A}}&limit={{{limit|50}}}}}{{{extraparams|}}}}}|name={{#if:{{{2|}}}|{{{2}}}|Pages that link to "{{{1|{{PAGENAME}}}}}"{{#ifeq:{{{3|{{{ns|{{{namespace|}}}}}}}}}|all|<nowiki /> in all namespaces|{{#if:{{{3|{{{ns|{{{namespace|}}}}}}}}}|<nowiki /> in namespace "{{{3..." |
(No difference)
|
Latest revision as of 20:02, 23 February 2025
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
With 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"