Template:No self-redirect
Appearance
(Redirected from Template:Link if not self-redirect)
[[]]
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