Jump to content

සැකිල්ල:diffurl/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:diffurl. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Used by {{diff}}, but can be used alone, too. Displays the URL for a diff. 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. Thus:

  • {{diffurl|4055082|3025433}} yields //si.wiktionary.org/wiki/?diff=4055082&oldid=3025433
  • {{diffurl|3025433|4055082}} yields //si.wiktionary.org/wiki/?diff=4055082&oldid=3025433
  • {{diffurl|4055082}} yields //si.wiktionary.org/wiki/?diff=4055082
  • {{diffurl|4055082|}} yields //si.wiktionary.org/wiki/?diff=4055082
  • {{diffurl||4055082}} yields //si.wiktionary.org/wiki/?diff=cur&oldid=4055082
  • {{diffurl}} yields //si.wiktionary.org/wiki/?diff=

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

  • {{diffurl|4055082|3025433|only=1}} yields //si.wiktionary.org/wiki/?diff=4055082&oldid=3025433&diffonly=1
  • {{diffurl|4055082|3025433|diffonly=1}} yields //si.wiktionary.org/wiki/?diff=4055082&oldid=3025433&diffonly=1
  • {{diffurl|3025433|4055082|only=}} yields //si.wiktionary.org/wiki/?diff=4055082&oldid=3025433


"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:diffurl/documentation&oldid=36729" වෙතින් සම්ප්‍රවේශනය කෙරිණි