Template:Trim brackets
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This documentation is transcluded from Template:Trim brackets/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Usage
{{Trim brackets|input}}
Description
Utility template used to trim square brackets ([
and ]
). For past versions of {{Shortcut}}, square brackets had to be added manually, but for past versions of {{Shortcuts}}, square brackets would be unsightly. As the former now redirects to the latter, this template's job is to normalize the markup for compatibility and simplicity.