Template:Trim/doc

From Warcraft Watch Secrets
Revision as of 04:52, 5 November 2023 by imported>Eithris (Created page with "Borrowed from the Mediawiki Wiki: Template:Trim. <templatedata> { "params": { "1": { "description": "The parameter to trim.", "type": "content", "required": true } }, "description": "This template returns a given 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).", "f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Borrowed from the Mediawiki Wiki: Template:Trim.

This template returns a given 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
11

The parameter to trim.

Contentrequired

Usage

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