<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADecades_and_years%2Fyearlink</id>
	<title>Template:Decades and years/yearlink - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADecades_and_years%2Fyearlink"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Decades_and_years/yearlink&amp;action=history"/>
	<updated>2026-04-07T18:27:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Decades_and_years/yearlink&amp;diff=14162&amp;oldid=prev</id>
		<title>Wikipedia&gt;JFG: Radically simplify code thanks to {{dr}} template; apply AD notation to years 1-100 per RfC on Talk:AD 1</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Decades_and_years/yearlink&amp;diff=14162&amp;oldid=prev"/>
		<updated>2017-01-05T22:07:11Z</updated>

		<summary type="html">&lt;p&gt;Radically simplify code thanks to {{dr}} template; apply AD notation to years 1-100 per RfC on &lt;a href=&quot;/w/index.php?title=Talk:AD_1&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Talk:AD 1 (page does not exist)&quot;&gt;Talk:AD 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#ifeq:{{#expr:{{{2}}}}}|{{{2}}}&amp;lt;!-- {{{2}}} is a number: process it as a year --&amp;gt;&lt;br /&gt;
| {{#ifeq:{{{3|AD}}}|BC&lt;br /&gt;
  | {{dr|y|y|-{{{2}}}|0|ysa}}&amp;lt;!-- Process negative years and display small BC prefix --&amp;gt;&lt;br /&gt;
  | {{dr|y|y|{{{2}}}|0|{{#ifexpr:{{{2}}}&amp;lt;=100|ysa|y}}}}&amp;lt;!-- Display small AD prefix for years 1 to 100, otherwise just year number --&amp;gt;&lt;br /&gt;
  }}&amp;lt;!-- {{{2}}} is not a number: process it as a decade (number followed by &amp;quot;s&amp;quot;) --&amp;gt;&lt;br /&gt;
| [[{{Decades and years/addepoch|1={{{2}}}|2={{{3|AD}}} }}{{{4|}}}|&amp;#039;&amp;#039;&amp;#039;{{Decades and years/addepoch|1={{{2}}}|2={{{3|AD}}}|3=&amp;lt;small&amp;gt;{{{3|AD}}}&amp;lt;/small&amp;gt; }}&amp;#039;&amp;#039;&amp;#039;]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Namespace parameter {{{1}}} is no longer supported (it was unused) --&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;JFG</name></author>
	</entry>
</feed>