Амодуль:External links


local linksPrefix = ''local project = 'Авикипедиа'local categoryTemplateEmpty = project .. ':Ашаблон «external links» ҭацәуп'local templateLink = 'Просмотр этого шаблона|link=Template:external links'local group1Label = '[[' .. linksPrefix .. 'Социальная сеть|В социальных сетях]]'local group2Label = 'Тексты произведений'local group3Label = 'Фото, видео и аудио'local group4Label = 'Тематические сайты'local group5Label = 'Ажәарқәи аенциклопедиақәи'local group6Label = 'Анормативтә Ахылаԥшра'-- The language codes that should be always displayed even if they have normal rank and claim with another language and prefferered rank existslocal preferredLanguage = 'Q7737'; -- russianfunction categoryAuthorityControl( code )return false; --project .. ':Статьи, содержащие ' .. code .. ' код'endfunction categoryExternalLink( code )return false; --project .. ':Статьи с внешними ссылками:' .. codeendlocal templateColorName = 'цвет';-- some project have "named" colors, defined by templatesfunction colorByTitle( frame, colorTitle )local templateName = 'Цвет/' .. colorTitle;local templateTitle = mw.title.makeTitle( 'Template', templateName );if ( templateTitle == nil or not templateTitle.exists ) thenreturn false;endreturn frame:expandTemplate{ title = templateName };endlocal dictionaries = {{ id = 'Q19217220',title = 'Березина',project = 'ruwikisource',projectCode = 's:'},{ id = 'Q4086271',title = 'Библейская',project = 'ruwikisource',projectCode = 's:'},{ id = 'P1296',title = 'Большая каталонская',linkF = function ( id ) return 'http://www.enciclopedia.cat/enciclopèdies/gran-enciclopèdia-catalana/EC-GEC-' .. id .. '.xml' end},    { id = 'Q20078554',title = 'Большая советская (1 изд.)',project = 'ruwikisource',projectCode = 's:'},--{ id = 'Q17378135',title = 'Большая советская',},    { id = 'Q4091878',title = 'Большая Южакова',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q602358',title = 'Брокгауза и Ефрона',project = 'ruwikisource',projectCode = 's:'},{ id = 'P1648',title = 'Валлийский биографический',linkF = function ( id ) return 'http://yba.llgc.org.uk/en/' .. id .. '.html' end,},    { id = 'Q4114391',title = 'Военная',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q4173137',title = 'Еврейская Брокгауза и Ефрона',project = 'ruwikisource',projectCode = 's:'},{ id = 'Q4091875',title = 'Кирилла и Мефодия',},{ id = 'P1438',title = 'Краткая еврейская',linkF = function ( id ) return 'http://www.eleven.co.il/article/' .. id end,},{ id = 'Q4239850',title = 'Краткая литературная'},{ id = 'Q2627728',title = 'Кругосвет'},{ id = 'Q17329836',title = 'Ларусса',},{ id = 'Q17290934',title = 'Лентапедия',project = 'ruwikisource',projectCode = 's:'},{ id = 'Q4263804',title = 'Литературная',},    { id = 'Q19180675',title = 'Малый Брокгауза и Ефрона',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q19190511',title = 'Новый',project = 'ruwikisource',projectCode = 's:'},{ id = 'Q2498180',title = 'Православная',},    { id = 'Q19211082',title = 'Православная богословская',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q1960551',title = 'Русский биографический',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q20078551',title = 'Техническая (1 изд.)',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q1970746',title = 'В. Даля',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q4532135',title = 'Энциклопедический лексикон',project = 'ruwikisource',projectCode = 's:'},    { id = 'Q590208',title = 'Allgemeine Deutsche Biographie',project = 'dewikisource',projectCode = 's:de:'},    { id = 'Q19077875',title = 'American Cycl. (1879)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'Q19037977',title = 'American Med. Biogr. (1920)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'Q12912667',title = 'Appletons\' (1887—1901)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'Q20096917',title = 'Britannica (9-th)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'Q867541',title = 'Britannica (11-th)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'Q15987490',title = 'Britannica (12-th)',project = 'enwikisource',projectCode = 'wikisource:'},    { id = 'P1417',title = 'Britannica (онлайн)',linkF = function ( id ) return 'http://global.britannica.com/'.. id end,},    { id = 'Q302556',title = 'Catholic (1907—13)',project = 'enwikisource',projectCode = 'wikisource:'},{ id = 'Q15987216',title = 'Dictionary of National Biography',project = 'enwikisource',projectCode = 'wikisource:' },{ id = 'Q16014700',title = 'Dictionary of National Biography (1st suppl.)', project = 'enwikisource', projectCode = 'wikisource:' },{ id = 'Q16014697',title = 'Dictionary of National Biography (2nd suppl.)', project = 'enwikisource', projectCode = 'wikisource:' },{ id = 'Q20961706',title = 'Infernal (6e éd.)',project = 'frwikisource',projectCode = 's:fr:'},    { id = 'Q20089963',title = 'New International',project = 'enwikisource',projectCode = 'wikisource:'},{ id = 'P1415',title = 'Оксфордский биографический',linkF = function ( id ) return 'http://www.oxforddnb.com/index/' .. id .. '/' end,},{ id = 'P902',title = 'Швейцарский исторический',linkF = function ( id ) return 'http://www.hls-dhs-dss.ch/textes/f/F' .. id .. '.php'end,},{ id = 'P886',title = 'Швейцарский исторический (online)',linkF = function ( id ) return 'http://www.e-lir.ch/e-LIR___Lexicon.' .. id .. '.450.0.html'end,},}-- feed free to correct labels and categories, or add/remove sources herelocal dictionaryProperties = {}-- Non-localizable part (not need to localize )local moduleNavbox = require('Module:Navbox')local titleBasedLinks = { ['Q602358'] = true, ['Q17290934'] = true, ['Q1960551'] = true }local p = {}function link( url )return urlendfunction allocineFilmLink( id )return 'http://www.allocine.fr/film/fichefilm_gen_cfilm=' .. id .. '.html'endfunction allocinePersonneLink( id )return 'http://www.allocine.fr/personne/fichepersonne_gen_cpersonne=' .. id .. '.html'endfunction allocineSeriesLink( id )return 'http://www.allocine.fr/series/ficheserie_gen_cserie=' .. id .. '.html'endfunction aniDBLink( id )local pos,_ = id:find("/")local type = id:sub(1,pos-1)local number = id:sub(pos+1)local urltype =''if type == "anime" thenurltype = "a"elseif type == "creator" thenurltype = "creator"elseif type == "character" thenurltype = "char"else return ""endreturn "http://anidb.net/perl-bin/animedb.pl?show=" ..type .. "&" .. urltype .. "id=" .. numberendfunction bavLink( id )return 'http://viaf.org/processed/BAV%7C' .. idendfunction bibsysLink( id )return 'http://ask.bibsys.no/ask/action/result?cmd=&kilde=biblio&cql=bs.autid+%3D+' .. id .. '&feltselect=bs.autid'endfunction bncLink( id )return 'http://cantic.bnc.cat/registres/CUCId/' .. idendfunction bneLink( id )return 'http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=' .. idendfunction bnfLink( id )return 'http://catalogue.bnf.fr/ark:/12148/cb' .. idendfunction boxofficemojoLink( id )return 'http://www.boxofficemojo.com/movies/?id=' .. id .. '.htm'endfunction bpnLink( id )return 'http://www.biografischportaal.nl/persoon/' .. idendfunction calisLink( id )return 'http://opac.calis.edu.cn/aopac/ajsp/detail.jsp?actionfrom=1&actl=CAL++' .. idendfunction cbdbLink( id )return 'http://db1.ihp.sinica.edu.tw/cbdbc/cbdbkmeng?~~AAA' .. idendfunction ciniiLink( id )return 'http://ci.nii.ac.jp/author/' .. idendfunction conorLink( id )return 'http://www.cobiss.si/scripts/cobiss?command=DISPLAY&base=CONOR&rid=' .. idendfunction chitalnyaRuLink( id )return 'http://www.chitalnya.ru/users/' .. id .. '/'endfunction commonsWikimediaLink( id )return ':commons:Category:' .. idendfunction dmozLink( id )return 'http://www.dmoz.org/' .. idendfunction egaxaLink( id )return 'http://viaf.org/processed/EGAXA%7Cvtls' .. idendfunction fanLibRuLink( id )local firstChar = mw.ustring.sub( id, 1, 1 )    return 'http://fan.lib.ru/' .. firstChar .. '/' .. id .. '/'endfunction flickrLink( id )return 'https://www.flickr.com/' .. idendfunction findagraveLink( id )return 'http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=' .. idendfunction gndLink( id )return 'http://d-nb.info/gnd/' .. idendfunction ibdbPersonLink( id )return 'http://www.ibdb.com/person.php?id=' .. idendfunction ibdbProductionLink( id )return 'http://www.ibdb.com/production.php?id=' .. idendfunction ibdbShowLink( id )return 'http://www.ibdb.com/show.php?id=' .. idendfunction ibdbVenueLink( id )return 'http://www.ibdb.com/venue.php?id=' .. idendfunction isfdbAuthorLink( id )return 'http://www.isfdb.org/cgi-bin/ea.cgi?' .. idendfunction isfdbPublicationLink( id )return 'http://www.isfdb.org/cgi-bin/pl.cgi?' .. idendfunction isfdbSeriesLink( id )return 'http://www.isfdb.org/cgi-bin/pe.cgi?' .. idendfunction isfdbPublisherLink( id )return 'http://www.isfdb.org/cgi-bin/publisher.cgi?' .. idendfunction imslpLink( id )return 'http://imslp.org/wiki/' .. string.gsub( id, ' ', '_' )endfunction imdbLink( id )if string.match( id, '^ch' ) thenreturn 'http://www.imdb.com/character/' .. id    end    if string.match( id, '^co' ) thenreturn 'http://www.imdb.com/company/' .. id    end    if string.match( id, '^nm' ) thenreturn 'http://www.imdb.com/name/' .. id    end    if string.match( id, '^tt' ) thenreturn 'http://www.imdb.com/title/' .. id    endreturn falseendfunction isniLink( id )id = id:gsub( '[ %-]', '' ):upper()    return 'http://isni-url.oclc.nl/isni/' .. idendfunction lccnLink( id )return 'http://id.loc.gov/authorities/names/' .. idendfunction lastfmLink( id )return 'http://www.lastfm.ru/music/' .. idendfunction iccuLink( id )id = id:gsub( '\\\\', '%5C' ):upper()return 'http://opac.sbn.it/opacsbn/opac/iccu/scheda_authority.jsp?bid=' .. idendfunction lnbLink( id )return 'http://viaf.org/processed/LNB%7CLNC10-' .. idendfunction merimeeLink( id ) return falseendfunction mixcloudLink( id )return 'https://mixcloud.com/' .. id .. '/'endfunction musicBrainzArtistLink( id )return 'https://musicbrainz.org/artist/' .. idendfunction musicBrainzReleazeGroupLink( id )return 'https://musicbrainz.org/release-group/' .. idendfunction musicBrainzWorkLink( id )return 'https://musicbrainz.org/work/' .. idendfunction nclLink( id )return 'http://aleweb.ncl.edu.tw/F/?func=accref&acc_sequence=' .. idendfunction ndlLink( id )return 'http://id.ndl.go.jp/auth/ndlna/' .. idendfunction nlcLink( id )return falseendfunction nliLink( id )return 'http://a20.libnet.ac.il/F?func=find-b&REQUEST=' .. id .. '&find_code=SYS&local_base=NNL10'endfunction nkcLink( id )return 'http://aut.nkp.cz/' .. idendfunction nlaLink( id ) return 'http://nla.gov.au/anbd.aut-an' .. id endfunction nlrLink( id ) return 'http://alephnew.bibnat.ro:8991/F?func=find-b&request=' .. id .. '000354872&find_code=SYS&adjacent=Y&local_base=NLR10' endfunction nszlLink( id )return 'http://viaf.org/processed/NSZL%7C' .. idendfunction nskLink( id )return 'http://viaf.org/processed/NSK%7C' .. idendfunction ntaLink( id )return 'http://opc4.kb.nl/PPN?PPN=' .. idendfunction nukatLink( id )return 'http://viaf.org/processed/NUKAT%7C' .. idendfunction orcidLink( id )id = id:gsub( '[ %-]', '' ):upper()    return 'http://orcid.org/' .. idendfunction declaratorLink( id )return 'http://declarator.org/person/' .. id .. '/'endfunction gutenbergLink( id )return 'http://www.gutenberg.org/ebooks/' .. id endfunction promodjLink( id )return 'http://promodj.com/' .. idendfunction prozaRuLink( id )return 'http://proza.ru/avtor/' .. id endfunction ptbnpLink( id )return 'http://viaf.org/processed/PTBNP%7C' .. idendfunction rkdArtistsLink( id )return 'http://www.rkd.nl/rkddb/dispatcher.aspx?action=search&database=ChoiceArtists&search=priref=' .. idendfunction rkdImagesLink( id )return 'http://explore.rkd.nl/en/images/' .. idendfunction rodovidLink( id )return 'http://ru.rodovid.org/wk/Person:' .. idendfunction rottentomatoesLink( id )return 'http://www.rottentomatoes.com/' .. idendfunction rslLink( id )return 'http://aleph.rsl.ru/F?func=find-b&find_code=SYS&adjacent=Y&local_base=RSL11&request=' .. idendfunction rutubeLink( id )    if string.match( id, '^%d+$' ) then    return 'http://rutube.ru/video/persion/' .. id .. '/'    endreturn 'http://' .. id .. '.rutube.ru/'endfunction samlibRuLink( id )local firstChar = mw.ustring.sub( id, 1, 1 )    return 'http://samlib.ru/' .. firstChar .. '/' .. id .. '/'endfunction selibrLink( id )return 'http://libris.kb.se/auth/' .. idendfunction soundcloudLink( id )return 'http://soundcloud.com/' .. id .. '/'endfunction stihiRuLink( id )return 'http://stihi.ru/avtor/' .. id endfunction sudocLink( id )return 'http://www.idref.fr/' .. idendfunction ulanLink( id )return 'http://www.getty.edu/vow/ULANFullDisplay?find=&role=&nation=&subjectid=' .. idendfunction vimeoLink( id )return 'https://vimeo.com/' .. idendfunction viafLink( id )return 'http://viaf.org/viaf/' .. idendfunction youtubeLink( id )return 'https://youtube.com/' .. idendfunction getLabelWithoutLink( id, defaultLabel )return mw.wikibase.label( id ) or defaultLabel;endfunction getLabelWithLink( id, defaultTitle, label )local link = mw.wikibase.sitelink( id );if ( link ~= nil ) thenreturn '[[' .. link .. '|' .. label .. ']]';endlocal title = mw.wikibase.label( id ) or defaultTitle;return '<span title="' .. title .. '" style="border-bottom: 1px dotted; cursor: help;">' .. label .. '</span>'endlocal socialNetworkProperties = {    { getLabelWithoutLink( 'Q116933', 'ВКонтакте'),   'Q116933',function( id ) return 'https://vk.com/' .. id end,categoryExternalLink( 'ВКонтакте' ) },    { getLabelWithoutLink( 'Q4101720', 'В кругу друзей'),'Q4101720',function( id ) return 'http://' .. id .. '.vkrugudruzei.ru/' end,categoryExternalLink( 'В кругу друзей' ) },    { getLabelWithoutLink( 'Q219523', 'Живой журнал'),'Q219523',function( id ) return 'http://' .. id .. '.livejournal.com/' end,categoryExternalLink( 'Живой журнал' ) },    { getLabelWithoutLink( 'Q4299813', 'Мой круг'),'Q4299813',function( id ) return 'http://' .. id .. '.moikrug.ru/' end,categoryExternalLink( 'Мой круг' ) },    { getLabelWithoutLink( 'Q4299858', 'Мой мир'),'Q4299858',function( id ) return 'http://my.mail.ru/' .. id end,categoryExternalLink( 'Мой мир' ) },    { getLabelWithoutLink( 'Q1123836', 'Одноклассники'),'Q1123836',function( id ) return 'http://www.odnoklassniki' .. '.ru/profile/' .. id end,categoryExternalLink( 'Одноклассники' ) },    { getLabelWithoutLink( 'Q17195318', 'Спрашивай.Ру'),'Q17195318',function( id ) return 'http://sprashivai.ru/' .. id end,categoryExternalLink( 'Спрашивай.Ру' ) },    { getLabelWithoutLink( 'Q798490', 'Я.ру'),'Q798490',function( id ) return 'http://' .. id .. '.ya.ru/' end,categoryExternalLink( 'Я.ру' ) },    { getLabelWithoutLink( 'Q171186', 'Blogger'),   'Q171186',function( id ) return 'http://' .. id .. '.blogspot.com' end,categoryExternalLink( 'Blogger' ) },    { getLabelWithoutLink( 'Q4037665', 'Dudu'),    'Q4037665',function( id ) return 'http://dudu.com/' .. id end,categoryExternalLink( 'Dudu' ) },    { getLabelWithoutLink( 'Q355', 'Facebook'),    'P2013',function( id ) return 'https://www.facebook.com/' .. id end,categoryExternalLink( 'Facebook' ) },    { getLabelWithoutLink( 'Q356', 'Google+'),'Q356',function( id ) return 'https://plus.google.com/' .. id .. '/posts' end,categoryExternalLink( 'Google+' ) },    { getLabelWithoutLink( 'Q4043051', 'LiveInternet'),'Q4043051',function( id ) return 'http://www.liveinternet.ru/users/' .. id end,categoryExternalLink( 'LiveInternet' ) },    { getLabelWithoutLink( 'Q40629', 'MySpace'),'Q40629',function( id ) return 'https://myspace.com/' .. id end,categoryExternalLink( 'MySpace' ) },    { getLabelWithoutLink( 'Q17144398', 'QRoom'),'Q17144398',function( id ) return 'http://qroom.ru/' .. id end,categoryExternalLink( 'QRoom' ) },    { getLabelWithoutLink( 'Q1002972', 'Spring.me'),'Q1002972',function( id ) return 'http://www.spring.me/' .. id end,categoryExternalLink( 'Spring.me' ) },    { getLabelWithoutLink( 'Q384060', 'Tumblr'),'Q384060',function( id ) return 'http://' .. id .. '.tumblr.com/' end,categoryExternalLink( 'Tumblr' ) },    { getLabelWithoutLink( 'Q918', 'Twitter'),'P2002',function( id ) return 'https://twitter.com/' .. id end,categoryExternalLink( 'Twitter' ) },}local textsProperties = {    { getLabelWithoutLink( 'Q17254543', 'Изба-читальня'),'Q17254543',chitalnyaRuLink,categoryExternalLink( 'Изба-читальня' ) },    { getLabelWithoutLink( 'Q17195344', 'Журнал «Самиздат»'),'Q17195344',samlibRuLink,categoryExternalLink( 'Самиздат' ) },    { getLabelWithoutLink( 'Q22673', 'Проект «Гутенберг»'),'P2034',gutenbergLink,categoryExternalLink( 'Проект «Гутенберг»' ) },    { getLabelWithoutLink( 'Q4380129', 'Проза.ру'),'Q4380129',prozaRuLink,categoryExternalLink( 'Проза.ру' ) },    { getLabelWithoutLink( 'Q4442644', 'Стихи.ру'),'Q4442644',stihiRuLink,categoryExternalLink( 'Стихи.ру' ) },    { getLabelWithoutLink( 'Q17300505', 'Lib.Ru/Фантастика'),'Q17300505',fanLibRuLink,categoryExternalLink( 'Lib.Ru/Фантастика' ) },}local contentHostingProperties = {    { getLabelWithoutLink( 'Q565', 'Wikimedia Commons' ),'P373',commonsWikimediaLink,categoryWithWikimediaCommons,true},    { getLabelWithoutLink( 'Q103204', 'Flickr' ),'Q103204',flickrLink,categoryExternalLink( 'Flickr' ),false},    { getLabelWithoutLink( 'Q209330', 'Instagram' ),'P2003',function( id ) return 'http://instagram.com/' .. id end,categoryExternalLink( 'Instagram' ),false},    { getLabelWithoutLink( 'Q183718', 'Last.fm' ),'Q183718',lastfmLink,categoryExternalLink( 'Last.fm' ),false},    { getLabelWithoutLink( 'Q6883832', 'Mixcloud' ),'Q6883832',mixcloudLink,categoryExternalLink( 'Mixcloud' ),false},    { getLabelWithoutLink( 'Q2572292', 'Musopen' ),'P2338',function( id ) return 'https://musopen.org/composer/' .. id .. '/' end,categoryExternalLink( 'Musopen' ),false},    { getLabelWithoutLink( 'Q17117201', 'PROMODJ' ),'Q17117201',promodjLink,categoryExternalLink( 'PROMODJ' ),false},    { getLabelWithoutLink( 'Q372827', 'Rutube' ),'Q372827',rutubeLink,categoryExternalLink( 'Rutube' ),false},    { getLabelWithoutLink( 'Q568769', 'SoundCloud' ),'Q568769',soundcloudLink,categoryExternalLink( 'SoundCloud' ),false},    { getLabelWithoutLink( 'Q156376', 'Vimeo' ),'Q156376',vimeoLink,categoryExternalLink( 'Vimeo' ),false},    { getLabelWithoutLink( 'Q4537983', 'Яндекс.Музыка' ),'P1553',function(id) return 'https://music.yandex.ru/artist/' .. id end,categoryExternalLink( 'Яндекс.Музыка' ),false},    { getLabelWithoutLink( 'Q866', 'YouTube' ),'Q866',youtubeLink,categoryExternalLink( 'YouTube' ),false},}local labelAllocine = getLabelWithoutLink( 'Q31165', 'AlloCiné' );local labelAnimeNewsNetwork = getLabelWithoutLink( 'Q220509', 'Anime News Network' );local labelIBDb = getLabelWithoutLink( 'Q31964', 'Internet Broadway Database' );local labelISFDb = getLabelWithoutLink( 'Q2629164', 'Internet Speculative Fiction Database' );local labelMusicBrainz = getLabelWithoutLink( 'Q14005', 'MusicBrainz' );local labelEncyclopaediaMetallum = getLabelWithoutLink( 'Q938726', 'Encyclopaedia Metallum' );local themeProfilesProperties = {-- science and technic{ getLabelWithoutLink( 'Q494817', 'Google Scholar' ),'P1960',function( id ) return 'https://scholar.google.com/citations?user=' .. id end,categoryExternalLink( 'Google Scholar' ) },{ getLabelWithoutLink( 'Q829984', 'Mathematics Genealogy Project' ),'P549',function( id ) return 'http://www.genealogy.ams.org/id.php?id=' .. idend,categoryExternalLink( 'Математическая генеалогия' ) },{ getLabelWithoutLink( 'Q1373513', 'Notable Names Database' ),'P1263',function( id ) return 'http://nndb.com/people/' .. id end,categoryExternalLink( 'NNDB' ) },{ getLabelWithoutLink( 'Q51044', 'ORCID' ),'P496',orcidLink,categoryExternalLink( 'ORCID' ) },{ getLabelWithoutLink( 'Q7315186', 'ResearcherID' ),'P1053',function( id ) return 'http://www.researcherid.com/rid/' .. idend,categoryExternalLink( 'ResearcherID' ) },{ getLabelWithoutLink( 'Q371467', 'Scopus' ),'P1153',function( id ) return 'http://www.scopus.com/authid/detail.url?authorId=' .. idend,categoryExternalLink( 'Scopus' ) },{ getLabelWithoutLink( 'Q1061861', 'Structurae' ),'P2418',function( id ) return 'http://structurae.de/personen/' .. id end,categoryExternalLink( 'Structurae' ) },{ getLabelWithoutLink( 'Q18241050', 'zbMATH' ),'P1556',function( id ) return 'https://www.zbmath.org/authors/?q=ai:' .. id end,categoryExternalLink( 'zbMATH' ) },{ getLabelWithoutLink( 'Q18002875', 'Sports-Reference.com' ),'P1447',function( id ) return 'http://www.sports-reference.com/olympics/athletes/' .. id .. '.html' end,categoryExternalLink( 'Sports-Reference.com' ) },-- audio and video{ getLabelWithoutLink( 'Q477809', 'AllMovie' ),'P1562',function(id) return 'http://www.allmovie.com/movie/' .. id end,categoryExternalLink( 'AllMovie' ) },{ getLabelWithoutLink( 'Q477809', 'AllMovie' ),'P2019',function(id) return 'http://www.allmovie.com/artist/' .. id end,categoryExternalLink( 'AllMovie' ) },{ labelAllocine,'P1265',allocineFilmLink,categoryExternalLink( 'AlloCiné' ) },{ labelAllocine,'P1266',allocinePersonneLink,categoryExternalLink( 'AlloCiné' ) },{ labelAllocine,'P1267',allocineSeriesLink,categoryExternalLink( 'AlloCiné' ) },{ getLabelWithoutLink( 'P1688', 'AniDB' ),'P1688',aniDBLink,categoryExternalLink( 'AniDB' ) },{ labelAnimeNewsNetwork,'P1982',function(id) return 'http://www.animenewsnetwork.com/encyclopedia/people.php?id=' .. id end,categoryExternalLink( 'Anime News Network' ) },{ labelAnimeNewsNetwork,'P1983',function(id) return 'http://www.animenewsnetwork.com/encyclopedia/company.php?id=' .. id end,categoryExternalLink( 'Anime News Network' ) },{ labelAnimeNewsNetwork,'P1984',function(id) return 'http://www.animenewsnetwork.com/encyclopedia/manga.php?id=' .. id end,categoryExternalLink( 'Anime News Network' ) },{ labelAnimeNewsNetwork,'P1985',function(id) return 'http://www.animenewsnetwork.com/encyclopedia/anime.php?id=' .. id end,categoryExternalLink( 'Anime News Network' ) },{ getLabelWithoutLink( 'Q223142', 'Box Office Mojo' ),'P1237',boxofficemojoLink,categoryExternalLink( 'Box Office Mojo' ) },{ getLabelWithoutLink( 'Q2638147', 'FilmAffinity' ),'P480',function(id) return 'http://www.filmaffinity.com/en/film' .. id .. '.html' end,categoryExternalLink( 'FilmAffinity' ) },{ labelEncyclopaediaMetallum,'P1952',function(id) return 'http://www.metal-archives.com/bands//' .. id end,categoryExternalLink( 'Encyclopaedia Metallum' ) },{ labelEncyclopaediaMetallum,'P1989',function(id) return 'http://www.metal-archives.com/artists//' .. id end,categoryExternalLink( 'Encyclopaedia Metallum' ) },{ labelIBDb,'P1217',ibdbVenueLink,categoryExternalLink( 'IBDb' ) },{ labelIBDb,'P1218',ibdbProductionLink,categoryExternalLink( 'IBDb' ) },{ labelIBDb,'P1219',ibdbShowLink,categoryExternalLink( 'IBDb' ) },{ labelIBDb,'P1220',ibdbPersonLink,categoryExternalLink( 'IBDb' ) },{ getLabelWithoutLink( 'Q37312', 'Internet Movie Database' ),'P345',imdbLink,categoryExternalLink( 'IMDb' ) },{ getLabelWithoutLink( 'Q523660', 'International Music Score Library Project' ),'P839',imslpLink,categoryExternalLink( 'IMSLP' ) },    { getLabelWithoutLink( 'Q150248', 'Metacritic' ), 'P1712', function( id ) return 'http://www.metacritic.com/' .. id end, categoryExternalLink( 'Metacritic' ) },{ labelMusicBrainz,'P434',musicBrainzArtistLink,categoryExternalLink( 'MusicBrainz' ) },{ labelMusicBrainz,'P435',musicBrainzWorkLink,categoryExternalLink( 'MusicBrainz' ) },{ labelMusicBrainz,'P436',musicBrainzReleazeGroupLink,categoryExternalLink( 'MusicBrainz' ) },{ getLabelWithoutLink( 'Q22673', 'Project Gutenberg' ),'P1938',function(id) return 'http://www.gutenberg.org/ebooks/author/' .. id end,categoryExternalLink( 'Project Gutenberg' ) },{ getLabelWithoutLink( 'Q105584', 'Rotten Tomatoes' ),'P1258',rottentomatoesLink,categoryExternalLink( 'Rotten Tomatoes' ) },-- literature{ labelISFDb,'P1233',isfdbAuthorLink,categoryExternalLink( 'ISFDb' ) },{ labelISFDb,'P1234',isfdbPublicationLink,categoryExternalLink( 'ISFDb' ) },{ labelISFDb,'P1235',isfdbSeriesLink,categoryExternalLink( 'ISFDb' ) },{ labelISFDb,'P1239',isfdbPublisherLink,categoryExternalLink( 'ISFDb' ) },{ getLabelWithoutLink( 'Q17299517', 'RKDartists' ),'P650',rkdArtistsLink,categoryExternalLink( 'RKDartists' ) },{ getLabelWithoutLink( 'Q17299580', 'RKDimages' ),'P350',rkdImagesLink,categoryExternalLink( 'RKDimages' ) },-- common{ getLabelWithoutLink( 'Q649227', 'Родовод' ),'P1185',rodovidLink,categoryExternalLink( 'Родовод' ) },{ getLabelWithoutLink( 'Q20035614', 'Декларатор' ),'P1883',declaratorLink,categoryExternalLink( 'Декларатор' ) },{ getLabelWithoutLink( 'Q41226', 'Open Directory Project' ),'P998',dmozLink,categoryExternalLink( 'DMOZ' ) },{ getLabelWithoutLink( 'Q63056', 'Find a Grave' ),'P535',findagraveLink,categoryExternalLink( 'Find a Grave' ) },}local authorityControl = {    { getLabelWithLink( 'Q213678', 'Bibliotheca Apostolica Vaticana', 'BAV'),'P1017',bavLink,categoryAuthorityControl( 'BAV' ) },    { getLabelWithLink( 'Q4584301', '', 'BIBSYS'),'P1015', bibsysLink,categoryAuthorityControl( 'BIBSYS' ) },    { getLabelWithLink( 'Q1200925', 'Biblioteca de Catalunya', 'BNC'),'P1273',bncLink,categoryAuthorityControl( 'BNC' ) },    { getLabelWithLink( 'Q750403', 'Biblioteca Nacional de España', 'BNE'),'P950', bneLink,categoryAuthorityControl( 'BNE' ) },    { getLabelWithLink( 'Q193563', 'Bibliothèque nationale de France', 'BNF'), 'P268', bnfLink,categoryAuthorityControl( 'BNF' ) },    { getLabelWithLink( 'Q1868372', 'Biografisch Portaal', 'BPN'),'P651',bpnLink,categoryAuthorityControl( 'BPN' ) },    { getLabelWithLink( 'Q9384291', '中国高等教育文献保障系统', 'CALIS'),'P270', calisLink,categoryAuthorityControl( 'CALIS' ) },    { getLabelWithLink( 'Q17299677', 'China Biographical Database Project', 'CBDB'),'P497', cbdbLink,categoryAuthorityControl( 'CBDB' ) },    { getLabelWithLink( 'Q10726338', 'Citation Information by NII', 'CiNii'),'P271', ciniiLink,categoryAuthorityControl( 'CiNii' ) },    { getLabelWithLink( 'Q16744133', 'CONOR', 'CONOR'), 'P1280',conorLink,categoryAuthorityControl( 'CONOR' ) },    { getLabelWithLink( 'Q501851', 'مكتبة الإسكندرية الجديدة', 'EGAXA'),'P1309', egaxaLink,categoryAuthorityControl( 'EGAXA' ) },    { getLabelWithLink( 'Q36578', 'Gemeinsame Normdatei', 'GND'),'P227', gndLink,categoryAuthorityControl( 'GND' ) },    { getLabelWithLink( 'Q3803707', 'Istituto Centrale per il Catalogo Unico', 'ICCU'),'P396', iccuLink,categoryAuthorityControl( 'ICCU' ) },    { getLabelWithLink( 'Q423048', 'International Standard Name Identifier', 'ISNI'),'P213',isniLink,categoryAuthorityControl( 'ISNI' ) },    { getLabelWithLink( 'Q620946', 'Library of Congress Control Number', 'LCCN'),'P244',lccnLink,categoryAuthorityControl( 'LCCN' ) },    { getLabelWithLink( 'Q1133733', 'Latvijas Nacionālā bibliotēka', 'LNB'),'P1368',lnbLink,categoryAuthorityControl( 'LNB' ) },    { getLabelWithLink( 'Q809830', 'Base Mérimée', 'Mérimée'),'P380',merimeeLink,categoryAuthorityControl( 'Mérimée' ) },    { getLabelWithLink( 'Q618340', '國家圖書館 (中華民國)', 'NCL'),'P1048', nclLink,categoryAuthorityControl( 'NCL' ) },    { getLabelWithLink( 'Q477675', '国立国会図書館', 'NDL'),'P349',ndlLink,categoryAuthorityControl( 'NDL' ) },    { getLabelWithLink( 'Q732353', '中国国家图书馆', 'NLC'),'P1213', nlcLink,categoryAuthorityControl( 'NLC' ) },-- NLI numbers seems unstable    { getLabelWithLink( 'Q1967876', 'Národní knihovna České republiky', 'NKC'),'P691',nkcLink,categoryAuthorityControl( 'NKC' ) },    { getLabelWithLink( 'Q623578', 'National Library of Australia', 'NLA'), 'P409',nlaLink,categoryAuthorityControl( 'NLA' ) },    { getLabelWithLink( 'Q622012', 'Biblioteca Națională a României', 'NLR'), 'P1003',nlrLink,categoryAuthorityControl( 'NLR' ) },    { getLabelWithLink( 'Q631375', 'Nacionalna i sveučilišna knjižnica u Zagrebu', 'NSK'),'P1375',nskLink,categoryAuthorityControl( 'NSK' ) },    { getLabelWithLink( 'Q1526131', 'Koninklijke Bibliotheek', 'NTA'),'P1006',ntaLink,categoryAuthorityControl( 'NTA' ) },    { getLabelWithLink( 'Q1063819', 'Országos Széchényi Könyvtár', 'NSZL'),'P951',nszlLink,categoryAuthorityControl( 'NSZL' ) },    { getLabelWithLink( 'Q11789729', 'Narodowy Uniwersalny Katalog Centralny', 'NUKAT'),'P1207',nukatLink,categoryAuthorityControl( 'NUKAT' ) },    { getLabelWithLink( 'Q245966', 'Biblioteca Nacional de Portugal', 'PTBNP'),'P1005',ptbnpLink,categoryAuthorityControl( 'PTBNP' ) },    { getLabelWithLink( 'Q1048694', 'Российская государственная библиотека', 'РГБ'),'P947', rslLink,categoryAuthorityControl( 'RSL' ) },    { getLabelWithLink( 'Q953058', 'Kungliga biblioteket', 'LIBRIS'),'P906',selibrLink,categoryAuthorityControl( 'SELIBR' ) },    { getLabelWithLink( 'Q2597810', 'Système universitaire de documentation', 'SUDOC'),'P269',sudocLink,categoryAuthorityControl( 'SUDOC' ) },        { getLabelWithLink( 'Q54919', 'Virtual International Authority File', 'VIAF'),'P214',viafLink,categoryAuthorityControl( 'VIAF' ) },    { getLabelWithLink( 'Q2494649', 'Union List of Artist Names', 'ULAN' ),'P245',ulanLink,categoryAuthorityControl( 'ULAN' ) },}function getQualifierSingleValue( statement, qualifierName )if (statement ~= niland statement.qualifiers ~= niland statement.qualifiers[qualifierName] ~= nil) thenfor qualifierIndex, qualifier in pairs( statement.qualifiers[qualifierName] ) doif (qualifier.datavalue ~= niland qualifier.datavalue.type ~= niland qualifier.datavalue.value ~= nil) thenif ( qualifier.datavalue.type == "monolingualtext" ) thenreturn qualifier.datavalue.value.text;endif ( qualifier.datavalue.type == "string" ) thenreturn qualifier.datavalue.value;endif ( qualifier.datavalue.type == "wikibase-entityid" ) thenreturn 'Q' .. qualifier.datavalue.value["numeric-id"];endmw.log( 'Unknown qualifier type: ' .. qualifier.datavalue.type )return qualifier.datavalue.value;endendendreturn nil;endfunction getQualifierValues( statement, qualifierName )local result = {}if (statement ~= niland statement.qualifiers ~= niland statement.qualifiers[qualifierName] ~= nil) thenlocal qualifiers = statement.qualifiers[qualifierName];for _, qualifier in pairs( qualifiers ) doif (qualifier.datavalue ~= niland qualifier.datavalue.type ~= niland qualifier.datavalue.value ~= nil) thenif ( qualifier.datavalue.type == "string" ) thenresult[#result+1] = qualifier.datavalue.value;elseif ( qualifier.datavalue.type == "wikibase-entityid" ) thenresult[#result+1] = 'Q' .. qualifier.datavalue.value["numeric-id"];else mw.log( 'Unknown qualifier type: ' .. qualifier.datavalue.type );result[#result+1] = 'Q' .. qualifier.datavalue.value;endendendendreturn result;endfunction collectLinks( configuration )local moduleLanguagesif ( mw.title.makeTitle( 'Module', 'Languages' ).existsand mw.title.makeTitle( 'Module', 'Languages/data' ).existsand mw.title.makeTitle( 'Module', 'Wikidata/Language-codes' ).exists) thenmoduleLanguages = require('Module:Languages');elsemoduleLanguages = false;end    --Create rows    local elements = {}    local data = {}    local item = mw.wikibase.getEntity()    if item == nil or item.claims == nil then    return elements    endif ( item.claims['P553'] ~= nil ) thenlocal claim = item.claims['P553']for _, statement in pairs( claim ) doif (statement ~= nil) then-- profile IDlocal rank = statement.rank or 'normal';if ( rank ~= 'deprecated' ) thenlocal itemId = getQualifierSingleValue( statement, 'P554' );if (itemId ~= nil) then-- languagelocal languages = getQualifierValues( statement, 'P407' );local resourceId = 'Q' .. statement.mainsnak.datavalue.value['numeric-id']if (data[resourceId] == nil) thendata[resourceId] = {};endtable.insert( data[resourceId], { itemId = itemId, languages = languages, rank = rank} )endendendendend    for _, params in pairs( configuration ) do    local resourceId = params[2]       local claim = item.claims[ resourceId ]if ( claim ) thenfor _, statement in pairs( claim ) dolocal rank = statement.rank or 'normal';if ( rank ~= 'deprecated' and statement.mainsnak.datavalue) thenlocal itemId = statement.mainsnak.datavalue.value;local languages = getQualifierValues( statement, 'P407' );if (data[resourceId] == nil) thendata[resourceId] = {};endtable.insert( data[resourceId], { itemId = itemId, languages = languages, rank = rank} );endendend    endfor resourceId, resourceDatas in pairs( data ) dodata[resourceId] = filterByRank( resourceDatas );endlocal hasNonOptionalLinks = false    for _, params in pairs( configuration ) dolocal resourceLabel = params[1]local firstChar = mw.ustring.sub( resourceLabel, 1, 1 );local separateDesign = firstChar == '[' or firstChar == '<';local resourceId = params[2]    local optional = params[5] or false;local resourceDatas = data[resourceId];if resourceDatas ~= nil thenif ( not optional ) thenhasNonOptionalLinks = trueend    local html = '';if ( separateDesign ) thenhtml = html .. resourceLabel .. ':&nbsp;';endfor index, resourceData in pairs(resourceDatas) dolocal itemId = resourceData.itemId;local languages = resourceData.languages;local link = params[3] ( itemId );local linkFirstChar;local interwiki;if ( link ) thenlinkFirstChar = mw.ustring.sub( link, 1, 1 );interwiki = linkFirstChar == ':'endif ( separateDesign ) thenif ( index ~= 1 ) thenhtml = html .. ',&nbsp;'endif ( link ) thenif ( interwiki ) thenhtml = html .. '[[' .. link .. '|' .. itemId .. ']]';elsehtml = html .. '[' .. link .. ' ' .. itemId .. ']';endelsehtml = html .. itemId;endelseif ( index ~= 1 ) thenhtml = html .. ' · 'endif ( link ) thenif ( interwiki ) thenhtml = html .. '[[' .. link .. '|' .. resourceLabel .. ']]';elsehtml = html .. '[' .. link .. ' ' .. resourceLabel .. ']';endelse-- it should not happenhtml = html .. resourceLabel .. ':&nbsp;' .. itemId;endif ( moduleLanguages ) thenif ( languages ~= nil and #languages > 0 ) thenfor langIndex, language in pairs(languages) dohtml = html .. '&nbsp;' .. moduleLanguages.getRefHtml( language )endendendendendif ( #params >= 4 and params[4] ) thenhtml = html .. '[[Category:' .. params[4] .. ']]'end            table.insert( elements, html )end    endif ( not hasNonOptionalLinks ) thenreturn {}endreturn elementsendfunction collectDictionaryLinks()    --Create rows    local elements = {}    local item = mw.wikibase.getEntity()    if ( item == nil or item.claims == nil) then    return elements    endlocal sourceToElementLinks = {};local claim = item.claims['P1343']if ( claim ) thenfor _, statement in pairs( claim ) doif (statement ~= nil) thenlocal rank = statement.rank or 'normal';if ( rank ~= 'deprecated' ) thenlocal resourceId = 'Q' .. statement.mainsnak.datavalue.value['numeric-id']local languages = getQualifierValues( statement, 'P407' );-- Wikisource link ?local entityId = getQualifierSingleValue( statement, 'P805' ) or getQualifierSingleValue( statement, 'P248' );if ( entityId ) thenif (sourceToElementLinks[resourceId] == nil) thensourceToElementLinks[resourceId] = {};endtable.insert( sourceToElementLinks[resourceId], { entityId = entityId, languages = languages, rank = rank} );end-- URL to encyclopedialocal url = getQualifierSingleValue( statement, 'P854' );if (url ~= nil) thenif (sourceToElementLinks[resourceId] == nil) thensourceToElementLinks[resourceId] = {};endtable.insert( sourceToElementLinks[resourceId], { url = url, languages = languages, rank = rank} );endendendendend    for _, description in pairs( dictionaries ) do if ( description.linkF ) then       local claim = item.claims[ description.id ];if ( claim ) thenfor _, statement in pairs( claim ) dolocal rank = statement.rank or 'normal';if ( rank ~= 'deprecated' and statement.mainsnak.datavalue) thenlocal value = statement.mainsnak.datavalue.value;local url = description.linkF( value );local languages = getQualifierValues( statement, 'P407' );if ( sourceToElementLinks[description.id] == nil) thensourceToElementLinks[description.id] = {};endtable.insert( sourceToElementLinks[description.id], { url = url, languages = languages, rank = rank} );endendendend    endlocal html = '';for _, description in pairs( dictionaries ) dolocal links = sourceToElementLinks[ description.id ];if ( links ) thenfor _, link in pairs( links ) doif ( link.url ) then        table.insert( elements, '[' .. link.url .. ' ' .. description.title .. ']' )endif ( link.entityId ) then    local entity = mw.wikibase.getEntity( link.entityId );    if ( entity and entity.sitelinks and entity.sitelinks[description.project] ) then        table.insert( elements, '[[' ..  description.projectCode .. entity.sitelinks[description.project].title .. '|' .. description.title .. ']]' )    endendendendendreturn elementsendfunction contains( tableStructure, value )if ( tableStructure == nil or value == nil) thenreturn true;endfor index, line in pairs( tableStructure ) doif (line == value) thenreturn true;endendreturn false;endfunction filterByRank( resourceDatas )-- itemId, languages. rank = ranklocal hasPreffered = false;for index, resourceData in pairs(resourceDatas) doif ( resourceData.rank == 'preferred' ) thenhasPreffered = true;endendif (not hasPreffered) thenreturn resourceDatas;endlocal result = {};for index, resourceData in pairs(resourceDatas) doif ( resourceData.rank == 'preferred' or contains(resourceData.languages, preferredLanguage) ) then      table.insert(result, resourceData);endendreturn result;endfunction p.render( frame )local colorArg = '#CCF';if ( frame ~= nil ) then    local parentArgs = frame:getParent().args    colorArg = parentArgs[templateColorName] or parentArgs["color"] or parentArgs[1] or '#CCF';    local firstChar = mw.ustring.sub( colorArg, 1, 1 );    if ( firstChar ~= '#' ) then    local byTemplate = colorByTitle( frame, colorArg );    if ( byTemplate ) then    colorArg = byTemplate;    end    end    endlocal navboxData = {        name  = 'External links',        navboxclass = 'navbox ruwikiArticleExternalLinksTable',        bodyclass = 'hlist',        groupstyle = 'background: ' .. colorArg .. ';',    };   local rowIndex = 1local socialNetworksElements = collectLinks( socialNetworkProperties );if ( #socialNetworksElements > 0 ) thennavboxData['group' .. rowIndex] = group1LabelnavboxData['list' .. rowIndex] = table.concat( socialNetworksElements , ' · ' )rowIndex = rowIndex + 1endlocal textsElements = collectLinks( textsProperties );if ( #textsElements > 0 ) thennavboxData['group' .. rowIndex] = group2LabelnavboxData['list' .. rowIndex] = table.concat( textsElements , ' · ' )rowIndex = rowIndex + 1endlocal contentHostingElements = collectLinks( contentHostingProperties );if ( #contentHostingElements > 0 ) thennavboxData['group' .. rowIndex] = group3LabelnavboxData['list' .. rowIndex] = table.concat( contentHostingElements , ' · ' )rowIndex = rowIndex + 1endlocal themeProfilesElements = collectLinks( themeProfilesProperties );if ( #themeProfilesElements > 0 ) thennavboxData['group' .. rowIndex] = group4LabelnavboxData['list' .. rowIndex] = table.concat( themeProfilesElements , ' · ' )rowIndex = rowIndex + 1endlocal dictionaryElements = collectDictionaryLinks();if ( #dictionaryElements > 0 ) thennavboxData['group' .. rowIndex] = group5LabelnavboxData['list' .. rowIndex] = table.concat( dictionaryElements , ' · ' )rowIndex = rowIndex + 1endlocal authorityControlElements = collectLinks( authorityControl );if ( #authorityControlElements > 0 ) thennavboxData['group' .. rowIndex] = group6LabelnavboxData['list' .. rowIndex] = table.concat( authorityControlElements , ' · ' )rowIndex = rowIndex + 1endif ( rowIndex == 1 ) thenif ( mw.title.getCurrentTitle().namespace == 0 ) thenreturn '[[Category:' .. categoryTemplateEmpty .. ']]'endelsenavboxData['group1'] = '<div style="padding: 0px 18px 0px 0px; width: 100%;"><div style="float: left; padding-left: 4px;">[[File:Searchtool.svg|14px|' .. templateLink .. ']]</div>&nbsp;&nbsp;' .. navboxData['group1'] .. '</div>'end    local navbox = moduleNavbox._navbox( navboxData )    return navboxendfunction p.renderDocumentation( )local result = ''result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group1Label .. '\n'result = result .. '|-\n'result = result .. renderDocumentationCategory( socialNetworkProperties );result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group2Label .. '\n'result = result .. '|-\n'result = result .. renderDocumentationCategory( textsProperties );result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group3Label .. '\n'result = result .. '|-\n'result = result .. renderDocumentationCategory( contentHostingProperties );result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group4Label .. '\n'result = result .. '|-\n'result = result .. renderDocumentationCategory( themeProfilesProperties );result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group5Label .. '\n'result = result .. '|-\n'--result = result .. renderDocumentationCategory( dictionaryProperties );result = result .. '|-\n'result = result .. '! colspan=4 | ' .. group6Label .. '\n'result = result .. '|-\n'result = result .. renderDocumentationCategory( authorityControl );return result;endfunction renderDocumentationCategory( links )local result = ''    for _, params in pairs( links ) do    local resourceLabel = params[1]    local resourceId = params[2]    local category = params[4]    local optional    if ( params[5] or false ) then    optional = 'TRUE'    else    optional = 'FALSE'    end        result = result .. '| ' .. resourceLabel .. '\n'       if string.match( resourceId, '^P' ) thenresult = result .. '| [[:d:Property:' .. resourceId .. '|' .. resourceId .. ']]\n'elseif string.match( resourceId, '^Q' ) thenresult = result .. '| [[:d:' .. resourceId .. '' .. '|' .. resourceId .. ']]\n'else result = result .. '| &nbsp; \n'endif ( category ~= nil and category ~= false ) thenresult = result .. '| [[:Category:' .. category .. '|' .. category .. ']]\n'elseresult = result .. '| &nbsp; \n'endresult = result .. '| ' .. optional .. '\n'result = result .. '|-\n'    endreturn result;endreturn p
🔥 Top keywords: Ихадоу адаҟьаАвикипедиа:АфорумАмааҭ2018Амра1414659Асоветтә Социалисттә Республикақәа РеидгылаВиетнамХәажәкырамза 1711202023Авикипедиа:Aкатегориақәа алԥшаараАвикипедиа:Алфавиттә арбагаЕлцин, Борис Николаи-иԥаАвикипедиа:ОписаниеАвикипедиа:Бзиала шәаабеитАнглыз бызшәаАвикипедиа:Автортə зинқәаАвикипедиаАфаил:Anglospeak (subnational version).svgАкатегориа:АбызшәақәаЦастәи:АрҽеираҾыцқәаАшаблон:Interwiki redirectЦастәи:АԥшаараАԥсарАкатегориа:Ахада акатегориақәа12Ажьырныҳәамза 173Алахәыла:თეკა/lexiconАҟабарда бызшәаАԥсны40Авикипедиа:Раԥхьатәи ашьаҿақәаАаглыхҩыИталиаҚырҭтәылаФранциа5310004Аԥсуа алфавит52Акаԥҳа, Наҭела Нури-иԥҳа533YouTubeКвирикашвили, Гьаргь Џьемал-иԥаАиакут бызшәа7Абырзен бызшәа1926Ӷумуришьтәи (Сагергаотәи) ауахәама1519911941АзиаАвикипедиа:Урҭ астатиақәа рхархәара6Авикипедиа:Акатегориақәа алԥшаараАԥсны Авикипедиа1919Шамба (аҵакырацәара)20016914197535190992ИапониаАҟыргыз бызшәаАвикипедиа:Запросы к АдминистраторамПутин, Владимир Владимир-иԥа1915МароккоАвикипедиа:АцҳаражəҳəарҭаГәлиа, Дырмит Иосиф-иԥаԬЛаҵарамза 23Авикипедиа:АдминистраторцәаУрыстәыла41Ноӷаидели, Зураб Темур-иԥаГаи Иулии ЦезарЦастәи:АрхиарақәаАшаблон:Lua1976Китаи1968Кәыбраа (аҵакырацәара)МсырԤхынгәымза 11542Еинштеин, Алберт19481473