• Home
  • Random
  • Nearby
  • Create account
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia
  • Create account
  • Log in

Template:Oldid2

  • Template
  • Talk
  • Language
  • Watch
  • View source

Template documentationviewedithistorypurge
WarningThis template is used on approximately 114,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.

Usage

An enhancement of {{oldid}} which does not need the page title to be specified (since there are no oldid conflicts between pages) and which also allows linking to a specific section in the page.


Typical usage:

  • {{oldid2|Revision number|Label}}
  • {{oldid2|Revision number|Section name|Label}}
Code Output
{{oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}} Pgp688's version of "Boston Latin School"
{{oldid2|123456789}}
{{oldid2|123456789|Pgp688's version of "Boston Latin School"}} Pgp688's version of "Boston Latin School"
{{oldid2|123456789|External links|}}

Note that if the third parameter is used, even if empty, the 2nd specifies the section of the page, instead, and the 3rd specifies the link text.

Redirects

  • {{Revision link}}
  • {{Revlink}}

See also

  • {{Oldid}}
  • Special:Permalink
  • {{Cross-wiki oldid}}
  • {{Cross-wiki language oldid}}
  • {{Diff2}}
  • Help:Permanent link
The above documentation is transcluded from Template:Oldid2/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Oldid2&oldid=804526164"
Last edited on 9 October 2017, at 16:09

Languages

    • অসমীয়া
    • भोजपुरी
    • বাংলা
    • Čeština
    • فارسی
    • 日本語
    • Ladin
    • മലയാളം
    • नेपाली
    • ଓଡ଼ିଆ
    • Simple English
    • Slovenčina
    • Slovenščina
    • Soomaaliga
    • Türkçe
    • Українська
    • Tiếng Việt
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 9 October 2017, at 16:09 (UTC).
    • Page was rendered with Parsoid.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Legal & safety contacts
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop view