<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATrim%2Fdoc</id>
	<title>Template:Trim/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATrim%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Trim/doc&amp;action=history"/>
	<updated>2026-04-18T18:54:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Trim/doc&amp;diff=633&amp;oldid=prev</id>
		<title>imported&gt;Fire at 13:34, 30 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Trim/doc&amp;diff=633&amp;oldid=prev"/>
		<updated>2021-01-30T13:34:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{二次利用}}&lt;br /&gt;
{{notice|This template is for trimming whitespace from strings. For the maintenance tag for images, see {{tl|trimming}}}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template trims leading and trailing (but not interior) whitespace from a string. The string should be passed as the first unnamed parameter. The parameter must be named {{para|1}} if its value contains a &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; character.&lt;br /&gt;
&lt;br /&gt;
You may [[WP:SUBST|substitute]] this template - that is, if used as {{tlxs|trim}}, the resulting wikicode is &amp;quot;clean&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{tlx|trim|&amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt;}} = &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt; with any leading or trailing whitespace removed.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*&amp;quot;{{tlx|trim| abc}}&amp;quot; produces &amp;quot;{{trim| abc}}&amp;quot;&lt;br /&gt;
*&amp;quot;{{tlx|trim|xyz&amp;amp;nbsp;}}&amp;quot; produces &amp;quot;{{trim|xyz }}&amp;quot;&lt;br /&gt;
*&amp;quot;{{tlx|trim| abc xyz&amp;amp;nbsp;}}&amp;quot; produces &amp;quot;{{trim| abc xyz }}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Template data ==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
        &amp;quot;description&amp;quot;: &amp;quot;The template trims whitespace from a string.&amp;quot;,&lt;br /&gt;
        &amp;quot;params&amp;quot;: {&lt;br /&gt;
                &amp;quot;1&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;String&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;The string to be trimmed of whitespace&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: true&lt;br /&gt;
                }&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|crop}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{String-handling templates |trim}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:ウィキペディアのテンプレート]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fire</name></author>
	</entry>
</feed>