Template:Title disambig text/doc: Difference between revisions

From Fallenchungus Wiki
Jump to navigation Jump to search
m add high-use template
 
m 1 revision imported
 
(No difference)

Latest revision as of 11:17, 25 May 2025

Usage

{{Title disambig text|Title (disambig)}}

If page title is of the form Title (disambig), this function will return disambig. If no parenthetical expression is present, returns an empty string.

Write this to use the current page as title:

{{Title disambig text|{{PAGENAME}}}}

Examples

  • {{Title disambig text|Title (whatever)}} → whatever
  • {{Title disambig text|[[Title (whatever)]]}} → whatever

See also