Մոդուլ:Կատեգորիաները միայն հոդվածում
Արտաքին տեսք
Documentation for this module may be created atՄոդուլ:Կատեգորիաները միայն հոդվածում/doc
localp={}
functionp.main(frame)
locals=""
localtitle=mw.title.getCurrentTitle()
localpargs=frame:getParent().args
iftitleandtitle.namespace==0andnotpargs["nocat"]then
localsortKey=title.text:gsub('«',"")
:gsub('»',"")
fori,vinipairs(pargs)do
s=s.."[[Կատեգորիա:"..v.."|"..sortKey.."]]"
end
end
returns
end
returnp