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

Template:No self-redirect

  • Template
  • Talk
  • Language
  • Watch
  • Edit
(Redirected from Template:Link if not self-redirect)
Template documentation[view] [edit] [history] [purge]

This template normally makes a link but displays unlinked text if a link would be a self-redirect to the page itself, or a self-link directly to the page itself.

Usage

edit

{{No self-redirect|pagename}}

or

{{No self-redirect|pagename|link text}}

Examples

edit
  • {{No self-redirect|Wikipedia}} → Wikipedia
  • {{No self-redirect|Wikipedia|encyclopedia}} → encyclopedia
  • {{No self-redirect|Template:No self-redirect}} → Template:No self-redirect
  • {{No self-redirect|Template:No self-redirect|the template}} → the template

Template:Link if not self-redirect is a redirect to Template:No self-redirect.

  • {{No self-redirect|Template:Link if not self-redirect}} → Template:Link if not self-redirect
  • {{No self-redirect|Template:Link if not self-redirect|the template}} → the template
The above documentation is transcluded from Template:No self-redirect/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:No_self-redirect&oldid=1304301559"
Last edited on 5 August 2025, at 05:54

Languages

    • فارسی
    • ਪੰਜਾਬੀ
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 5 August 2025, at 05:54 (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