ទំព័រគំរូ:Title without disambig/doc
This is a documentation subpage for ទំព័រគំរូ:Title without disambig. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
This template 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 the template used by the new VisualEditor.
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
ទំព័រគំរូ:Navbox string handling templates