<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIs_leap_year%2Fdoc</id>
	<title>Template:Is leap year/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIs_leap_year%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Is_leap_year/doc&amp;action=history"/>
	<updated>2026-05-09T08:53:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Is_leap_year/doc&amp;diff=2831&amp;oldid=prev</id>
		<title>MarkAHershberger: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Is_leap_year/doc&amp;diff=2831&amp;oldid=prev"/>
		<updated>2026-01-19T18:40:59Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:40, 19 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>MarkAHershberger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Is_leap_year/doc&amp;diff=2830&amp;oldid=prev</id>
		<title>w&gt;HouseBlaster: update doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Is_leap_year/doc&amp;diff=2830&amp;oldid=prev"/>
		<updated>2025-01-22T03:08:20Z</updated>

		<summary type="html">&lt;p&gt;update doc&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;
{{tsh|Ly|isLeapYear}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
: {{Tlx|is leap year|&amp;#039;&amp;#039;year&amp;#039;&amp;#039;}}&lt;br /&gt;
: &amp;#039;&amp;#039;year&amp;#039;&amp;#039; defaults to {{tld|CURRENTYEAR|}} ({{CURRENTYEAR}}). It must be specified in the Gregorian calendar, extended to all epochs using linear year numbering: use the [[proleptic Gregorian calendar]] in Christian Era before the change, and the astronomical year convention (using negative numbers, and year 0) in all years BC before the Christian era (there&amp;#039;s a difference of 1 in absolute value).&lt;br /&gt;
===Parameters===&lt;br /&gt;
* &amp;#039;&amp;#039;Unnamed parameter&amp;#039;&amp;#039; The year to calculate with (default: {{CURRENTYEAR}})&lt;br /&gt;
* {{para|yes}} What to output if it is a leap year (default : 1)&lt;br /&gt;
* {{para|no}} What to output if it isn&amp;#039;t a leap year (default: 0)&lt;br /&gt;
=== Formula ===&lt;br /&gt;
The template currently uses Wikimedia function time (#time). It is the same as if 4 mod year = 0  and 100 mod year ≠ 0, then not a leap year, unless 400 mod year = 0, then it is a leap year.&lt;br /&gt;
&lt;br /&gt;
=== Sanity check ===&lt;br /&gt;
* {{tld|is leap year|2000|_show_result=y}}: 2000 AD is &amp;#039;&amp;#039;effectively&amp;#039;&amp;#039; a leap year &amp;#039;&amp;#039;(in both the Julian and Gregorian calendars)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|502*4-8|_show_result=y}}: 2000 AD is &amp;#039;&amp;#039;effectively&amp;#039;&amp;#039; a leap year &amp;#039;&amp;#039;(in both the Julian and Gregorian calendars)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|2001|_show_result=y}}: 2001 AD is not a leap year.&lt;br /&gt;
* {{tld|is leap year|2004|_show_result=y}}: 2004 AD is a leap year.&lt;br /&gt;
* {{tld|is leap year|2005|_show_result=y}}: 2005 AD is not a leap year.&lt;br /&gt;
* {{tld|is leap year|2007|_show_result=y}}: 2007 AD is not a leap year.&lt;br /&gt;
* {{tld|is leap year|2008|_show_result=y}}: 2008 AD is a leap year.&lt;br /&gt;
* {{tld|is leap year|2009|_show_result=y}}: 2009 AD is not a leap year.&lt;br /&gt;
* {{tld|is leap year|2100|_show_result=y}}: 2100 AD is not a leap year in the Gregorian calendar &amp;#039;&amp;#039;(but not in the Julian calendar)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|2400|_show_result=y}}: 2400 AD is &amp;#039;&amp;#039;effectively&amp;#039;&amp;#039; a leap year &amp;#039;&amp;#039;(in both the Julian and Gregorian calendars)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|1900|_show_result=y}}: 1900 AD is not a leap year in the Gregorian calendar &amp;#039;&amp;#039;(but not in the Julian calendar)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|1800|_show_result=y}}: 1800 AD is not a leap year in the Gregorian calendar &amp;#039;&amp;#039;(but not in the Julian calendar)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|1700|_show_result=y}}: 1700 AD is not a leap year in the Gregorian calendar &amp;#039;&amp;#039;(but not in the Julian calendar)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|1600|_show_result=y}}: 1600 AD is &amp;#039;&amp;#039;effectively&amp;#039;&amp;#039; a leap year &amp;#039;&amp;#039;(in both the Julian and Gregorian calendars)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|1500|_show_result=y}}: 1500 AD is not a leap year in the [[proleptic Gregorian calendar]] &amp;#039;&amp;#039;(but is leap in the actual Julian calendar)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|0}}: 1 BC is a leap year in the astronomical calendar &amp;#039;&amp;#039;(mostly pointless for actual calendars of such epoch, but correct in the astronomical calendar where it is year 0)&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tld|is leap year|-100|_show_result=y}}: 101 BC is not a leap year in the astronomical calendar &amp;#039;&amp;#039;(mostly pointless for actual calendars of such epoch, but correct in the astronomical calendar where it is year -100)&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Results for fractions like {{tld|is leap year|2000.9|_show_result=y}} are rounded down (floor).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates|{{PAGENAME}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;HouseBlaster</name></author>
	</entry>
</feed>