Difference between revisions of "Template:Trim"
Jump to navigation
Jump to search
(Created page with "<includeonly>TPL GOES HERE</includeonly><noinclude> {{Documentation}} </noinclude>") |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{{1|}}}}}<noinclude>{{Documentation}}</noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 21:33, 20 March 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 |