Template:Title without disambig
File:Lua-logo-nolabel.svg|30px|alt=Lua logo|link=Wikipedia:Lua | Uses Lua:
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page Title | 1 | Page title which may contain parts in brackets which will be removed. | String | required |
See also
- Template:PAGENAMEBASE: uses the name of the current page as the input string.
- Template:Title disambig text: returns text within disambig parenthesis
Script error: The function "navbox" does not exist.
The above documentation is transcluded from Template:Title without disambig/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |