Template:Title disambig text
| This template, module and/or subpages are based on or ported over completely to BattleTechWiki, using the Creative Commons Licensed content from this page on Wikipedia (The original authors of this page are shown on here). |
| This template uses Lua: |
Usage[edit]
{{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.
Write this to use the current page as title:
{{Title disambig text|{{PAGENAME}}}}
Examples[edit]
{{Title disambig text|Title (whatever)}}→ whatever{{Title disambig text|[[Title (whatever)]]}}→ whatever

