<?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_quotes%2Fdoc</id>
	<title>Template:Trim quotes/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_quotes%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Trim_quotes/doc&amp;action=history"/>
	<updated>2026-04-19T03:15:15Z</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_quotes/doc&amp;diff=1287&amp;oldid=prev</id>
		<title>imported&gt;Fire: ページの作成:「{{Documentation subpage}} {{二次利用}} {{shortcut|Template:Trimq}} {{lua|Module:Trim quotes}}  This template trims matched pairs of leading and trailing single (&#039;) an…」</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Trim_quotes/doc&amp;diff=1287&amp;oldid=prev"/>
		<updated>2021-03-11T14:00:53Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「{{Documentation subpage}} {{二次利用}} {{shortcut|Template:Trimq}} {{lua|Module:Trim quotes}}  This template trims matched pairs of leading and trailing single (&amp;#039;) an…」&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;
{{shortcut|Template:Trimq}}&lt;br /&gt;
{{lua|Module:Trim quotes}}&lt;br /&gt;
&lt;br /&gt;
This template trims matched pairs of leading and trailing single (&amp;#039;) and double (&amp;quot;) quotes and whitespace from a string. The string should be passed as the first unnamed parameter or using {{para|1}} or {{para|s}} if your string contains any &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; signs. &amp;lt;!--You may [[WP:SUBST|substitute]] this template - that is, if used as {{tlxs|trim brackets}}, the resulting wikicode is &amp;quot;clean&amp;quot;.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{tlx|trim quotes|&amp;#039;&amp;#039;text&amp;#039;&amp;#039;}} = &amp;#039;&amp;#039;text&amp;#039;&amp;#039; with any leading or trailing quotes removed (as long as &amp;#039;&amp;#039;text&amp;#039;&amp;#039; doesn&amp;#039;t contain any &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; signs).&lt;br /&gt;
&lt;br /&gt;
{{tlx|1=trim quotes|2=1=&amp;#039;&amp;#039;text&amp;#039;&amp;#039;}} or {{tlx|1=trim quotes|2=s=&amp;#039;&amp;#039;text&amp;#039;&amp;#039;}} = &amp;#039;&amp;#039;text&amp;#039;&amp;#039; with any leading or trailing quotes removed.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1= &amp;#039;Play it, Sam.&amp;#039; &amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1= &amp;#039;Play it, Sam.&amp;#039; }}&amp;lt;/code&amp;gt;.&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1= &amp;quot;&amp;quot;Jimmy&amp;#039;s&amp;quot;&amp;quot;&amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1= &amp;quot;&amp;quot;Jimmy&amp;#039;s&amp;quot;&amp;quot; }}&amp;lt;/code&amp;gt;&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1= Alex said &amp;quot;hello&amp;quot;&amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1= Alex said &amp;quot;hello&amp;quot; }}&amp;lt;/code&amp;gt; (since the quotes aren&amp;#039;t at the beginning and end of the string)&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1=&amp;#039;&amp;#039;zut alors!&amp;#039;&amp;#039;&amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1= &amp;#039;&amp;#039;zut alors!&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt; (the double-apostrophe that would otherwise display the phrase in italics is removed)&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1=&amp;#039;&amp;#039;&amp;#039;This place is not a place of honor&amp;#039;&amp;#039;&amp;#039;&amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1= &amp;#039;&amp;#039;&amp;#039;This place is not a place of honor&amp;#039;&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt; (the triple-apostrophe that would otherwise display the phrase in boldface is removed)&lt;br /&gt;
*{{tlx|trim quotes|&amp;lt;nowiki&amp;gt;1=&amp;quot;fish&amp;quot; and &amp;quot;chips&amp;quot;&amp;lt;/nowiki&amp;gt;}} produces &amp;lt;code&amp;gt;{{trim quotes|1=&amp;quot;fish&amp;quot; and &amp;quot;chips&amp;quot;}}&amp;lt;/code&amp;gt; (the quotes at the beginning and end are removed, those in the middle are unaffected)&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 matched pairs of leading and trailing single and double quotes 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&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|trim}}&lt;br /&gt;
&lt;br /&gt;
{{String-handling templates |trim quotes}}&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{sandbox other||&lt;br /&gt;
[[Category:ウィキペディアのテンプレート]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fire</name></author>
	</entry>
</feed>