Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Trim/doc: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei Created page with "{{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 <code>#if</code> parser function. Usage: <nowiki>{{trim| value }}</nowiki> {{doc/end}}" |
wgg>CadsBot →top: removed redundant start/end |
||
| Line 1: | Line 1: | ||
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 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> | ||
Revision as of 13:31, 11 October 2025
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 }}


