Template:Trim

From bg3.wiki
Revision as of 02:10, 25 July 2023 by Taylan (talk | contribs) (Created page with "{{#if:{{{1|}}}|{{{1|}}}}}<noinclude> 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). Example: <pre>{{trim | {{{1}}} }}</pre> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Example:

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