Trim – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
(2 intermediate revisions by 2 users not shown) | |||
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 style="display: block"> test </code> | |||
|result1= <code style="display: block"> test </code> | |||
|example2= <code style="display: block"><nowiki>{{Trim| test }}</nowiki></code> | |||
|result2= <code style="display: block">{{Trim| test }}</code> | |||
}}</noinclude> | |||
| <code> test | |||
| | |||
| <code>{{Trim| test | |||
</noinclude> |
Latest revision as of 11:53, 11 January 2023
{{Trim| {{{parameter|}}} }}
This template is used on these pages.
Usage
{{Trim|text}}
- text: text to trim
Code | Result |
---|---|
test
|
test
|
{{Trim| test }}
|
test
|