<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AIATA_and_ICAO_code%2Fsandbox1</id>
	<title>Module:IATA and ICAO code/sandbox1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AIATA_and_ICAO_code%2Fsandbox1"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:IATA_and_ICAO_code/sandbox1&amp;action=history"/>
	<updated>2026-05-28T02:13:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:IATA_and_ICAO_code/sandbox1&amp;diff=136504&amp;oldid=prev</id>
		<title>imported&gt;RexxS: more detailed error message</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:IATA_and_ICAO_code/sandbox1&amp;diff=136504&amp;oldid=prev"/>
		<updated>2018-06-10T16:58:23Z</updated>

		<summary type="html">&lt;p&gt;more detailed error message&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Some example functions for IATA and ICAO&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local master = mw.loadData(&amp;quot;Module:IATA and ICAO code/data/sandbox1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
function p.airportName(frame)&lt;br /&gt;
	local icode = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if icode == &amp;quot;&amp;quot; then return &amp;quot;No parameter supplied&amp;quot; end&lt;br /&gt;
	local aname = master.IATA[icode]&lt;br /&gt;
	if not aname then aname = master.ICAO[icode] end&lt;br /&gt;
	if not aname then return &amp;quot;No airport name for code &amp;quot; .. icode end&lt;br /&gt;
	return aname&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.wikiName(frame)&lt;br /&gt;
	local icode = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if icode == &amp;quot;&amp;quot; then return &amp;quot;No parameter supplied&amp;quot; end&lt;br /&gt;
	local wname = master.WikiName[icode]&lt;br /&gt;
	if wname then return wname end&lt;br /&gt;
	return &amp;quot;No Wiki name for code &amp;quot; .. icode&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.IATAname(frame)&lt;br /&gt;
	local icode = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if icode == &amp;quot;&amp;quot; then return &amp;quot;No parameter supplied&amp;quot; end&lt;br /&gt;
	return master.IATA[icode] or &amp;quot;No IATA name for code &amp;quot; .. icode&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.ICAOname(frame)&lt;br /&gt;
	local icode = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
	if icode == &amp;quot;&amp;quot; then return &amp;quot;No parameter supplied&amp;quot; end&lt;br /&gt;
	return master.ICAO[icode] or &amp;quot;No ICAO name for code &amp;quot;.. icode&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;RexxS</name></author>
	</entry>
</feed>