Difference between revisions of "Template:Trim"
Jump to navigation
Jump to search
(Fix for |=foo bug) |
(Created page with "<includeonly>TPL GOES HERE</includeonly><noinclude> {{Documentation}} </noinclude>") |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>TPL GOES HERE</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:20, 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 |