<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AAirreg%2Fdoc</id>
	<title>Template:Airreg/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AAirreg%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Airreg/doc&amp;action=history"/>
	<updated>2026-12-01T05:09:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://deeppolitics.org/index.php?title=Template:Airreg/doc&amp;diff=31643&amp;oldid=prev</id>
		<title>WikiSpooks&gt;Robin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Airreg/doc&amp;diff=31643&amp;oldid=prev"/>
		<updated>2015-12-11T13:15:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
{{intricate template}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Airreg&amp;#039;&amp;#039;&amp;#039; template can be used to generate footnote references to entries in aviation authority registries for the desired aircraft registration; for example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Airreg|N|470A}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces:&lt;br /&gt;
&lt;br /&gt;
:{{Airreg|N|470A}}&lt;br /&gt;
&lt;br /&gt;
{{Reflist-talk}}&lt;br /&gt;
&lt;br /&gt;
Only a limited number of national registries are supported (see below), i.e. those whose websites allow registration-based searches via URL parameters ([[HTTP GET]] requests).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Editors beware:&amp;#039;&amp;#039;&amp;#039; formatting of code to make it &amp;quot;look nice&amp;quot; is likely to inadvertently introduce leading and trailing blank lines into the template output.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
The template takes three positional parameters:&lt;br /&gt;
&lt;br /&gt;
# Country prefix&lt;br /&gt;
# Registration string&lt;br /&gt;
# Punctuation (optional)&lt;br /&gt;
&lt;br /&gt;
The prefix can be any of the [[Aircraft registration#List of countries/regions and their registration prefixes and patterns|ICAO country prefixes]], although only for supported countries a footnote reference will be generated. For non-supported countries, the template simply outputs the registration in full, e.g.  &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Airreg|TZ|AMK}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces&lt;br /&gt;
{{Airreg|TZ|AMK}}&lt;br /&gt;
&lt;br /&gt;
Any punctuation that is required to be placed before the citation marker (per [[WP:PAIC]]) can be specified as third parameter, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Airreg|N|470A|,}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces:&lt;br /&gt;
&lt;br /&gt;
:{{Airreg|N|470A|,}}&lt;br /&gt;
&lt;br /&gt;
{{Reflist-talk}}&lt;br /&gt;
&lt;br /&gt;
== Country prefixes supported ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    _&lt;br /&gt;
C    |&lt;br /&gt;
CF  _&amp;gt; Canada&lt;br /&gt;
&lt;br /&gt;
G   United Kingdom&lt;br /&gt;
HB  Switzerland&lt;br /&gt;
N   United States (see note 1)&lt;br /&gt;
OY  Denmark&lt;br /&gt;
PH  Netherlands&lt;br /&gt;
    _&lt;br /&gt;
PP   |&lt;br /&gt;
PR   |&lt;br /&gt;
PS    &amp;gt; Brazil&lt;br /&gt;
PT   |&lt;br /&gt;
PU  _|&lt;br /&gt;
&lt;br /&gt;
VH  Australia&lt;br /&gt;
ZK  New Zealand&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
&lt;br /&gt;
# Pre-1949 registrations (NC, NX etc.) are not supported and cause the FAA registry website to return a &amp;#039;Can Not Process Your Request At This Time&amp;#039; error. Use of the Airreg template in these cases is not recommended.&lt;br /&gt;
# South Korea (HL) and Japan (JA) are not supported, but are listed in the code among the supported prefixes, in order for the complete registration to be correctly outputted without a hyphen, unlike the default case that covers all other non-supported nations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSpooks&gt;Robin</name></author>
	</entry>
</feed>