Difference between revisions of "Template:Trim"

From Ashes of the Singularity Wiki
Jump to: navigation, search
(<default import>)
m
 
Line 2: Line 2:
   
 
==Documentation==
 
==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 <tt>#if</tt> parser function.
+
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 <code>#if</code> parser function.
   
 
Usage:
 
Usage:

Latest revision as of 16:16, 14 November 2018


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 }}