<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACospar</id>
	<title>Template:Cospar - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACospar"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Cospar&amp;action=history"/>
	<updated>2026-04-05T16:16:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Template:Cospar&amp;diff=8789&amp;oldid=prev</id>
		<title>&gt;GKFX: Simplify with regex</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Cospar&amp;diff=8789&amp;oldid=prev"/>
		<updated>2021-05-12T20:00:10Z</updated>

		<summary type="html">&lt;p&gt;Simplify with regex&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#if:{{{id|{{{1|}}}}}}|{{nowrap|1=[https://nssdc.gsfc.nasa.gov/nmc/spacecraft/display.action?id={{{id|{{{1|}}}}}} {{{name|{{{2|{{{id|{{{1|}}}}}}}}}}}}]}} {{#if: {{{noval|}}}&lt;br /&gt;
|&lt;br /&gt;
|{{#ifeq: {{#invoke:ustring|sub|\{{{id|{{{1|}}}}}}|5|5}}|-&lt;br /&gt;
 |{{#ifexpr: &lt;br /&gt;
    1957 &amp;lt;= {{#invoke:ustring|sub|\{{{id|{{{1|}}}}}}|1|4}}&lt;br /&gt;
    and {{#invoke:ustring|sub|\{{{id|{{{1|}}}}}}|1|4}} &amp;lt;= {{CURRENTYEAR}}&lt;br /&gt;
    ||{{error-small|COSPAR ID year must be between 1957 and {{CURRENTYEAR}}}}{{#if: {{{demo|}}}||[[Category:Pages with COSPAR ID errors]]}}&lt;br /&gt;
    }}&lt;br /&gt;
  {{#if:{{#invoke:ustring|match|\{{{id|{{{1|}}}}}}|^[0-9][0-9][0-9][A-Za-z][A-Za-z]?[A-Za-z]?[^A-Za-z]*$|6}}&lt;br /&gt;
    ||{{error-small|COSPAR ID does not match expected format}}{{#if: {{{demo|}}}||[[Category:Pages with COSPAR ID errors]]}}&lt;br /&gt;
  }}&lt;br /&gt;
  |&amp;lt;!--skip validation in case of TLE format--&amp;gt; &lt;br /&gt;
}}&lt;br /&gt;
}}}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>&gt;GKFX</name></author>
	</entry>
</feed>