-- Мэтаінфармацыя артыкулаў для даданьня на іх старонкі абмеркаваньняўlocalp={}localHtmlBuilder=require("Module:HtmlBuilder")functionp.metainformation(frame)localargs={}localparams={["vital"]=false,["featured"]={},["projects"]={}}localcontainer=HtmlBuilder.create()-- ці істотны артыкулifargs["істотны артыкул"]~=""thenparams.vital=trueendfork,vinpairs(frame:getParent().args)dov=mw.text.trim(v)iftype(k)=="string"thenk=mw.ustring.lower(k)endargs[k]=mw.text.trim(v)-- забіваем featuredifmw.ustring.match(k,"^адзнака(%d+)$")thenlocalfeaturedId=tonumber(mw.ustring.match(k,"^адзнака(%d+)$"))iftype(params.featured[featuredId])~="table"thenparams.featured[featuredId]={}endparams.featured[featuredId].name=velseifmw.ustring.match(k,"^адзнака(%d+)_дата$")thenlocalfeaturedId=tonumber(mw.ustring.match(k,"^адзнака(%d+)_дата$"))iftype(params.featured[featuredId])~="table"thenparams.featured[featuredId]={}endparams.featured[featuredId].date=v-- забіваем projectselseifmw.ustring.match(k,"^праект(%d+)$")thenlocalprojectId=tonumber(mw.ustring.match(k,"^праект(%d+)$"))iftype(params.projects[projectId])~="table"thenparams.projects[projectId]={}endparams.projects[projectId].name=velseifmw.ustring.match(k,"^праект(%d+)_спасылка$")thenlocalprojectId=tonumber(mw.ustring.match(k,"^праект(%d+)_спасылка$"))iftype(params.projects[projectId])~="table"thenparams.projects[projectId]={}endparams.projects[projectId].link=vendendcontainer.tag("table").addClass("tmbox").addClass("tmbox-notice").tag("tr").tag("td").addClass("mbox-image").wikitext("hey").done().tag("td").addClass("mbox-text").wikitext("hola")returntostring(container)endreturnp