<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3AOldid%2Fdoc</id>
	<title>Template:Oldid/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3AOldid%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Oldid/doc&amp;action=history"/>
	<updated>2026-04-19T05:18:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Template:Oldid/doc&amp;diff=1800&amp;oldid=prev</id>
		<title>FilipeFonseca: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Oldid/doc&amp;diff=1800&amp;oldid=prev"/>
		<updated>2021-07-08T08:33:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{high-use|5894}}&lt;br /&gt;
&lt;br /&gt;
This template create links to &amp;quot;[[meta:Help:URL#Old versions of pages|oldid]]s&amp;quot;; that is, links to old versions of a wiki page.  It then labels those '''old''' versions the '''current''' one, unless you've supplied both the name of the page and the oldid.&lt;br /&gt;
&lt;br /&gt;
Every historical version of a page has a revision ID, which you can find from the links on the [[Help:Page history|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.&lt;br /&gt;
&lt;br /&gt;
If you only have the revision ID and not the page name, consider using {{tlx|oldid2}}, which requires only the revision ID and can still construct a link.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{tlx|oldid|&amp;lt;var&amp;gt;page&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;oid ocrop&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;label&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:33%;&amp;quot; | code !! result&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{oldid|Main Page|589841|Link to a 2003 version of the Main Page}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{oldid|Main Page|589841|Link to a 2003 version of the Main Page}}&lt;br /&gt;
* The '''label=''' parameter (parameter number 3) should be the link text description (optional).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{oldid|Main Page|589841}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{oldid|Main Page|589841}}&lt;br /&gt;
* The '''oldid=''' parameter (parameter number 2) should be the known revision number.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{oldid|Main Page}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{oldid|Main Page}}(pretty useless)&lt;br /&gt;
* The '''page=''' parameter (parameter number 1) should be the name of the page.&lt;br /&gt;
* The '''oldid=''' parameter (parameter number 2) can be '''cur''' (or leave it empty) for the current version.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Alias ==&lt;br /&gt;
* {{tl|Permalink}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Old}}&lt;br /&gt;
* {{Tl|Oldid2}} – Does not require the page name and can create a link to a section&lt;br /&gt;
* {{Tl|Cross-wiki oldid}}&lt;br /&gt;
* {{Tl|Cross-wiki language oldid}}&lt;br /&gt;
* {{Tl|Diff}} – Uses a similar approach to create links to [[Help:Diff|differences]] between versions&lt;br /&gt;
* {{Tl|Diff2}}&lt;br /&gt;
* {{Tl|Diff3}}&lt;br /&gt;
* {{Tl|Diff4}}&lt;br /&gt;
* {{Tl|History}} – Link to the edit history page of an article&lt;br /&gt;
* [[Special:Permalink]]&lt;br /&gt;
* [[Help:Permanent link]]&lt;br /&gt;
* [[User:Scottywong/diffconverter]] – A tool for converting from raw form&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;A template to link to old versions of a wiki page using the revision ID, which can be found in the history of the page.&amp;quot;,&lt;br /&gt;
  &amp;quot;params&amp;quot;: {&lt;br /&gt;
    &amp;quot;1&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Page title&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The page whose older revision will be linked to.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string/wiki-page-name&amp;quot;,&lt;br /&gt;
      &amp;quot;default&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: true&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;2&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Oldid&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;If not specified, links to the current version. 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. This should be a long number, like \&amp;quot;560214444\&amp;quot; (without the quotes).&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
      &amp;quot;default&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: false&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;3&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Label&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;If not specified, label of link will be \&amp;quot;Old revision of [the name of the page]\&amp;quot; (without the quotes). The label of the link that will be created.&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: false&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Oldid templates]]&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>FilipeFonseca</name></author>
	</entry>
</feed>