<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADiff2%2Fdoc</id>
	<title>Template:Diff2/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADiff2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Diff2/doc&amp;action=history"/>
	<updated>2026-11-01T11:26:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:Diff2/doc&amp;diff=126943&amp;oldid=prev</id>
		<title>Wikipedia&gt;CapnZapp at 14:07, 20 May 2026</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Diff2/doc&amp;diff=126943&amp;oldid=prev"/>
		<updated>2026-05-20T14:07:09Z</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;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{tsh|dif}}&lt;br /&gt;
{{Twinkle standard installation}}&lt;br /&gt;
{{Redirect|Template:Dif|the more general &amp;quot;diff&amp;quot;-generating template|Template:Diff}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is intended to be useful for creating links to &amp;quot;[[Help:Diff|diffs]]&amp;quot;; that is, links to pages that show the differences between two versions of a wiki page.&lt;br /&gt;
&lt;br /&gt;
Every version of a page has a revision ID, which you can find from the [[Help:Page history|history]] of the page by looking at the link for the timestamp, which is of the form:&lt;br /&gt;
 http[s]://en.wikipedia.org/w/index.php?title=SomePageName&amp;amp;oldid=442212827&lt;br /&gt;
The number after &amp;lt;kbd&amp;gt;oldid=&amp;lt;/kbd&amp;gt; is the revision ID.&lt;br /&gt;
&lt;br /&gt;
This template does not require the page name, and provides a diff between a specified revision ID and the one immediately before it (i.e. what changed at a certain ID).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
:{{tlx|Diff2 |&amp;#039;&amp;#039;oldid&amp;#039;&amp;#039; |&amp;#039;&amp;#039;section&amp;#039;&amp;#039; |&amp;#039;&amp;#039;label&amp;#039;&amp;#039;}}&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;oldid&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt;&amp;amp;nbsp;– The base ID onto which the diff is generated&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;section&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt;&amp;amp;nbsp;– (optional) The section (anchor) within the page&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;label&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt;&amp;amp;nbsp;– (optional) Text to display as link. No label will give a numbered link.&lt;br /&gt;
&lt;br /&gt;
If 3 parameters are specified (i.e. parameter &amp;lt;nowiki&amp;gt;{{{3}}}&amp;lt;/nowiki&amp;gt; exists), parameter &amp;lt;nowiki&amp;gt;{{{2}}}&amp;lt;/nowiki&amp;gt; is the &amp;#039;&amp;#039;section&amp;#039;&amp;#039;, and parameter &amp;lt;nowiki&amp;gt;{{{3}}}&amp;lt;/nowiki&amp;gt; is the &amp;#039;&amp;#039;label&amp;#039;&amp;#039;. Otherwise, parameter &amp;lt;nowiki&amp;gt;{{{2}}}&amp;lt;/nowiki&amp;gt;, if present, is the &amp;#039;&amp;#039;label&amp;#039;&amp;#039; (and the link is to the whole page).&lt;br /&gt;
&lt;br /&gt;
(Consequently, specifying a &amp;#039;&amp;#039;section&amp;#039;&amp;#039; but no &amp;#039;&amp;#039;label&amp;#039;&amp;#039; can be achieved by leaving the &amp;#039;&amp;#039;label&amp;#039;&amp;#039; blank save for its [[pipe character]], as in the fourth example below.)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Diff2|123456789}}&lt;br /&gt;
| {{Diff2|123456789}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Diff2|123456789|SomeUser&amp;#039;s edit to &amp;quot;Some article name&amp;quot;}}&lt;br /&gt;
| {{Diff2|123456789|SomeUser&amp;#039;s edit to &amp;quot;Some article name&amp;quot;}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Diff2|123456789|External links|SomeUser&amp;#039;s edit to &amp;quot;Some article name&amp;quot;}}&lt;br /&gt;
| {{Diff2|123456789|External links|SomeUser&amp;#039;s edit to &amp;quot;Some article name&amp;quot;}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Diff2|123456789|External links&amp;amp;#124;}}&lt;br /&gt;
| {{Diff2|123456789|External links|}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
You can use the following text in place of &amp;quot;Diff2&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Dif}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Diff}}&lt;br /&gt;
* {{Tl|Diff3}}&amp;amp;nbsp;– same as {{Tlf|Diff2}}, but does not support section links&lt;br /&gt;
* {{Tl|Diff4}}&lt;br /&gt;
* {{Tl|Cross-wiki diff}}&lt;br /&gt;
* {{Tl|Cross-wiki language diff}}&lt;br /&gt;
* {{Tl|Oldid}}&lt;br /&gt;
* {{Tl|Oldid2}}&lt;br /&gt;
* [[Special:Diff]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
[[Category:Diff templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;CapnZapp</name></author>
	</entry>
</feed>