Template:Diff/doc

This template 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.

Every version of a page has a revision ID, which you can find from the history of the page by looking at the link for the timestamp, which is of the form: http[s]://www.techinfodepot.info/w/index.php?title=SomePageName&oldid=442212827 The number after oldid= is the revision ID.

Given a page name and one or two revision IDs, you can construct links to several types of diffs.

Usage



 * page – The title of the page.
 * diff – The ID or keyword that is used against the base ID. Possible keywords are:
 * cur – compare with the current version of a page.
 * prev – compare with the previous version of a page.
 * next – compare with the next version of a page.
 * id – This should be larger than oldid.
 * oldid – The base ID onto which the diff is generated.
 * label</tt> – Text to display as link. No label will give a numbered link.

All parameters are optional. Omitted parameters must be empty (by using a double pipe). You can also use the named parameters page</tt>, diff</tt>, oldid</tt>, and label</tt>.