(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> <templatedata> { "description": "This template returns its paramete...") |
(No difference)
|
Revision as of 19:52, 20 August 2020
{{#invoke:Message box|mbox}} <templatedata> { "description": "This template returns its parameter without leading or trailing whitespace. It’s primarily for other templates to remove unwanted whitespace passed around an unnamed parameter (named parameters are automatically trimmed by MediaWiki).", "format": "inline", "params": { "1": { "label": "parameter", "description": "The parameter to trim", "required": true } } } </templatedata>
Usage
{{trim| {{{1}}} }}