Template:Trim

From Blockgame Wiki
Revision as of 16:15, 19 January 2024 by Nelas (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{{1}}}|}}</includeonly><noinclude> {{doc}} {{PAGENAME}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 }}