• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.29
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Prev

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

This template makes a diff link between the specified revision and the previous revision. It takes one parameter, the "oldid" of the revision you want to show. The oldid can be found in the URL in your browser's address bar when viewing diffs or permanent links. When viewing permanent links, the URL will look like this: https://en.wikipedia.org/w/index.php?title=Template:Prev&oldid=639914204. In this case, the value to use would be "639914204". When viewing diffs, the URL will look like this: https://en.wikipedia.org/w/index.php?title=Template:Prev&diff=639914204&oldid=489762261. In this case, you should use the "diff" URL parameter, i.e. "639914204". The "oldid" URL parameter will use the older of the two revisions, which probably isn't what you want.

Syntax

{{prev|oldid}}

Examples

  • {{prev|639914204}} → http://en.wikipedia.org/w/index.php?oldid=639914204&diff=prev
  • [{{prev|639914204}} a link] → a link

See also

  • Template:Diff
  • Special:Diff
The above documentation is transcluded from Template:Prev/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Prev&oldid=27330"
Categories:
  • Diff templates
  • Internal link templates
Last edited on 28 December 2014, at 02:28

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 28 December 2014, at 02:28.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop