[[Special:Permalink/{{{1}}}|{{{2|}}}]]
This is the template sandbox page for Template:Oldid2 (diff). See also the companion subpage for test cases. |
This template is used on approximately 92,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editAn 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}}
|
[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, even if empty, the 2nd specifies the section of the page, instead, and the 3rd specifies the link text.
Redirects
edit- {{Revision link}}
- {{Revlink}}