• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:What links here/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:What links here
This is the template sandbox page for Template:What links here (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis 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.
Shortcuts
  • {{WLHTemplate:WLH}}
  • {{wlhTemplate:Wlh}}

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

edit

With no parameters, this template produces a link for the current page. By default, only the links from main (article) namespace are shown.

  • {{What links here}} → Pages that link to "What links here/sandbox"

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"
The above documentation is transcluded from Template:What links here/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:What_links_here/sandbox&oldid=987358281"
Last edited on 6 November 2020, at 14:33

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 6 November 2020, at 14:33 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop