Jump to content

Template:Oldid2/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 01:50, 20 November 2025 by ~2025-34905-20 (talk | changes) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == An enhancement of {{tl|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: * {{tlx|oldid2|<var>Revision number</var>|<var>Label</var>}} * {{tlx|oldid2|<var>Revision number</var>|<var>Section name</var>|<var>Label</var>}} {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

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|1234567|External links|Creol's version of "Robert Browning"}} Creol's version of "Robert Browning"}
{{oldid2|1234567}}
{{oldid2|1234567|Creol's version of "Robert Browning"}}} Creol's version of "Robert Browning"}
{{oldid2|1234567|External links|}}

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.