Template:Oldid/doc
Appearance
This is a documentation subpage for Template:Oldid. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This template create links to "oldids"; that is, links to old versions of a wiki page.
Every historical version of a page has a revision ID, which you can find from the history of the page, or from the URL of the old revision. Given a page name and a revision IDs of it, you can construct a link to that particular version.
Usage
[सम्पादन]{{oldid|1=page|2=oldid|3=label}}
code | result |
---|---|
{{oldid|Main Page|589841|Link to a 2003 version of the Main Page}}
|
Link to a 2003 version of the Main Page
|
{{oldid|Main Page|589841}}
|
Old revision of Main Page
|
{{oldid|Main Page}}
|
Current version of Main Page (pretty useless)
|
Alias
[सम्पादन]- {{Permalink}}
See also
[सम्पादन]- {{oldid2}}: can create a link to a section.
- {{diff}} uses a similar approach to create links to differences between versions.
- Template:Cross-wiki oldid
- Template:Cross-wiki language oldid
- User:Scottywong/diffconverter, a tool for converting from raw form