Template:Trim
Jump to navigation
Jump to search
Borrowed from the Mediawiki Wiki: Template:Trim.
This template returns a given parameter without leading or trailing whitespace. It's primarily for other templates to remove unwanted whitespace passed around an unnamed parameter (named parameters are automatically trimmed by MediaWiki).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The parameter to trim. | Content | required |
Usage
{{trim| {{{1}}} }}