Template:Trim/doc

From wikiNonStop
Revision as of 06:03, 16 August 2024 by Majestix (talk | contribs) (1 revision imported: initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Parameter1

The parameter to trim.

Contentrequired

Usage

{{trim| {{{1}}} }}