<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://nssportwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpecDate</id>
	<title>Template:SpecDate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nssportwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpecDate"/>
	<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:SpecDate&amp;action=history"/>
	<updated>2026-05-17T09:39:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://nssportwiki.com/index.php?title=Template:SpecDate&amp;diff=74416&amp;oldid=prev</id>
		<title>Osarius at 11:00, 23 January 2026</title>
		<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:SpecDate&amp;diff=74416&amp;oldid=prev"/>
		<updated>2026-01-23T11:00:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:00, 23 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By keeping each nation&amp;#039;s calendar events separate, it is much easier to troubleshoot and maintain this system.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By keeping each nation&amp;#039;s calendar events separate, it is much easier to troubleshoot and maintain this system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Available DateSets===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Special:PrefixIndex/Template:SpecDate/}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Setup==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Setup==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Osarius</name></author>
	</entry>
	<entry>
		<id>https://nssportwiki.com/index.php?title=Template:SpecDate&amp;diff=74412&amp;oldid=prev</id>
		<title>Osarius: Created page with &quot;&lt;noinclude&gt;==Usage== This template is designed to be a meta-template allowing users to specify the dates of events in their own calendar.  SpecDate should &#039;&#039;&#039;never&#039;&#039;&#039; be used directly, and should only be called as a sub-template.&lt;br /&gt; e.g. &lt;nowiki&gt;{{SpecDate/OSR|WCQ98}}&lt;/nowiki&gt;, which returns the values specified in the template as the Osarian calendar date corresponding to the start of World Cup 98 qualifying.  Additional templates {{SpecDate short}} and {{SpecDate de...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:SpecDate&amp;diff=74412&amp;oldid=prev"/>
		<updated>2026-01-23T10:58:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;==Usage== This template is designed to be a meta-template allowing users to specify the dates of events in their own calendar.  SpecDate should &amp;#039;&amp;#039;&amp;#039;never&amp;#039;&amp;#039;&amp;#039; be used directly, and should only be called as a sub-template.&amp;lt;br /&amp;gt; e.g. &amp;lt;nowiki&amp;gt;{{SpecDate/OSR|WCQ98}}&amp;lt;/nowiki&amp;gt;, which returns the values specified in the template as the Osarian calendar date corresponding to the start of World Cup 98 qualifying.  Additional templates {{SpecDate short}} and {{SpecDate de...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;==Usage==&lt;br /&gt;
This template is designed to be a meta-template allowing users to specify the dates of events in their own calendar.&lt;br /&gt;
&lt;br /&gt;
SpecDate should &amp;#039;&amp;#039;&amp;#039;never&amp;#039;&amp;#039;&amp;#039; be used directly, and should only be called as a sub-template.&amp;lt;br /&amp;gt;&lt;br /&gt;
e.g. &amp;lt;nowiki&amp;gt;{{SpecDate/OSR|WCQ98}}&amp;lt;/nowiki&amp;gt;, which returns the values specified in the template as the Osarian calendar date corresponding to the start of World Cup 98 qualifying.&lt;br /&gt;
&lt;br /&gt;
Additional templates {{SpecDate short}} and {{SpecDate dev}} exist to allow this date to be output in different formats.&amp;lt;br /&amp;gt;&lt;br /&gt;
They should also be used as sub-templates, e.g. &amp;lt;nowiki&amp;gt;{{SpecDate dev/OSR|WCQ98}}&amp;lt;/nowiki&amp;gt;, which returns {{SpecDate dev/OSR|WCQ98}}; and &amp;lt;nowiki&amp;gt;{{SpecDate short/OSR|WCQ98}}&amp;lt;/nowiki&amp;gt; which returns {{SpecDate short/OSR|WCQ98}}.&lt;br /&gt;
&lt;br /&gt;
While one template could be used to determine all different calendar options, it would get unwieldy very quickly, and it would be easy for someone to accidentally break someone else&amp;#039;s SpecDate functionality.&lt;br /&gt;
&lt;br /&gt;
By keeping each nation&amp;#039;s calendar events separate, it is much easier to troubleshoot and maintain this system.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
To set the correct values for events you will need to decide on three things:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;DateSetCode&amp;#039;&amp;#039;&amp;#039;: a trigramme or abbreviation for the date set (in the example, this is &amp;quot;OSR&amp;quot;, the trigramme for [[Osarius]])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;EventCode&amp;#039;&amp;#039;&amp;#039;: a code to represent the event the dates refer to (in the example this is &amp;quot;WCQ98&amp;quot;, to represent the &amp;#039;&amp;#039;&amp;#039;W&amp;#039;&amp;#039;&amp;#039;orld &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;up &amp;#039;&amp;#039;&amp;#039;Q&amp;#039;&amp;#039;&amp;#039;ualifiers for edition &amp;#039;&amp;#039;&amp;#039;98&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;EventDate&amp;#039;&amp;#039;&amp;#039;: the date the event took place (or started, if it is across multiple days)&lt;br /&gt;
&lt;br /&gt;
===Main Template===&lt;br /&gt;
Create SpecDate/DateSetCode and copy the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{SpecDay/DateSetCode|{{{1}}}}}&amp;amp;nbsp;{{#switch: {{SpecMth/DateSetCode|{{{1}}}}} |  1 = January |  2 = February |  3 = March |  4 = April |  5 = May |  6 = June |  7 = July |  8 = August |  9 = September | 10 = October | 11 = November | 12 = December | January }},&amp;amp;nbsp;{{SpecYr/DateSetCode|{{{1}}}}}&amp;lt;noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to replace &amp;quot;DateSetCode&amp;quot; with your chosen value.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;quot; at the end means you can add notes and/or documentation after this if you like, and they won&amp;#039;t be included when you use the template.&amp;lt;br /&amp;gt;&lt;br /&gt;
As a recommendation, this should probably contain a list or table of EventCodes available for this DateSet. See [[Template:SpecDate/OSR]] for an example.&lt;br /&gt;
&lt;br /&gt;
===Alternate Formats===&lt;br /&gt;
Create SpecDate short/DateSetCode and copy the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#ifexpr: {{SpecDay/DateSetCode|{{{1}}}}}&amp;lt;10 | 0{{SpecDay/DateSetCode|{{{1}}}}} | {{SpecDay/DateSetCode|{{{1}}}}} }}/{{#ifexpr: {{SpecMth/DateSetCode|{{{1}}}}}&amp;lt;10 | 0{{SpecMth/DateSetCode|{{{1}}}}} | {{SpecMth/DateSetCode|{{{1}}}}} }}/{{SpecYr/OSR|{{{1}}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to replace &amp;quot;DateSetCode&amp;quot; with your chosen value.&lt;br /&gt;
&lt;br /&gt;
Create SpecDate dev/DateSetCode and copy the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{SpecYr/DateSetCode|{{{1}}}}}-{{#ifexpr: {{SpecMth/DateSetCode|{{{1}}}}}&amp;lt;10 | 0{{SpecMth/DateSetCode|{{{1}}}}} | {{SpecMth/DateSetCode|{{{1}}}}} }}-{{#ifexpr: {{SpecDay/DateSetCode|{{{1}}}}}&amp;lt;10 | 0{{SpecDay/DateSetCode|{{{1}}}}} | {{SpecDay/DateSetCode|{{{1}}}}} }}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to replace &amp;quot;DateSetCode&amp;quot; with your chosen value.&lt;br /&gt;
&lt;br /&gt;
===Date Components===&lt;br /&gt;
After this, you will then need to update the relevant subpages of SpecDay, SpecMth, and SpecYr (each followed by /DateSetCode, so SpecDay/OSR, etc)&lt;br /&gt;
&lt;br /&gt;
On those pages, copy the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#switch: {{{1}}} | EventCode1 = 1 | EventCode2 = 1 | 1 }}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And replace &amp;quot;EventCode1&amp;quot;, &amp;quot;EventCode2&amp;quot; etc with the codes you are using for the various events.&amp;lt;br /&amp;gt;&lt;br /&gt;
The numbers then represent the Day, Month, or Year of the date the event started or took place.&lt;br /&gt;
&lt;br /&gt;
If you only have one EventCode, you can delete EventCode2. The final value is a default value to use when no EventCode is supplied.&amp;lt;br /&amp;gt;&lt;br /&gt;
It is recommended to set SpecDay and SpecMth to 1, and SpecYr to a significant year that will stand out as an obvious default (like 1900 in RL)&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to add the World Cup 100 finals as starting on June 10th, 2326 in the calendar of Examplestan (XYZ):&lt;br /&gt;
* Create the Template subpage SpecDate/XYZ if it doesn&amp;#039;t already exist&lt;br /&gt;
* Create SpecDate dev/XYZ and SpecDate short/XYZ as well if they don&amp;#039;t already exist&lt;br /&gt;
* Decide on an EventCode for the World Cup 100 finals (like WCF100)&lt;br /&gt;
* Convert the EventDate into three numeric values (10 for day, 6 for month, 2326 for year)&lt;br /&gt;
* Update each of SpecDay/XYZ, SpecMth/XYZ, and SpecYr/XYZ with the correct numeric EventDate value (e.g. SpecDay/XYZ should have &amp;#039;WCF100 = 10&amp;#039; as an option in the switch statement)&lt;/div&gt;</summary>
		<author><name>Osarius</name></author>
	</entry>
</feed>