Template:Trim: Difference between revisions
Template page
More actions
fandomwiki>Game widow No edit summary |
Koza1brada (talk | contribs) m 2 revisions imported: Try to import fandom pages (manual dump, 9) |
||
| (One intermediate revision by one other user not shown) | |||
(No difference)
| |||
Latest revision as of 11:10, 7 August 2025
{{#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)