Difference between revisions of "Template:Trim/doc"
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} == See Also == * {{Purge}} == Template Data == <templatedata> { "params": {}, "description": "stole from mediawiki" } </templatedata>") |
|||
(2 intermediate revisions by the same user not shown) | |||
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 == | |||
<nowiki>{{trim| {{{1}}} }}</nowiki> | |||
== See Also == | == See Also == | ||
* stole from https://www.mediawiki.org/wiki/Template:Trim | |||
* {{Purge}} | * {{Purge}} | ||
== Template Data == | == Template Data == |
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 |