Trim – Template
Jump to navigation
Jump to search
m (Text replacement - "Category:Templates" to "{{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) m (Add Template:Doc/Template usage) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{{1|}}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|{{{1|}}}}}</includeonly><noinclude>{{Doc/Template | ||
<pre> | |descr= <pre>{{Trim| {{{parameter|}}} }}</pre> | ||
{{Trim| {{{parameter|}}} }} | |param1= text | ||
</pre> | |descr1= text to trim | ||
|example1= <code> test </code> | |||
|result1= <code> test </code> | |||
|example2= <code><nowiki>{{Trim| test }}</nowiki></code> | |||
|result2= <code>{{Trim| test }}</code> | |||
}}</noinclude> | |||
| <code> test | |||
| | |||
| <code>{{Trim| test | |||
</noinclude> |
Revision as of 22:27, 7 February 2021
{{Trim| {{{parameter|}}} }}
This template is used on these pages.
Usage
{{Trim|text}}
- text: text to trim
Code | Result |
---|---|
test
|
test
|
{{Trim| test }}
|
test
|