Template:Title without disambig/doc

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
Examples:



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