Template:Diff4: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Revision as of 15:59, 25 January 2014
This template page or section is in the process of an expansion or major restructuring, and is not yet ready for use. You are welcome to assist in its construction by editing it as well. If this template page has not been edited in several days, please remove this template. This template was last edited by T12 (talk | contribs) 10 years ago. (Purge) |
Contributor note: It is supposed to be a unified (though less flexible) alternative to {{diff}}, {{diff2}} and {{diff3}}. |
Usage
Code | Output |
---|---|
{{diff4|123456789}}
|
[2] |
{{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
- Template:Diff
- Template:Diff2
- Template:Diff3
- Template:Cross-wiki diff
- Template:Cross-wiki language diff
The above documentation is transcluded from Template:Diff4/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |