Template:Oldid2/doc: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(create documentation subpage as import from en-wp - [http://en.wikipedia.org/w/index.php?title=Template:Oldid2/doc&oldid=525284961])
(No difference)

Revision as of 21:49, 27 March 2013

This is a documentation subpage for Template:Oldid2.

Usage

An enhancement of template:oldid, allowing a link to a section.

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

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