Template:Trim/doc: Difference between revisions
From TTSK
Template:Trim>ENeRZet text editing |
m 1 revision imported |
(No difference)
| |
Latest revision as of 19:07, 19 August 2023
| This is a documentation subpage for Template:Trim. It contains usage information, categories and other content that is not part of the original Template page. |
This template returns its 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 | |
|---|---|---|---|---|
| Parameter | 1 | The parameter to trim. | Content | required |
Usage
{{trim| {{{1}}} }}
