<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3AWarning%2Fdoc</id>
	<title>Module:Warning/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3AWarning%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Warning/doc&amp;action=history"/>
	<updated>2026-05-07T05:35:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Warning/doc&amp;diff=6878&amp;oldid=prev</id>
		<title>imported&gt;DePiep at 16:43, 17 November 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Warning/doc&amp;diff=6878&amp;oldid=prev"/>
		<updated>2021-11-17T16:43:15Z</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;{{Module rating|beta}}&lt;br /&gt;
&lt;br /&gt;
This module simply unifies the formatting of all warning messages similar to [[Module:Error]]. Currently, it is plain text, but custom formatting may be applied after discussion in the [[Module talk:Warning|talk]] page. Warnings are displayed above the preview when previewing an edit.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local warn = require(&amp;#039;Module:Warning&amp;#039;)&lt;br /&gt;
warn(&amp;quot;Message&amp;quot;)&lt;br /&gt;
warn((&amp;quot;TypeWarning: %s&amp;quot;):format(warning), level)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[:Module:Error]]&lt;br /&gt;
* [[:Module:If preview]]&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Sandbox other||&lt;br /&gt;
[[Category:Error-handling modules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;DePiep</name></author>
	</entry>
</feed>