Template:Diff4/doc

Template page

Usage

Code Output
{{diff4|123456789}} [1]
{{diff4|123456789|Pgp688's edit to "Boston Latin School"}} Pgp688's edit to "Boston Latin School"
{{diff4|123456789|External links after Pgp688's edit to "Boston Latin School"|section=External links}} External links after Pgp688's edit to "Boston Latin School"
{{diff4|123456789|old=4611964|Changes since first registered user's till Pgp688's edit to "Boston Latin School"}} Changes since first registered user's till Pgp688's edit to "Boston Latin School"

Unlike {{diff2}} this template doesn't guess users' intent. Be careful. Don't guess numbers: if IDs you specify belong to different pages, your link won't work:

Code Output
{{diff4|123456789|old=123456788|Changes between revisions 123456789 and 123456788}} Changes between revisions 123456789 and 123456788

Parameters

old
The revision to show difference since.
new (or first unnamed parameter, mandatory)
The revision to show difference up to.
title (or second unnamed parameter)
The caption of the link.
section
The section to be linked to (in new revision).

See also