<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3APreview_warning%2Fdoc</id>
	<title>模板:Preview warning/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3APreview_warning%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Preview_warning/doc&amp;action=history"/>
	<updated>2026-05-15T04:25:29Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Preview_warning/doc&amp;diff=6521&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} {{High-use}} {{Lua|Module:If preview}}  &#039;&#039;&#039;Template:Preview warning&#039;&#039;&#039; emits a warning in preview. Modules should instead use the module interface &lt;code&gt;_warning()&lt;/code&gt; in Module:If preview.  == Usage == &lt;code&gt;&lt;nowiki&gt;{{Preview warning|Warning text in preview}}&lt;/nowiki&gt;&lt;/code&gt;  The warning will appear at the top of the page in preview, no matter where it is placed. It will be prefaced by &quot;Preview warning:&quot; in bold. The template w…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Preview_warning/doc&amp;diff=6521&amp;oldid=prev"/>
		<updated>2024-01-20T12:59:02Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} {{High-use}} {{Lua|Module:If preview}}  &amp;#039;&amp;#039;&amp;#039;Template:Preview warning&amp;#039;&amp;#039;&amp;#039; emits a warning in preview. Modules should instead use the module interface &amp;lt;code&amp;gt;_warning()&amp;lt;/code&amp;gt; in &lt;a href=&quot;/%E6%A8%A1%E5%9D%97:If_preview&quot; title=&quot;模块:If preview&quot;&gt;Module:If preview&lt;/a&gt;.  == Usage == &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Preview warning|Warning text in preview}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  The warning will appear at the top of the page in preview, no matter where it is placed. It will be prefaced by &amp;quot;Preview warning:&amp;quot; in bold. The template w…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:If preview}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Preview warning&amp;#039;&amp;#039;&amp;#039; emits a warning in preview. Modules should instead use the module interface &amp;lt;code&amp;gt;_warning()&amp;lt;/code&amp;gt; in [[Module:If preview]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Preview warning|Warning text in preview}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The warning will appear at the top of the page in preview, no matter where it is placed. It will be prefaced by &amp;quot;Preview warning:&amp;quot; in bold. The template will emit an always-visible warning if no warning text is supplied.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
; {{Para|1}}&lt;br /&gt;
: The warning text you want to provide.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|If preview}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:If-then-else templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[pt:Predefinição:Preview warning/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>