No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
;Description |
;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 <code>#if</code> parser function. |
||
− | This template allows you to force a space in areas that strip whitespace. |
||
+ | |||
+ | ;Syntax |
||
+ | <nowiki>{{trim| value }}</nowiki> |
||
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 18:55, 8 August 2023
- 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 }}