Template:diff

Hello, you have come here looking for the meaning of the word Template:diff. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template:diff, but we will also tell you about its etymology, its characteristics and you will know how to say Template:diff in singular and plural. Everything you need to know about the word Template:diff you have here. The definition of the word Template:diff will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate:diff, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

diff


Displays the link for a diff. This is an enhanced version of Special:diff

Usage

The first two numbered parameters are the ID numbers of the revisions (in either order). If only the first parameter is given, the diff is to the previous revision. If only the second is given, the diff is to the current revision. If neither is given, the diff is to the current revision of the main page. Thus:

Moreover, there's an optional named Boolean parameter, only, or you can use diffonly, which, if nonzero, makes the diff URL have diffonly set.

  • {{diff|4055082|3025433|only=1}} yields diff
  • {{diff|4055082|3025433|diffonly=1}} yields diff
  • {{diff|3025433|4055082|only=}} yields diff

The third, or text, parameter, yields the text to be displayed:

dir (direction) changes default 'current revision' to:

  • {{diff||dir=next|52361660}} yields diff
  • {{diff||dir=prev|52361660}} yields diff

See also