<?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%3AInfobox_road%2Fcolor%2FCAN</id>
	<title>Module:Infobox road/color/CAN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox_road%2Fcolor%2FCAN"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Infobox_road/color/CAN&amp;action=history"/>
	<updated>2026-06-12T19:49:27Z</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:Infobox_road/color/CAN&amp;diff=472296&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:Infobox_road/color/CAN&amp;diff=472296&amp;oldid=prev"/>
		<updated>2021-07-15T23:21:53Z</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;
local colors = {}&lt;br /&gt;
function colors:color(args)&lt;br /&gt;
    local headerType = args.headerType&lt;br /&gt;
    if headerType == &amp;quot;freeway&amp;quot; then&lt;br /&gt;
        return &amp;quot;background:#003F87; color:#fff;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    local province = args.province&lt;br /&gt;
    local type = args.type or ''&lt;br /&gt;
    if type == province then&lt;br /&gt;
        return &amp;quot;background:#006A4D; color:#fff;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    return self[type] or &amp;quot;background:#cedff2;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for i,type in pairs({&amp;quot;A&amp;quot;, &amp;quot;Autoroute&amp;quot;, &amp;quot;ATCH&amp;quot;, &amp;quot;Fwy&amp;quot;, &amp;quot;Toronto&amp;quot;}) do&lt;br /&gt;
    colors[type] = &amp;quot;background:#003F87; color:#fff;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for i,type in pairs({&amp;quot;Hwy&amp;quot;, &amp;quot;PR&amp;quot;, &amp;quot;PTH&amp;quot;, &amp;quot;Route&amp;quot;, &amp;quot;Trunk&amp;quot;, &amp;quot;Sec&amp;quot;, &amp;quot;Secondary&amp;quot;, &amp;quot;TCH&amp;quot;, &amp;quot;Parkway&amp;quot;}) do&lt;br /&gt;
    colors[type] = &amp;quot;background:#006A4D; color:#fff;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for i,type in pairs({&amp;quot;QC OLD&amp;quot;}) do&lt;br /&gt;
    colors[type] = &amp;quot;background:#AAA;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.colors = colors&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>