Template:Trim/doc

From CHKN Wiki
< Template:Trim
Revision as of 20:53, 30 September 2015 by Maintenance script-gpuser (talk | contribs) (<default import>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png 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.

Usage:

{{trim|  value }}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.