Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Trim/doc: Difference between revisions

Template page
fandomwiki>Game widow
Created page with "{{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> parse..."
 
fandomwiki>@DeletedUser40302604
m 1 revision imported
(No difference)

Revision as of 20:17, 5 December 2017

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

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.