Modulo:Controllo di autorità/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
DePiep (discussione | contributi)
m top: en:Protect -{ code from preprocessor lang-conversion: phab:T146304, mw:explained using AWB
aggiornato alla versione corrente
Riga 201:
return false
end
return '[http://isni-url.oclc.nlorg/isni/' .. id .. ' ' .. id:sub( 1, 4 ) .. ' ' .. id:sub( 5, 8 ) .. ' ' .. id:sub( 9, 12 ) .. ' ' .. id:sub( 13, 16 ) .. ']' .. getCatForId( 'ISNI' )
end
 
Riga 260:
return false
end
return '[http://viaf.org/processed/BAV%7C' .. id .. ' ' .. id .. ']' .. getCatForId( 'BAV' )
end
 
Riga 319:
end
 
local function createRow( id, label, rawValue, lingue, link, withUid )
if link then
if withUid then
return label .. ' <span class="uid">' .. lingue .. link .. '</span>'
else
return label .. ' ' .. lingue .. link
end
else
Riga 334:
local conf = {
{ 'VIAF', '[[Virtual International Authority File|VIAF]]', 214, viafLink, lingue = { 'en' } },
{ 'LCCN', '[[Library of Congress Control Number|LCCN]]', 244, lccnLink, lingue = { 'en' } },
{ 'SBN', '[[Servizio bibliotecario nazionale|SBN]]', 396, sbnLink },
{ 'ISNI', '[[International Standard Name Identifier|ISNI]]', 213, isniLink, lingue = { 'en' } },
{ 'SBN', '[[Servizio bibliotecario nazionale|SBN]]', 396, sbnLink },
{ 'LCCN', '[[Library of Congress Control Number|LCCN]]', 244, lccnLink, lingue = { 'en' } },
{ 'ORCID', '[[Open Researcher and Contributor ID|ORCID]]', 496, orcidLink, lingue = { 'en' } },
{ 'GND', '[[Gemeinsame Normdatei|GND]]', 227, gndLink, lingue = { 'de' } },
--<nowiki/>{ 'SELIBR', '[[LIBRIS|SELIBR]]', 906, selibrLink },
--<nowiki/>{ 'SUDOC', '[[Système universitaire de documentation|SUDOC]]', 269, sudocLink },
{ 'BNF', '[[Bibliothèque nationale de France|BNF]]', 268, bnfLink, lingue = { 'fr' } },
--<nowiki/>{ 'BPN', '[[Biografisch Portaal|BPN]]', 651, bpnLink },
--<nowiki/>{ 'RID', '[[ResearcherID]]', 1053, ridLink },
--<nowiki/>{ 'BIBSYS', '[[BIBSYS]]', 1015, bibsysLink },
{ 'ULAN', '[[Union List of Artist Names|ULAN]]', 245, ulanLink, lingue = { 'en' } },
--<nowiki/>{ 'HDS', '[[Historical Dictionary of Switzerland|HDS]]', 902, hlsLink },
--<nowiki/>{ 'LIR', '[[Historical Dictionary of Switzerland#Lexicon_Istoric_Retic|LIR]]', 886, lirLink },
--<nowiki/>{ 'MBA', '[[MusicBrainz]]', 434, mbLink },
--<nowiki/>{ 'MGP', '[[Mathematics Genealogy Project|MGP]]', 549, mgpLink },
{ 'NLA', '[[National Library of Australia|NLA]]', 409, nlaLink, lingue = { 'en' } },
--<nowiki/>{ 'NDL', '[[National Diet Library|NDL]]', 349, ndlLink },
--<nowiki/>{ 'NCL', '[[National Central Library|NCL]]', 1048, nclLink },
--<nowiki/>{ 'NKC', '[[National Library of the Czech Republic|NKC]]', 691, nkcLink },
--<nowiki/>{ 'Léonore', '[[:fr:Base Léonore|Léonore]]', 640, leonoreLink },
--<nowiki/>{ 'RLS', '[[Russian State Library|RLS]]', 947, rslLink },
--<nowiki/>{ 'Botanist', '[[Author citation (botany)|Botanist]]', 428, botanistLink },
--<nowiki/>{ 'NARA-person', '[[National Archives and Records Administration|NARA]]', 1222, narapersonLink },
--<nowiki/>{ 'NARA-organization', '[[National Archives and Records Administration|NARA]]', 1223, naraorganizationLink },
--<nowiki/>{ 'USCongress', '[[Biographical Directory of the United States Congress|US Congress]]', 1157, uscongressLink },
--<nowiki/>{ 'BNE', '[[Biblioteca Nacionalnazionale dedi EspañaSpagna|BNE]]', 950, bneLink },
--<nowiki/>{ 'CINII', '[[CiNii]]', 271, ciniiLink },
--<nowiki/>{ 'TLS', '[[Theaterlexikon der Schweiz|TLS]]', 0, tlsLink },
--<nowiki/>{ 'SIKART', '[[SIKART]]', 781, sikartLink },
--<nowiki/>{ 'KULTURNAV', '[[KulturNav]]', 1248, kulturnavLink },
{ 'BAV', '[[Biblioteca apostolica vaticana|BAV]]', 1017, bavLink },
{ 'CERL', '[[Consortium of European Research Libraries|CERL]]', 1871, cerlLink }
Riga 425:
if val and val ~= '' then
local lingue = params['lingue'] and ( modlingue.lingue( params['lingue'] ) .. '&nbsp;' ) or ''
table.insert( elements, createRow( params[1], params[2] .. ':', val, lingue .., params[4]( val ), true ) )
rct = rct + 1
end