<?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%3ARoad_data%2Fcountrymask%2Fparser</id>
	<title>Module:Road data/countrymask/parser - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ARoad_data%2Fcountrymask%2Fparser"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Road_data/countrymask/parser&amp;action=history"/>
	<updated>2026-04-22T19:26:08Z</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:Road_data/countrymask/parser&amp;diff=144683&amp;oldid=prev</id>
		<title>imported&gt;Rschen7754: Protected Module:Road data/countrymask/parser: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Road_data/countrymask/parser&amp;diff=144683&amp;oldid=prev"/>
		<updated>2014-01-13T09:56:49Z</updated>

		<summary type="html">&lt;p&gt;Protected Module:Road data/countrymask/parser: &lt;a href=&quot;/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;Highly visible template&lt;/a&gt; ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = { }&lt;br /&gt;
&lt;br /&gt;
function p.mask(frame)&lt;br /&gt;
	local pframe = frame:getParent()&lt;br /&gt;
	local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself&lt;br /&gt;
	local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template&lt;br /&gt;
	&lt;br /&gt;
	local data = mw.loadData(&amp;quot;Module:Road data/countrymask&amp;quot;)&lt;br /&gt;
	local country = args[2] or &amp;#039;&amp;#039;&lt;br /&gt;
	if country ~= &amp;#039;&amp;#039; then return string.upper(country) end&lt;br /&gt;
	local state = args[1] or &amp;#039;&amp;#039;&lt;br /&gt;
	return data[state] or &amp;#039;UNK&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Rschen7754</name></author>
	</entry>
</feed>