<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.npowned.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AError%2Fdoc</id>
	<title>Module:Error/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.npowned.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AError%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.npowned.net/index.php?title=Module:Error/doc&amp;action=history"/>
	<updated>2026-04-27T08:38:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.npowned.net/index.php?title=Module:Error/doc&amp;diff=6422&amp;oldid=prev</id>
		<title>Bobogoobo: create</title>
		<link rel="alternate" type="text/html" href="https://wiki.npowned.net/index.php?title=Module:Error/doc&amp;diff=6422&amp;oldid=prev"/>
		<updated>2025-10-21T10:26:59Z</updated>

		<summary type="html">&lt;p&gt;create&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;
This module is used to display error messages in a consistent way and categorize pages that have them. See [[Template:Error]] for how to use this template in wikitext. For modules, see below.&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 err = require(&amp;#039;Module:Error&amp;#039;).call&lt;br /&gt;
return err(&amp;#039;error message&amp;#039;, &amp;#039;type&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This displays: &amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;error message&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*The first parameter is the text of the message to display. Must be a string. Highly recommended; the default message just says an error occurred in a script.&lt;br /&gt;
*The second parameter is the type of error, which determines the categorization. Must be a string. The default is &amp;quot;script&amp;quot;. This will add the page to [[:Category:Pages with script errors]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Lua modules]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bobogoobo</name></author>
	</entry>
</feed>