localexport={}functionexport.show(frame)localtitle=mw.title.getCurrentTitle()localrootpagename=title.rootTextlocalisSubpage=title.isSubpagelocalsubpagename=title.subpageTextmw.log(rootpagename,isSubpage,subpagename)locallang,canonicalNameifisSubpagethenlang=require("Module:languages").getByCode(subpagename)endlocallistName,matchesifrootpagenamethenlistName,matches=mw.ustring.gsub(rootpagename,"list:","")endlocaldescriptionlocalcategory=""iflangthenifmatches==1thendescription="This is a list of "..listName.." in the "..lang:getCanonicalName().." language."ifmw.ustring.match(listName,"Latin script")thencategory="[[Category:Latin script templates]]"endelsedescription="This is a list in the "..lang:getCanonicalName().." language."endendifdescriptionthenreturndescription..categoryendendreturnexport