Difference between revisions of "Template:Diff4/doc"
Jump to navigation
Jump to search
imported>Czarkoff m (→Usage: overzealous fixes) |
imported>Czarkoff (→Parameters: new section) |
||
| Line 29: | Line 29: | ||
| {{diff4|123456789|old=123456788|Changes between revisions 123456789 and 123456788}} | | {{diff4|123456789|old=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 === | === See also === | ||
Revision as of 17:53, 20 August 2012
| 40px | This is a documentation subpage for Template:Diff4. It contains usage information, categories and other content that is not part of the original 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
- Template:Diff
- Template:Diff2
- Template:Diff3
- Template:Cross-wiki diff
- Template:Cross-wiki language diff