Difference between revisions of "Template:Diff4/doc"
Jump to navigation
Jump to search
imported>Czarkoff (→Parameters: new section) |
imported>Meteor sandwich yum m (Sync with current template doc preload @ Template:Documentation/preload) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
=== Usage === | === Usage === | ||
| Line 43: | Line 43: | ||
* [[Template:Cross-wiki language diff]] | * [[Template:Cross-wiki language diff]] | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| + | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[Category:Diff templates]] | [[Category:Diff templates]] | ||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
[[Category:Cross-reference templates]] | [[Category:Cross-reference templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 05:15, 19 March 2014
| 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