<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3A%21%2Fdoc</id>
	<title>Template:!/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3A%21%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:!/doc&amp;action=history"/>
	<updated>2026-04-11T20:15:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:!/doc&amp;diff=3829&amp;oldid=prev</id>
		<title>Wikipedia&gt;Leijurv: add more, explaining how to put a table in a footnote</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:!/doc&amp;diff=3829&amp;oldid=prev"/>
		<updated>2022-03-23T01:59:01Z</updated>

		<summary type="html">&lt;p&gt;add more, explaining how to put a table in a footnote&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;
{{transclusionless|reason=it was replaced with a [[Help:Magic words|magic word]]}}&lt;br /&gt;
&lt;br /&gt;
The magic word &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is used to escape a [[vertical bar]] character &amp;quot;&amp;amp;#124;&amp;quot; in [[wp:wikitext|wikitext]] markup, causing the parser to temporarily not interpret it as a special character.&lt;br /&gt;
&lt;br /&gt;
This used to be a template, but for speed reasons, the [[MediaWiki]] parser was changed in July 2014 to instantly interpret &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; as &amp;quot;&amp;amp;#124;&amp;quot; and ignore this template, making &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; a [[mw:Help:Magic words|magic word]]. You can continue to use the code in exactly the same way as before.&lt;br /&gt;
&lt;br /&gt;
Do not use syntax like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Template:!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and do not supply a parameter, for example &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!|foo}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. In those cases, the template transcludes as an error message: {{!xt|Error: The retired template &amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt; has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code &amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt; to generate the &amp;amp;#124; character.}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is used to [[Escape_character|escape]] the vertical bar character, &amp;amp;#124;, so that it is interpreted later than it would be otherwise. This is mostly useful when trying to include a table in a template. For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{rquote|none|text=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption text&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Header text&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example&lt;br /&gt;
|}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
yields nonsense:&lt;br /&gt;
&lt;br /&gt;
{{rquote|none|text=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption text&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Header text&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example&lt;br /&gt;
|}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
However escaping the bars with this magic word and similar templates gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{rquote|none|2=&amp;lt;nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt;{{(!}}class{{=}}&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+ Caption text&lt;br /&gt;
{{!}}-&lt;br /&gt;
! Header text !! Header text&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Example {{!!}} Example&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Example {{!!}} Example&lt;br /&gt;
{{!)}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{rquote|none|2=&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{(!}}class{{=}}&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+ Caption text&lt;br /&gt;
{{!}}-&lt;br /&gt;
! Header text !! Header text&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Example {{!!}} Example&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Example {{!!}} Example&lt;br /&gt;
{{!)}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For how to include a table in a footnote, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example 1{{refn|group=note|This is a note before}}&lt;br /&gt;
&lt;br /&gt;
Example 2{{refn|group=note|1=&amp;lt;nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt;{{(!}}class{{=}}&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+Example table with two columns&lt;br /&gt;
!A column&lt;br /&gt;
!Another column&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Some data&lt;br /&gt;
{{!}} Some more data&lt;br /&gt;
{{!)}}&amp;lt;nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Example 3{{refn|group=note|This is a note after}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|group=note}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Be careful to follow this formatting, [[Special:Diff/1078738513|otherwise the table may gobble up the subsequent footnote]]. This can be unnoticeable if there is only one footnote, only causing an issue if a second footnote is added.&lt;br /&gt;
&lt;br /&gt;
Example 1{{refn|group=note|This is a note before}}&lt;br /&gt;
&lt;br /&gt;
Example 2{{refn|group=note|1=&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{(!}}class{{=}}&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+Example table with two columns&lt;br /&gt;
!A column&lt;br /&gt;
!Another column&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Some data&lt;br /&gt;
{{!}} Some more data&lt;br /&gt;
{{!)}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Example 3{{refn|group=note|This is a note after}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|group=note}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Escape template list}}&lt;br /&gt;
Documentation for the magic word may be found in the MediaWiki documentation at [[mw:Help:Magic words#Other]].&lt;br /&gt;
* {{tl|pipe}}, a template that uses the [[numeric character reference]] for the vertical bar character&lt;br /&gt;
* [[m:Help:Template#A parameter value containing a pipe character]]&lt;br /&gt;
*[[Help:Conditional tables]]&lt;br /&gt;
&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;
&lt;br /&gt;
[[Category:Character-substitution templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Leijurv</name></author>
	</entry>
</feed>