<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://traveller.m9s5ever.co.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ATwo_digit_year</id>
	<title>Template:Two digit year - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://traveller.m9s5ever.co.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ATwo_digit_year"/>
	<link rel="alternate" type="text/html" href="https://traveller.m9s5ever.co.uk/index.php?title=Template:Two_digit_year&amp;action=history"/>
	<updated>2026-10-18T11:24:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.7</generator>
	<entry>
		<id>https://traveller.m9s5ever.co.uk/index.php?title=Template:Two_digit_year&amp;diff=3624&amp;oldid=prev</id>
		<title>imported&gt;Primefac: Changed protection level for &quot;Template:Two digit year&quot;: high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://traveller.m9s5ever.co.uk/index.php?title=Template:Two_digit_year&amp;diff=3624&amp;oldid=prev"/>
		<updated>2018-02-23T17:03:07Z</updated>

		<summary type="html">&lt;p&gt;Changed protection level for &amp;quot;&lt;a href=&quot;/index.php/Template:Two_digit_year&quot; title=&quot;Template:Two digit year&quot;&gt;Template:Two digit year&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/index.php?title=WP:HIGHRISK&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:HIGHRISK (page does not exist)&quot;&gt;high-risk&lt;/a&gt; template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#ifeq: {{#expr: {{{1|0}}} mod 100}} | 0&lt;br /&gt;
  | 00&lt;br /&gt;
  | {{#ifeq: {{#expr: {{#expr: {{{1|0}}} mod 100}} &amp;lt; 10 }} | 1&lt;br /&gt;
      | 0&lt;br /&gt;
      |&lt;br /&gt;
    }}{{#expr: {{{1|0}}} mod 100}}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
Converts four digit year to two with zero padding.&lt;br /&gt;
;Tests:&lt;br /&gt;
:1999 -&amp;gt; {{two digit year|1999}}&lt;br /&gt;
:2000 -&amp;gt; {{two digit year|2000}}&lt;br /&gt;
:2001 -&amp;gt; {{two digit year|2001}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Primefac</name></author>
	</entry>
</feed>