Template:Mbox

Removes disambiguation part from page titles, if there is one. More precisely, finds first ( in the parameter and removes everything from position one character before it (that one character should be usually a space).

Usage

{{title without disambig|page title}}

Examples:

  • {{title without disambig|foo (bar)}} → "foo"
  • {{title without disambig|foo bar}} → "foo bar"

Note: This template uses {{str find}}, so it doesn't find brackets more than 50 characters from beginning of the string.

See also

Description of all string templates