<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=User%3ADrTompkins%2FTemplate%3AStr_test</id>
	<title>User:DrTompkins/Template:Str test - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=User%3ADrTompkins%2FTemplate%3AStr_test"/>
	<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Str_test&amp;action=history"/>
	<updated>2026-06-14T20:16:43Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Str_test&amp;diff=11609&amp;oldid=prev</id>
		<title>DrTompkins：导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Str_test&amp;diff=11609&amp;oldid=prev"/>
		<updated>2023-04-12T04:44:09Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年4月12日 (三) 04:44的版本&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mw-wiki2_:diff::1.12:old-11608:rev-11609 --&gt;
&lt;/table&gt;</summary>
		<author><name>DrTompkins</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Str_test&amp;diff=11608&amp;oldid=prev</id>
		<title>zhmoe&gt;Lih：搬运自萌娘百科的同名条目</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Str_test&amp;diff=11608&amp;oldid=prev"/>
		<updated>2022-09-23T08:52:42Z</updated>

		<summary type="html">&lt;p&gt;搬运自萌娘百科的同名条目&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{#invoke:Str_test|main|{{{str|{{{1|}}}}}}|{{{ptn|{{{2|}}}}}}}}|{{{then|1}}}|{{{else|}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{Documentation|content=&lt;br /&gt;
{{Template:High-risk|14000+}}&lt;br /&gt;
== 简介 ==&lt;br /&gt;
&lt;br /&gt;
这个模板将判断正则表达式是否可以匹配字符串，若成功匹配至少一个结果，则默认输出1，否则输出空。&lt;br /&gt;
&lt;br /&gt;
== 参数 ==&lt;br /&gt;
* str：要匹配的字符串，这个参数也对应匿名参数1&lt;br /&gt;
* ptn：正则表达式，支持以&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;标签包裹的格式传入，这个参数也对应匿名参数2&lt;br /&gt;
* then：匹配到输出，默认为数字1&lt;br /&gt;
* else：未匹配到输出&lt;br /&gt;
}}&lt;br /&gt;
[[分类:辅助模板]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>zhmoe&gt;Lih</name></author>
	</entry>
</feed>