Template:No Selflink

Revision as of 05:33, 28 June 2026 by Shirra (talk | contribs) (Created page with "<includeonly><!-- Check for fullpagename match, if match then post unformatted text -->{{#ifeq:{{FULLPAGENAME}}|{{{1|}}}|{{{2|{{{1}}}}}}|<!-- Check for rootpagename match, if match then post unformatted text -->{{#ifeq:{{ROOTPAGENAME}}|{{{1|}}}|{{{2|{{{1}}}}}}|<!-- Else post labeled link -->{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Template to prevent selflinks from appearing bolded; instead, they will just appear as normal plain text if they are on the page. This also applies to subpages in the main namespace: links to Handbook on Handbook/Planar Travel will appear as plain text.

This template was adopted from Template:No selflink on Wikipedia.

Syntax

{{No Selflink|page name|link label (optional)}}

Examples

{{No Selflink|Template:No Selflink}} yields: Template:No Selflink

{{No Selflink|Template:No Selflink/doc}} yields: Template:No Selflink/doc

{{No Selflink|Template:No Selflink/doc|No Selflink Documentation Page}} yields: No Selflink Documentation Page

{{No Selflink|Kiana}} yields: Kiana

Template Data

Template for different formatting of self links.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Page name to link to

Page namerequired
22

Link label

Stringoptional