Difference between revisions of "Template:Trim"
From ThresholdRPG Wiki
thresh>Gesslar m (1 revision imported) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:49, 18 July 2021
{{#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)