• 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

  • Template
  • Talk
  • Language
  • Watch
  • View source
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

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"

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&oldid=1165502080"
Last edited on 15 July 2023, at 15:49

Languages

    • العربية
    • فارسی
    • Latina
    • മലയാളം
    • 日本語
    • ਪੰਜਾਬੀ
    • Română
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenščina
    • کوردی
    • တႆး
    • తెలుగు
    • Tiếng Việt
    • 粵語
    • 中文
    • Jaku Iban
    • ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 15 July 2023, at 15:49 (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