Template:Trim: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#if:{{{1|}}}|{{{1|}}}}}<noinclude> 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). Example: <pre>{{trim | {{{1}}} }}</pre> </noinclude>") |
(No difference)
|
Revision as of 03:10, 25 July 2023
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).
Example:
{{trim | {{{1}}} }}