Jump to content

Template:Oldid2/doc

From Simple English Wikipedia, the free encyclopedia

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|555555|What prime numbers are used for|Olego's version of "Prime number"}} Olego's version of "Prime number"
{{oldid2|555555}}
{{oldid2|555555|Olego's version of "Prime number"}} Olego's version of "Prime number"
{{oldid2|555555|What prime numbers are used for|}}

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.

[change source]