Template:Oldid2/doc
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.
Note that if you place whitespace after the numerical id, the template will malfunction.