Template:Title disambig text

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

{{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[edit source]

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

See also[edit source]

External links[edit source]