Template:Difflink

Template page

Documentation

This template creates a link to a difference listing between two versions of an article.

Required parameters

  • text: Link text
  • oldid: ID of base revision to diff (the older revision)

Optional parameters

  • title: Name of the page the revisions belong to. Defaults to the current page if unset
  • diff: ID of the revision to diff against (the newer revision). Defaults to cur if unset
    • If set to cur, use the current revision
    • If set to prev, use the previous revision (the one just before oldid)
    • If set to next, use the next revision (the one just after oldid)

Examples