Template:Oldid2

Revision as of 16:09, 9 October 2017 by en>MusikAnimal (Protected "Template:Oldid2": Highly visible template; 15,000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[1]

Template documentation[view] [edit] [history] [purge]

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}} [2]
{{oldid2|123456789|Pgp688's version of "Boston Latin School"}} Pgp688's version of "Boston Latin School"
{{oldid2|123456789|External links|}} [3]

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.

}}