FANDOM


Template:Lua

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

Usage

Template:Tlc

Examples:

Template data

Template:TemplateDataHeader <templatedata> {

       "description": "Removes parenthetical part from page titles, if there is one.",
       "params": {
               "1": {
                       "label": "Page Title",
                       "description": "Page title which may contain parts in brackets which will be removed.",
                       "type": "string",
                       "required": true
               }
       }

} </templatedata>


See also


Template:String-handling templates


Community content is available under CC-BY-SA unless otherwise noted.