Difference between revisions of "Template:Trim/doc"

From Survived By Wiki
Jump to: navigation, search
(⧼default import⧽)
 
m
 
Line 1: Line 1:
 
{{doc/start}}
 
{{doc/start}}
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 13:22, 14 November 2018

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.