Difference between revisions of "Template:Trim"
m (Fixed template.) |
m (Added <includeonly>) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
{{#if: {{{1|}}} | {{{1|}}} }} | {{#if: {{{1|}}} | {{{1|}}} }} | ||
+ | </includeonly> | ||
<noinclude> | <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). | 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). | ||
</noinclude> | </noinclude> |
Latest revision as of 13:46, 24 November 2024
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).