Template:Trim: Difference between revisions
From Colonia Wiki
m 1 revision imported |
m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}} | <includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude> | ||
{{ | |||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 17:08, 5 October 2021
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
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.
- Syntax