localp={}functionp.mask(frame)localpframe=frame:getParent()localconfig=frame.args-- the arguments passed BY the template, in the wikitext of the template itselflocalargs=pframe.args-- the arguments passed TO the template, in the wikitext that transcludes the templatelocaldata=mw.loadData("Module:Road data/countrymask")localcountry=args[2]or''ifcountry~=''thenreturnstring.upper(country)endlocalstate=args[1]or''returndata[state]or'UNK'endreturnp