Module:Infobox road/abbrev

MyWikiBiz, Author Your Legacy — Friday December 27, 2024
Jump to navigationJump to search
-- Temporary migration module for abbreviations
local p = {}

local getArgs = require('Module:Arguments').getArgs -- Import module function to work with passed arguments
local parserModule = require "Module:Road data/parser" -- DEPLOY: Switch to main module
local parser = parserModule.parser

function p._abbr(args)
	return parser(args, 'abbr')
end

function p.abbr(frame)
	local args = getArgs(frame)
	return p._abbr(args)
end

return p