Template:Trim
From Wiki
Template trim removes leading and trailing whitespace. For example, use it to trim whitespace from unnamed parameters:
{{trim|{{{3}}}}}
Named parameters are automatically trimmed by the wiki.