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>CadsBot
→top: removed redundant start/end
wgg>CadsBot
→top: cat
Line 2: Line 2:


Usage:
Usage:
  <nowiki>{{trim|  value }}</nowiki>
  <nowiki>{{trim|  value }}
</nowiki><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 13:56, 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 }}