साँचा:Trim/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
साँचा:notice
This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as साँचा:tlxs, the resulting wikicode is "clean".
Usage
{{trim|text}} = text with any leading or trailing whitespace removed.
Example
- साँचा:tlx produces साँचा:trim.
Template data
TemplateData for Trim
The template trims whitespace from a string.
प्राचल | वर्णन | प्रकार | स्थिति | |
---|---|---|---|---|
String | 1 | The string to be trimmed of whitespace | स्ट्रिंग | आवश्यक |
See also
- साँचा:tl which does nearly the exact same thing, but which should not be substituted.
साँचा:navbox string handling templates