Difference between revisions of "Template:Trim/doc"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
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). | |||
== Usage == | == Usage == | ||
Latest revision as of 17:23, 6 January 2022
- - -
There is a documentation subpage housing the metadata about parent template: Trim.
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).
Usage
{{trim| {{{1}}} }}
See Also
- stole from https://www.mediawiki.org/wiki/Template:Trim
Template Data
stole from mediawiki
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |