<link href="../fonts/font.css" rel="stylesheet" type="text/css">

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
		<id>https://wiki.imaroof.ir/index.php?action=history&amp;feed=atom&amp;title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86%3AInfobox_road%2Fabbrev</id>
		<title>پودمان:Infobox road/abbrev - تاریخچهٔ ویرایش‌ها</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.imaroof.ir/index.php?action=history&amp;feed=atom&amp;title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86%3AInfobox_road%2Fabbrev"/>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Infobox_road/abbrev&amp;action=history"/>
		<updated>2026-08-03T02:26:39Z</updated>
		<subtitle>تاریخچهٔ ویرایش‌های این صفحه در ویکی</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.imaroof.ir/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Infobox_road/abbrev&amp;diff=931&amp;oldid=prev</id>
		<title>Admin: ۱ نسخه واردشده</title>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Infobox_road/abbrev&amp;diff=931&amp;oldid=prev"/>
				<updated>2016-03-03T11:25:20Z</updated>
		
		<summary type="html">&lt;p&gt;۱ نسخه واردشده&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='fa'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;→ نسخهٔ قدیمی‌تر&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;نسخهٔ ‏۱۳ اسفند ۱۳۹۴، ساعت ۱۱:۲۵&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='fa'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(بدون تفاوت)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.imaroof.ir/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Infobox_road/abbrev&amp;diff=930&amp;oldid=prev</id>
		<title>Imzadi1979: fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Infobox_road/abbrev&amp;diff=930&amp;oldid=prev"/>
				<updated>2015-11-18T03:09:34Z</updated>
		
		<summary type="html">&lt;p&gt;fix&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local format = mw.ustring.format&lt;br /&gt;
&lt;br /&gt;
local typesModule = require &amp;quot;Module:Infobox road/abbrev/defs&amp;quot;&lt;br /&gt;
Country = typesModule.Country&lt;br /&gt;
Type = typesModule.Type&lt;br /&gt;
Abbr = typesModule.Abbr&lt;br /&gt;
&lt;br /&gt;
local abbrevs = {}&lt;br /&gt;
do&lt;br /&gt;
    function abbrevs:abbr(args)&lt;br /&gt;
        local countryArg = args.country&lt;br /&gt;
        local success, country = pcall(self.country, self, countryArg)&lt;br /&gt;
        if not(success) then&lt;br /&gt;
            return ''&lt;br /&gt;
        else&lt;br /&gt;
            local success, abbr = pcall(country.abbr, country, args)&lt;br /&gt;
            if success then&lt;br /&gt;
                return abbr&lt;br /&gt;
            elseif abbr == 'Invalid type' then&lt;br /&gt;
                local page = mw.title.getCurrentTitle()&lt;br /&gt;
                local pagename = page.prefixedText&lt;br /&gt;
                local ns = page.namespace&lt;br /&gt;
                return (ns == 0) and format(&amp;quot;[[Category:Infobox road transclusion errors|&amp;amp; %s]]&amp;quot;, pagename) or error(abbr, 0)&lt;br /&gt;
            else&lt;br /&gt;
                error(abbr, 0)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    function abbrevs:country(name)&lt;br /&gt;
        local abbr = self[name]&lt;br /&gt;
        if abbr then return abbr end&lt;br /&gt;
        local module = require(format(&amp;quot;Module:Infobox road/abbrev/%s&amp;quot;, name))&lt;br /&gt;
        return module.abbrs&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    abbrevs.AUT = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;S&amp;quot;] = &amp;quot;S%s&amp;quot;} -- Austria&lt;br /&gt;
    abbrevs.BGD = Country:newWithSimpleAbbrs{[&amp;quot;N&amp;quot;] = &amp;quot;N%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R%s&amp;quot;, [&amp;quot;Z&amp;quot;] = &amp;quot;Z%s&amp;quot;} -- Bangladesh&lt;br /&gt;
    abbrevs.CHE = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;} -- Switzerland&lt;br /&gt;
    abbrevs.CHN = Country:newWithSimpleAbbrs{[{&amp;quot;G&amp;quot;, &amp;quot;Ex&amp;quot;, &amp;quot;Expwy&amp;quot;}] = &amp;quot;G%s&amp;quot;, [&amp;quot;S&amp;quot;] = &amp;quot;S%s&amp;quot;, [&amp;quot;X&amp;quot;] = &amp;quot;X%s&amp;quot;} -- China&lt;br /&gt;
    abbrevs.CYP = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;B&amp;quot;] = &amp;quot;B%s&amp;quot;} -- Cyprus&lt;br /&gt;
    abbrevs.CZE = Country:newWithSimpleAbbrs{[&amp;quot;D&amp;quot;] = &amp;quot;D%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R%s&amp;quot;} -- Czech Republic&lt;br /&gt;
    abbrevs.DEU = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A&amp;amp;nbsp;%s&amp;quot;, [&amp;quot;B&amp;quot;] = &amp;quot;B&amp;amp;nbsp;%s&amp;quot;} -- Germany&lt;br /&gt;
    abbrevs.ECU = Country:newWithSimpleAbbrs{[&amp;quot;E&amp;quot;] = &amp;quot;E%s&amp;quot;} -- Ecuador&lt;br /&gt;
    abbrevs.ESP = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A-%s&amp;quot;, [&amp;quot;AS&amp;quot;] = &amp;quot;AS-%s&amp;quot;, [&amp;quot;E&amp;quot;] = &amp;quot;E-%s&amp;quot;, [&amp;quot;M&amp;quot;] = &amp;quot;M-%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R-%s&amp;quot;} -- Spain&lt;br /&gt;
    abbrevs.EUR = Country:newWithSimpleAbbrs{[&amp;quot;E&amp;quot;] = &amp;quot;E%s&amp;quot;} -- Europe&lt;br /&gt;
    abbrevs.GBR = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;M&amp;quot;] = &amp;quot;M%s&amp;quot;} -- United Kingdom&lt;br /&gt;
    abbrevs.GEO = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A&amp;amp;nbsp;%s&amp;quot;, [&amp;quot;B&amp;quot;] = &amp;quot;B&amp;amp;nbsp;%s&amp;quot;} -- Georgia&lt;br /&gt;
    abbrevs.GHA = Country:newWithSimpleAbbrs{[&amp;quot;N&amp;quot;] = &amp;quot;N%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R%s&amp;quot;, [&amp;quot;IR&amp;quot;] = &amp;quot;IR%s&amp;quot;} -- Ghana&lt;br /&gt;
    abbrevs.GRC = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;EO&amp;quot;] = &amp;quot;EO%s&amp;quot;} -- Greece&lt;br /&gt;
    abbrevs.HKG = Country:newWithSimpleAbbrs{[{&amp;quot;Route&amp;quot;, &amp;quot;route&amp;quot;}] = &amp;quot;Route %s&amp;quot;} -- Hong Kong&lt;br /&gt;
    abbrevs.HRV = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;D&amp;quot;] = &amp;quot;D%s&amp;quot;} -- Croatia&lt;br /&gt;
    abbrevs.HUN = Country:newWithSimpleAbbrs{[&amp;quot;M&amp;quot;] = &amp;quot;M%s&amp;quot;} -- Hungary&lt;br /&gt;
    abbrevs.IDN = Country:newWithSimpleAbbrs{[{&amp;quot;N&amp;quot;, &amp;quot;National&amp;quot;, &amp;quot;National Highway&amp;quot;}] = &amp;quot;National Route&amp;amp;nbsp;%s&amp;quot;} -- Indonesia&lt;br /&gt;
    abbrevs.IND = Country:newWithSimpleAbbrs{[&amp;quot;NE&amp;quot;] = &amp;quot;NE&amp;amp;nbsp;%s&amp;quot;, [&amp;quot;NH&amp;quot;] = &amp;quot;NH&amp;amp;nbsp;%s&amp;quot;, [&amp;quot;SH&amp;quot;] = &amp;quot;SH&amp;amp;nbsp;%s&amp;quot;} -- India&lt;br /&gt;
    abbrevs.ITA = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;} -- Italy&lt;br /&gt;
    abbrevs.JPN = Country:newWithSimpleAbbrs{[{&amp;quot;National&amp;quot;, &amp;quot;Route&amp;quot;}] = &amp;quot;Route %s&amp;quot;} -- Japan&lt;br /&gt;
    abbrevs.KOR = Country:newWithSimpleAbbrs{[{&amp;quot;National&amp;quot;, &amp;quot;NR&amp;quot;}] = &amp;quot;NR %s&amp;quot;} -- South Korea&lt;br /&gt;
    abbrevs.LKA = Country:newWithSimpleAbbrs{[&amp;quot;E&amp;quot;] = &amp;quot;E%s&amp;quot;, [&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;B&amp;quot;] = &amp;quot;B%s&amp;quot;} -- Sri Lanka&lt;br /&gt;
    abbrevs.LVA = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;} -- Latvia&lt;br /&gt;
    abbrevs.MEX = Country:newWithSimpleAbbrs{[{&amp;quot;Federal Highway&amp;quot;, &amp;quot;Hwy&amp;quot;, &amp;quot;FH&amp;quot;}] = &amp;quot;Fed. %s&amp;quot;, [&amp;quot;SH&amp;quot;] = &amp;quot;SH %s&amp;quot;} -- Mexico&lt;br /&gt;
    abbrevs.NLD = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;N&amp;quot;] = &amp;quot;N%s&amp;quot;} -- Netherlands&lt;br /&gt;
    abbrevs.NOR = Country:newWithSimpleAbbrs{[&amp;quot;National&amp;quot;] = &amp;quot;NR %s&amp;quot;, [{&amp;quot;Fylkesvei&amp;quot;, &amp;quot;fylkesvei&amp;quot;, &amp;quot;Fv&amp;quot;, &amp;quot;fv&amp;quot;}] = &amp;quot;Fv %s&amp;quot;} -- Norway&lt;br /&gt;
    abbrevs.NZL = Country:newWithSimpleAbbrs{[&amp;quot;SH&amp;quot;] = &amp;quot;SH&amp;amp;nbsp;%s&amp;quot;} -- New Zealand&lt;br /&gt;
    abbrevs.POL = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;S&amp;quot;] = &amp;quot;S%s&amp;quot;, [&amp;quot;DK&amp;quot;] = &amp;quot;DK %s&amp;quot;, [&amp;quot;DW&amp;quot;] = &amp;quot;DW %s&amp;quot;} -- Poland&lt;br /&gt;
    abbrevs.ROU = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;DN&amp;quot;] = &amp;quot;DN%s&amp;quot;} -- Romania&lt;br /&gt;
    abbrevs.RUS = Country:newWithSimpleAbbrs{[&amp;quot;M&amp;quot;] = &amp;quot;M%s&amp;quot;} -- Russia&lt;br /&gt;
    abbrevs.SVK = Country:newWithSimpleAbbrs{[&amp;quot;D&amp;quot;] = &amp;quot;D%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R%s&amp;quot;} -- Slovakia&lt;br /&gt;
    abbrevs.SVN = Country:newWithSimpleAbbrs{[&amp;quot;A&amp;quot;] = &amp;quot;A%s&amp;quot;, [&amp;quot;H&amp;quot;] = &amp;quot;H%s&amp;quot;} -- Slovenia&lt;br /&gt;
    abbrevs.TUR = Country:newWithSimpleAbbrs{[{&amp;quot;otoyol&amp;quot;, &amp;quot;O&amp;quot;}] = &amp;quot;O-%s&amp;quot;, [{&amp;quot;state&amp;quot;, &amp;quot;D&amp;quot;}] = &amp;quot;D.%s&amp;quot;} -- Turkey&lt;br /&gt;
    abbrevs.TWN = Country:newWithSimpleAbbrs{[{&amp;quot;NH&amp;quot;, &amp;quot;Fwy&amp;quot;}] = &amp;quot;Fwy.&amp;amp;nbsp;%s&amp;quot;, [&amp;quot;PH&amp;quot;] = &amp;quot;PH&amp;amp;nbsp;%s&amp;quot;} -- Taiwan&lt;br /&gt;
    abbrevs.UKR = Country:newWithSimpleAbbrs{[&amp;quot;M&amp;quot;] = &amp;quot;Highway M%s&amp;quot;, [&amp;quot;H&amp;quot;] = &amp;quot;Highway H%s&amp;quot;} -- Ukraine&lt;br /&gt;
    abbrevs.URY = Country:newWithSimpleAbbrs{[{&amp;quot;Route&amp;quot;, &amp;quot;route&amp;quot;}] = &amp;quot;Route %s&amp;quot;} -- Uruguay&lt;br /&gt;
    abbrevs.ZAF = Country:newWithSimpleAbbrs{[&amp;quot;N&amp;quot;] = &amp;quot;N%s&amp;quot;, [&amp;quot;R&amp;quot;] = &amp;quot;R%s&amp;quot;} -- South Africa&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._abbr(args)&lt;br /&gt;
    return abbrevs:abbr(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.abbr(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 function emptyParam(param)&lt;br /&gt;
        local empty = {[''] = true, ['¬'] = true}&lt;br /&gt;
        if empty[param] then&lt;br /&gt;
            return nil&lt;br /&gt;
        else&lt;br /&gt;
            return param&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local country = args.country or config.country&lt;br /&gt;
    local type = args.type or config.type&lt;br /&gt;
    local state = args.state or config.state&lt;br /&gt;
    state = emptyParam(state)&lt;br /&gt;
    local province = args.province or config.province&lt;br /&gt;
    province = emptyParam(province)&lt;br /&gt;
    local route = args.route or config.route&lt;br /&gt;
    local county = args.county or config.county&lt;br /&gt;
    local dab = args.dab or config.dab&lt;br /&gt;
    &lt;br /&gt;
    return p._abbr{country=country, type=type, state=state, province=province, route=route, county=county, dab=dab}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Imzadi1979</name></author>	</entry>

	</feed>