Template:Title disambig text/doc

From MattWiki
Jump to: navigation, search

Usage

<code>{{Title disambig text|Title (disambig)}}</code>

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

Examples

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

See also