Template:Trim: Difference between revisions
Jump to navigation
Jump to search
xwr>FANDOM No edit summary |
(Fix for |=foo bug) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{ |
<includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude> |
||
⚫ | |||
{{Documentation}} |
|||
⚫ |
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.
{{trim| value }}