Template:No selflink/doc

This template normally creates a link to a page, but omits the link brackets if it is the page itself. Such a self link would otherwise cause bold text.

This template can be used in another template which links to a page where it is transcluded. This template is not recommended in navigation templates where many readers will expect to see the bold text caused by self links.

Usage

 * First parameter is the page name.
 * Second parameter is optional to specify different link text.

Examples

 * will produce WikiQueer:Guiding principles on any page except on WikiQueer:Guiding principles itself where it would produce the unlinked and unbolded text "WikiQueer:Guiding principles". (The code  would have produced the bold WikiQueer:Guiding principles on that page).
 * will produce a piped link displaying Guiding principles on any page except on WikiQueer:Guiding principles itself where it would produce the unlinked and unbolded text "Guiding principles". (The code  would have produced the bold Guiding principles on that page).