-- This module implements {{xpsoc}}.localmTemplateInvocation=require('Module:Template invocation')localp={}functionp._main(args,frame)frame=frameormw.getCurrentFrame()-- Get the invocation arguments.localname=args[1]ifnotnamethenerror('ti navê şablonê derbasê xpsoc nîne',2)endlocalinvArgs={}fork,vinpairs(args)doifk~=1theniftype(k)=='number'theninvArgs[k-1]=velselocalnum=k:match('^n([1-9][0-9]*)$')ifnumtheninvArgs[args[k]]=args['v'..num]endendendendlocalinvocation=mTemplateInvocation.invocation(name,invArgs,'nowiki')localgives=args.givesormw.language.getContentLanguage():getArrow('forwards')localresult=frame:preprocess(mTemplateInvocation.invocation(name,invArgs))returnstring.format('<code>%s</code> %s %s',invocation,gives,result)endfunctionp.main(frame)returnp._main(frame:getParent().args,frame)endreturnp