Module:Infobox road/abbrev

MyWikiBiz, Author Your Legacy — Wednesday November 27, 2024
< Module:Infobox road
Revision as of 23:21, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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