<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=96.5.246.66&amp;*</id>
	<title>blackwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=96.5.246.66&amp;*"/>
	<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Special:Contributions/96.5.246.66"/>
	<updated>2026-08-18T04:36:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Diff/doc&amp;diff=4533576</id>
		<title>Template:Diff/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Diff/doc&amp;diff=4533576"/>
		<updated>2019-12-03T16:12:13Z</updated>

		<summary type="html">&lt;p&gt;96.5.246.66: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
{{High-use| 23301 }}&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 timestamp link for the edit. The timestamp link is in this form:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;http[s]://en.wikipedia.org/w/index.php?title=SomePageName&amp;amp;oldid=442212827&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
The number after &amp;lt;code&amp;gt;oldid=&amp;lt;/code&amp;gt; is the revision ID.&lt;br /&gt;
&lt;br /&gt;
Given one or two revision IDs, you can construct links to several types of diffs.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
:{{tlx|Diff|''title''|''diff''|''oldid''|''label''|''diffonly{{=}}yes''}}&lt;br /&gt;
*&amp;lt;code&amp;gt;''title''&amp;lt;/code&amp;gt;{{snds}}The title of the page (optional in most cases).&lt;br /&gt;
*&amp;lt;code&amp;gt;''diff''&amp;lt;/code&amp;gt;{{snds}}The ID or keyword that is used against the base ID. Possible keywords are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;cur&amp;lt;/code&amp;gt;{{snds}}compare with the current version of a page.&lt;br /&gt;
*:&amp;lt;code&amp;gt;prev&amp;lt;/code&amp;gt;{{snds}}compare with the previous version of a page.&lt;br /&gt;
*:&amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt;{{snds}}compare with the next version of a page.&lt;br /&gt;
*:''id''{{snds}}This should be ''larger'' than &amp;lt;code&amp;gt;oldid&amp;lt;/code&amp;gt;.&lt;br /&gt;
*&amp;lt;code&amp;gt;''oldid''&amp;lt;/code&amp;gt;{{snds}}The base ID onto which the diff is generated.&lt;br /&gt;
*&amp;lt;code&amp;gt;''label''&amp;lt;/code&amp;gt;{{snds}}Text to display as link (optional){{nsmdns}}no label will generate a numbered link as the label.&lt;br /&gt;
*{{para|diffonly|yes}}{{snds}}Displays the page comparisons only (optional){{nsmdns}}parameter name required if used.&lt;br /&gt;
&lt;br /&gt;
Only the ''diff'' parameter is required; all other parameters are optional. Omitted parameters must be empty (by using a double pipe). You can also use the named parameters &amp;lt;code&amp;gt;'''title'''&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;'''diff'''&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;'''oldid'''&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;'''label'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Wikipedia is mine yours truly obama.&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;title&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string/wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The title of the page.&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;page&amp;quot;,&lt;br /&gt;
				&amp;quot;1&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;diff&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Diff&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The ID or keyword that is used against the base ID. Possible keywords are:\n* cur – compare with the current version of a page.\n* prev – compare with the previous version of a page.\n* next – compare with the next version of a page.\n* &amp;lt;var&amp;gt;id&amp;lt;/var&amp;gt; – compare against this revision ID; should be &amp;lt;em&amp;gt;larger&amp;lt;/em&amp;gt; than &amp;lt;code&amp;gt;oldid&amp;lt;/code&amp;gt;.&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;2&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;oldid&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Oldid&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The base ID onto which the diff is generated. Some number like \&amp;quot;442212827\&amp;quot; (without the quotes).&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;3&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;diffonly&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Diffonly&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Displays the page comparisons only. If you use this, the value should be \&amp;quot;yes\&amp;quot; (without the quotes).&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;label&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Label&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text to display as link. No label will give a numbered link.&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;4&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template that is intended to be useful for creating links to diffs; that is, links to pages that show the differences between two versions of a wiki page.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;title&amp;quot;,&lt;br /&gt;
		&amp;quot;diff&amp;quot;,&lt;br /&gt;
		&amp;quot;oldid&amp;quot;,&lt;br /&gt;
		&amp;quot;label&amp;quot;,&lt;br /&gt;
		&amp;quot;diffonly&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Oldid}}&amp;amp;nbsp;– simplifies the case for linking to a known old version&lt;br /&gt;
* {{Tl|Diff2}}&amp;amp;nbsp;– same as {{Tl|Diff}}, but assumes a diff between the given revision and the one immediately before&lt;br /&gt;
* {{Tl|Diff3}}&lt;br /&gt;
* {{Tl|Diff4}}&lt;br /&gt;
* {{Tl|URL to diff}} - takes a diff URL and makes a {{tl|Diff}} template&lt;br /&gt;
* {{Tl|Diffsandbox}}&amp;amp;nbsp;– compares a given page with the sandbox version&lt;br /&gt;
* {{Tl|DiffPages}}&amp;amp;nbsp;– accepts two pagenames (no id's needed)&lt;br /&gt;
* {{Tl|Querylink}}&amp;amp;nbsp;– generic template to construct [[query string]]s&lt;br /&gt;
* [[diff utility]]&amp;amp;nbsp;– syntax highlight on wiki pages with [[mw:Extension:SyntaxHighlight GeSHi]]&lt;br /&gt;
* [[User:Scottywong/diffconverter]], a tool for converting from raw form&lt;br /&gt;
* [[Special:Diff]] serves a similar purpose; see [[Help:Wiki markup#Linking to old revisions of pages, diffs, and specific history pages]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
[[Category:Diff templates]]&lt;br /&gt;
[[Category:Special page templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>96.5.246.66</name></author>
		
	</entry>
</feed>