<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://culturaitaliana.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AHeader%2Fyear</id>
	<title>Template:Header/year - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://culturaitaliana.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AHeader%2Fyear"/>
	<link rel="alternate" type="text/html" href="https://culturaitaliana.org/w/index.php?title=Template:Header/year&amp;action=history"/>
	<updated>2026-04-08T15:43:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://culturaitaliana.org/w/index.php?title=Template:Header/year&amp;diff=7576&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://culturaitaliana.org/w/index.php?title=Template:Header/year&amp;diff=7576&amp;oldid=prev"/>
		<updated>2020-11-05T20:02:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 20:02, 5 November 2020&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>Admin</name></author>
	</entry>
	<entry>
		<id>https://culturaitaliana.org/w/index.php?title=Template:Header/year&amp;diff=7575&amp;oldid=prev</id>
		<title>en&gt;Kathleen.wright5: Category:Header templates</title>
		<link rel="alternate" type="text/html" href="https://culturaitaliana.org/w/index.php?title=Template:Header/year&amp;diff=7575&amp;oldid=prev"/>
		<updated>2015-07-21T08:57:43Z</updated>

		<summary type="html">&lt;p&gt;Category:Header templates&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--&lt;br /&gt;
=== INPUTS TO THIS SUB-TEMPLATE ===&lt;br /&gt;
1       = year&lt;br /&gt;
noprint = if 1, do not print the year in the header (eg. noyear)&lt;br /&gt;
nocat   = if 1, do not categorise the page (eg. noyearcat, disambiguation, [is subpage])&lt;br /&gt;
--&amp;gt;{{#if:{{SUBJECTSPACE}}&lt;br /&gt;
     |&amp;lt;!-- all but main namespace = no action --&amp;gt;&lt;br /&gt;
     |&amp;lt;!-- main namespace&lt;br /&gt;
&lt;br /&gt;
Check if the input is blank or not&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{year|{{{1|}}}}}}|&amp;lt;!--if something, continue...&lt;br /&gt;
&lt;br /&gt;
Check if the input is a number&lt;br /&gt;
&lt;br /&gt;
  --&amp;gt;{{#ifeq:{{is number|{{{year|{{{1|}}}}}} }}|1&lt;br /&gt;
       |&amp;lt;!-- YES IT IS A NUMBER: perform as normal (nb: have to include years with digits below 4) --&amp;gt;{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:{{{year|{{{1|}}}}}} works]]}}&lt;br /&gt;
       |&amp;lt;!-- NO IT IS NOT A NUMBER: more if statements and switches to select the right thing.&lt;br /&gt;
&lt;br /&gt;
          First, add temporary tracking category (unless nocat is true) --&amp;gt;{{#ifeq:{{{nocat|}}}|1||[[Category:Works with non-numeric dates]]}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
          Now some checks to determine the type on non-numeric input:&lt;br /&gt;
&lt;br /&gt;
          --&amp;gt;{{#ifeq:{{{year|{{{1|}}}}}|?&lt;br /&gt;
               |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;(unknown)&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:Works of unknown date‎]]}}&lt;br /&gt;
               |&amp;lt;!--ELSE check if the input &amp;quot;unknown&amp;quot;&lt;br /&gt;
&lt;br /&gt;
            --&amp;gt;{{#ifeq:{{{year|{{{1|}}}}}}|unknown&lt;br /&gt;
                 |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;(unknown)&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:Works of unknown date‎]]}}&lt;br /&gt;
                 |&amp;lt;!--ELSE check if the input is a decade &lt;br /&gt;
&lt;br /&gt;
               --&amp;gt;{{#ifeq:{{is decade|{{{year|{{{1|}}}}}}|function=3}}|1&lt;br /&gt;
                    |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:{{{year|{{{1|}}}}}} works]][[Category:Works of uncertain date]]}}&lt;br /&gt;
                    |&amp;lt;!--ELSE check if the input is a century&lt;br /&gt;
&lt;br /&gt;
                  --&amp;gt;{{#ifeq:{{is century|{{{year|{{{1|}}}}}}|function=3}}|1&lt;br /&gt;
                       |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:{{{year|{{{1|}}}}}} works]][[Category:Works of uncertain date]]}}&lt;br /&gt;
                       |&amp;lt;!--ELSE check if the input is Before Common Era (BCE) &lt;br /&gt;
&lt;br /&gt;
                     --&amp;gt;{{#ifeq:{{is year|{{{year|{{{1|}}}}}}|function=3}}|1&lt;br /&gt;
                         |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:{{{year|{{{1|}}}}}} works]]}}&lt;br /&gt;
                         |&amp;lt;!--ELSE check more complicated 2-part inputs&lt;br /&gt;
&lt;br /&gt;
                       --&amp;gt;{{#if:{{#titleparts:{{{year|{{{1|}}}}}}|1|2}}&amp;lt;!-- if there is a 2nd part to the input, separated by a slash&lt;br /&gt;
                         --&amp;gt;|{{#switch:{{lc:{{#titleparts:{{{year|{{{1|}}}}}}|1|1}}}}&amp;lt;!-- check the 1st part --&amp;gt;&lt;br /&gt;
                               | c&lt;br /&gt;
                               | c.&lt;br /&gt;
                               | circa = &amp;lt;!-- year entered as &amp;quot;circa/YYYY&amp;quot; &lt;br /&gt;
&lt;br /&gt;
                                      --&amp;gt;{{#ifeq:{{Is year&lt;br /&gt;
                                                   | input    = {{#titleparts:{{{year|{{{1|}}}}}}|1|2}}&lt;br /&gt;
                                                   | function = 3&lt;br /&gt;
                                                 }}&lt;br /&gt;
                                           |1&lt;br /&gt;
                                           |{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;(c. {{#titleparts:{{{year|{{{1|}}}}}}|1|2}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:{{is year|input={{#titleparts:{{{year|{{{1|}}}}}}|1|2}}|function=1}} works]][[Category:Works of uncertain date]]}}&amp;lt;!-- ie. use the corresponding decade-based category for sorting this work with a &amp;quot;circa&amp;quot;-style date --&amp;gt;&lt;br /&gt;
                                           |&amp;lt;!-- ELSE&lt;br /&gt;
&lt;br /&gt;
                                         --&amp;gt;{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:Works with unrecognised dates]][[Category:Undated works‎]]}}&amp;lt;!-- a &amp;quot;circa&amp;quot;-style date with a non-year 2nd part get categorised as unrecognised and undated --&amp;gt;&lt;br /&gt;
                                         }}&amp;lt;!-- end ifeq isyear titleparts (2nd part) --&amp;gt;&lt;br /&gt;
                               | #default = &amp;lt;!-- ELSE&lt;br /&gt;
&lt;br /&gt;
                                         --&amp;gt;{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:Works with unrecognised dates]][[Category:Undated works‎]]}}&amp;lt;!-- if a multi-part date but no matches, categorise as unrecognised and undated --&amp;gt;&lt;br /&gt;
                             }}&amp;lt;!-- end switch titleparts (1st part) --&amp;gt;&lt;br /&gt;
                            |&amp;lt;!-- ELSE &lt;br /&gt;
&lt;br /&gt;
                          --&amp;gt;{{#ifeq:{{{noprint|}}}|1||&amp;amp;nbsp;({{{year|{{{1|}}}}}})&amp;amp;nbsp;}}{{#ifeq:{{{nocat|}}}|1||[[Category:Works with unrecognised dates]][[Category:Undated works‎]]}}&amp;lt;!-- if the input is STILL not recognised, categorise it as unrecognised and undated --&amp;gt;&lt;br /&gt;
                          }}&amp;lt;!-- end if titleparts --&amp;gt;&lt;br /&gt;
                       }}&amp;lt;!-- end ifeq year BCE --&amp;gt;&lt;br /&gt;
                     }}&amp;lt;!-- end ifeq century --&amp;gt;&lt;br /&gt;
                  }}&amp;lt;!-- end ifeq decade --&amp;gt;&lt;br /&gt;
               }}&amp;lt;!-- end ifeq &amp;quot;unknown&amp;quot; --&amp;gt;&lt;br /&gt;
             }}&amp;lt;!-- end ifeq ? --&amp;gt;&lt;br /&gt;
       }}&amp;lt;!-- end ifeq isnumber --&amp;gt;&lt;br /&gt;
    |{{#ifeq:{{{nocat|}}}|1||[[Category:Undated works‎]]}}&lt;br /&gt;
  }}&amp;lt;!-- if value in parameter {{{year|{{{1}}}}}} --&amp;gt;&lt;br /&gt;
}}&amp;lt;!-- if SUBJECTSPACE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Header templates|Header/year]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Kathleen.wright5</name></author>
	</entry>
</feed>