Template:Trim: Difference between revisions
Template page
More actions
fandomwiki>Game widow No edit summary |
(No difference)
|
Revision as of 15:04, 8 July 2015
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
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 }}
The above documentation is transcluded from Template:Trim/doc. (edit | history)