Template:Trim
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
This template trims whitespace from the beginning and end of the supplied value. It works by using the simple hack of filtering it through the #if
parser function.
- Syntax
![Documentation icon](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Template-info.svg/50px-Template-info.svg.png)
Note: parts of or the entire template might not be visible without values provided.
- Description
This template trims whitespace from the beginning and end of the supplied value. It works by using the simple hack of filtering it through the #if
parser function.
- Syntax
{{trim| value }}