Difference between revisions of "Template:Trim"

From Beasts of Bermuda
Jump to: navigation, search
(Readded page, this is a Template used in mainly other Templates to return parameters without trailing whitespace!)
 
m (Fixed template.)
 
Line 1: Line 1:
 
{{#if: {{{1|}}} | {{{1|}}} }}
 
{{#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).
 +
</noinclude>

Latest revision as of 22:22, 16 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).