请输入您要查询的百科知识:

 

词条 Module:Infobox road/abbrev/VNM
释义

local p = {}

local format = mw.ustring.format

local typesModule = require "Module:Infobox road/abbrev/defs"

Country = typesModule.Country

Type = typesModule.Type

Abbr = typesModule.Abbr

local abbrs = Country:new()

do -- Abbreviation definitions

    local default = Abbr:new{formatStr = "Đường %s"}    abbrs.default = default        function abbrs:typeOverride(args)        local type = args.type or ''        type = mw.ustring.lower(type)        return self[type]    end        do -- National        local type = Abbr:new{formatStr = "QL %s"}        abbrs["ql"] = type        abbrs["quốc lộ"] = type        abbrs["national"] = type        abbrs["nation"] = type    end -- National        do -- Provincial        local type = Abbr:new{formatStr = "TL %s"}        abbrs["tl"] = type        abbrs["tỉnh lộ"] = type        abbrs["provincial"] = type        abbrs["province"] = type    end -- Provincial        do -- District        local type = Abbr:new{formatStr = "HL %s"}        abbrs["hl"] = type        abbrs["hương lộ"] = type        abbrs["huyện lộ"] = type        abbrs["district"] = type    end -- District        do        local type = Abbr:new{formatStr = "ĐT %s"}        abbrs["đt"] = type        abbrs["đường tỉnh"] = type    end        do        local type = Abbr:new{formatStr = "ĐH %s"}        abbrs["đh"] = type        abbrs["đường huyện"] = type    end        do -- Towpaths        local type = Abbr:new{formatStr = "ĐCK %s"}        abbrs["đck"] = type        abbrs["đường cặp kênh"] = type        abbrs["towpath"] = type    end -- Towpaths    

end

p.abbrs = abbrs

return p

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/23 21:24:30