Template:Title without disambig

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

Removes disambiguation part from page titles, if there is one. More precisely, finds first ( ... ) in the parameter and removes it.

Usage

{{title without disambig|page title}}

Examples:

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

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Title without disambig

Removes parenthetical part from page titles, if there is one.

Template parameters

ParameterDescriptionTypeStatus
Page Title1

Page title which may contain parts in brackets which will be removed.

Stringrequired


See also

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