Template:Oldid2/doc

From Wikimedia UK
< Template:Oldid2
Revision as of 21:49, 27 March 2013 by RexxS (talk | contribs) (create documentation subpage as import from en-wp - [http://en.wikipedia.org/w/index.php?title=Template:Oldid2/doc&oldid=525284961])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.