टेम्पलेट: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".
 
=== Usage ===
<nowiki>{{trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed.
 
=== Example ===
*{{tlx|trim| abc}} produces {{trim| abc}}.
 
===Template data===
<templatedata>
{
लाइन 26:
</templatedata>
 
===See also===
* {{tl|Strip whitespace}} which does nearly the exact same thing, but which should not be [[WP:SUBST|substituted]].