<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/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="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AOldid%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Oldid/doc&amp;action=history"/>
	<updated>2026-04-09T10:25:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Oldid/doc&amp;diff=13261&amp;oldid=prev</id>
		<title>Caleb Cooper: /* Usage */</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Oldid/doc&amp;diff=13261&amp;oldid=prev"/>
		<updated>2020-10-21T12:58:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage&lt;/span&gt;&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}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
This template create links to &amp;quot;oldids&amp;quot;; that is, links to old versions of a wiki page.  It then labels those &amp;#039;&amp;#039;&amp;#039;old&amp;#039;&amp;#039;&amp;#039; versions the &amp;#039;&amp;#039;&amp;#039;current&amp;#039;&amp;#039;&amp;#039; one, unless you&amp;#039;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 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;oldid&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 &amp;#039;&amp;#039;&amp;#039;label=&amp;#039;&amp;#039;&amp;#039; 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 &amp;#039;&amp;#039;&amp;#039;oldid=&amp;#039;&amp;#039;&amp;#039; 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 &amp;#039;&amp;#039;&amp;#039;page=&amp;#039;&amp;#039;&amp;#039; parameter (parameter number 1) should be the name of the page.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;oldid=&amp;#039;&amp;#039;&amp;#039; parameter (parameter number 2) can be &amp;#039;&amp;#039;&amp;#039;cur&amp;#039;&amp;#039;&amp;#039; (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;
For more detail see wikipedia page [[wikipedia:Creating Template:Oldid]]&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>Caleb Cooper</name></author>
	</entry>
</feed>