<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.post-self.ink:80/current/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormatting_error%2Fdoc</id>
	<title>Template:Formatting error/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.post-self.ink:80/current/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormatting_error%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.post-self.ink:80/current/index.php?title=Template:Formatting_error/doc&amp;action=history"/>
	<updated>2026-05-24T12:28:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.post-self.ink:80/current/index.php?title=Template:Formatting_error/doc&amp;diff=824&amp;oldid=prev</id>
		<title>Makyo: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.post-self.ink:80/current/index.php?title=Template:Formatting_error/doc&amp;diff=824&amp;oldid=prev"/>
		<updated>2024-01-29T21:56:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:56, 29 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key postself:diff:1.41:old-823:rev-824 --&gt;
&lt;/table&gt;</summary>
		<author><name>Makyo</name></author>
	</entry>
	<entry>
		<id>http://wiki.post-self.ink:80/current/index.php?title=Template:Formatting_error/doc&amp;diff=823&amp;oldid=prev</id>
		<title>wikipedia&gt;Andrybak: use Template:Sandbox other</title>
		<link rel="alternate" type="text/html" href="http://wiki.post-self.ink:80/current/index.php?title=Template:Formatting_error/doc&amp;diff=823&amp;oldid=prev"/>
		<updated>2020-03-31T20:59:16Z</updated>

		<summary type="html">&lt;p&gt;use &lt;a href=&quot;/current/index.php?title=Template:Sandbox_other&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Sandbox other (page does not exist)&quot;&gt;Template:Sandbox other&lt;/a&gt;&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;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
Outputs an error message in red into the page and adds the page to [[:Category:Pages with incorrect formatting templates use]]. An anchor (FormattingError) is inserted at the start of the error message, so you can find any errors on a page easily by adding &amp;#039;&amp;#039;&amp;#039;#FormattingError&amp;#039;&amp;#039;&amp;#039; at the end of the URL (e.g.&amp;amp;nbsp;[[Template:val/test#FormattingError]]). Used in complex templates that check their arguments for validity, so incorrect use can be spotted while editing a page or afterwards.&lt;br /&gt;
=== Usage ===&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{FormattingError|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;error message&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{FormattingError|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;error message&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|nocategory=true}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When using the &amp;#039;&amp;#039;&amp;#039;nocategory&amp;#039;&amp;#039;&amp;#039; argument, the error message is displayed as usual, but the page is not added to  [[:Category:Pages with incorrect formatting templates use]]. This is useful in documentation pages for templates that use FormattingError and show what errors they can generate without adding these documentation pages to the category. For an example of this, see {{tl|LinkForElement}}.&lt;br /&gt;
&lt;br /&gt;
This template can be evaluated using the &amp;lt;code&amp;gt;{{#iferror}}&amp;lt;/code&amp;gt; parser function:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#iferror:{{val|XX}}|error|OK}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;{{#iferror:{{val|XX}}|error|OK}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[:Category:Pages with incorrect formatting templates use]] for a list of pages that have been marked as using a formatting template incorrectly using this template.&lt;br /&gt;
* {{tl|Error-small}}&lt;br /&gt;
* {{tl|Error}}&lt;br /&gt;
* [[mw:Help:Extension:ParserFunctions##iferror]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Error-message templates]]&lt;br /&gt;
&lt;br /&gt;
[[id:Templat:FormattingError]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Andrybak</name></author>
	</entry>
</feed>