Template:Title disambig text

From UBC Wiki
Documentation icon Template documentation[view] [edit] [history] [purge]
Lua String-based templates

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.

Examples

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

See also

Script error: The function "navbox" does not exist.