टेम्पलेट:Trim/doc: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>CaroleHenson added templatedata |
छो fix heading levels |
||
लाइन 5:
This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may [[WP:SUBST|substitute]] this template - that is, if used as {{tlxs|trim}}, the resulting wikicode is "clean".
<nowiki>{{trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed.
*{{tlx|trim| abc}} produces {{trim| abc}}.
<templatedata>
{
लाइन 26:
</templatedata>
* {{tl|Strip whitespace}} which does nearly the exact same thing, but which should not be [[WP:SUBST|substituted]].
|