Template:Trim

From The Satanic Wiki
Revision as of 05:32, 24 March 2021 by WikiGOD (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description

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.

Syntax
{{trim| value }}
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
Description

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.

Syntax
{{trim|  value }}