<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/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://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ARoad_data%2Fcountrymask%2Fparser"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Road_data/countrymask/parser&amp;action=history"/>
	<updated>2026-06-13T22:46:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Road_data/countrymask/parser&amp;diff=479151&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Road_data/countrymask/parser&amp;diff=479151&amp;oldid=prev"/>
		<updated>2021-07-16T05:40:00Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&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 ''&lt;br /&gt;
	if country ~= '' then return string.upper(country) end&lt;br /&gt;
	local state = args[1] or ''&lt;br /&gt;
	return data[state] or 'UNK'&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>