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}}" |
m 3 revisions imported |
||
| (2 intermediate revisions by one other user not shown) | |||
| 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><noinclude>[[Category:Template documentation]]</noinclude> | |||
Latest revision as of 23:46, 21 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 }}


