Template:Trim

From Dragalia Lost Wiki
Revision as of 03:56, 14 July 2020 by >Eave (simplifying logic)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
50px 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 }}