Template:No self-redirect
Jump to navigation
Jump to search
[[]]
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
{{No self-redirect|pagename}}
or
{{No self-redirect|pagename|link text}}
Examples
- {{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