Template:Trim/doc: Difference between revisions
Jump to navigation
Jump to search
Mystery Dungeon GP>Maintenance script-gpuser (Automated Import) |
Mystery Dungeon GP>Pcjbot mNo edit summary |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
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 < | 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. | ||
Usage: | Usage: | ||
<nowiki>{{trim| value }}</nowiki> | <nowiki>{{trim| value }}</nowiki> | ||
{{doc/end}} | {{doc/end}} |
Revision as of 13:04, 14 November 2018
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.
Usage:
{{trim| value }}