Modul:Authority control/bakpasir: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
||
Baris 95:
return false
end
return '[https://www.agsa.sa.gov.au/collection-publications/collection/creators/_/'..id..'/ '..(label or '
end
Baris 120:
return false
end
return '[http://balat.kikirpa.be/object/104257'..id..' '..(label or 'BALaT (
end
Baris 138:
return false
end
return '[https://www.bildindex.de/document/obj'..id..' '..(label or 'Bildindex (
end
Baris 169:
id = 'cb'..id
end
return '[https://catalogue.bnf.fr/ark:/12148/'..id..' ' .. (label or '
end
Baris 189:
return false
end
return '[http://www.biografischportaal.nl/en/persoon/'..id..' '..(label or '
end
Baris 197:
return false
end
return '[http://cantic.bnc.cat/registres/CUCId/'..id..' '..(label or '
end
Baris 205:
return false
end
return '[https://ci.nii.ac.jp/author/'..id..'?l=en '..(label or 'CiNii (
end
Baris 240:
return false
end
return '[https://dib.cambridge.org/viewReadPage.do?articleId='..id..' '..(label or '
end
Baris 265:
return false
end
return '[https://findnzartists.org.nz/artist/'..id..'/ '..(label or '
end
Baris 284:
return false
end
return '[https://hls-dhs-dss.ch/fr/articles/'..id..' '..(label or 'Historical Dictionary of
end
Baris 334:
return false
end
return '[https://www.pop.culture.gouv.fr/notice/joconde/'..id..' '..(label or 'Joconde (
end
Baris 352:
local lccnType = parts[1] ~= 'sh' and 'names' or 'subjects'
id = parts[1] .. parts[2] .. p.append( parts[3], '0', 6 )
return '[https://id.loc.gov/authorities/'..lccnType..'/'..id..' '..(label or '
end
Baris 360:
return false
end
return '[http://www.e-lir.ch/e-LIR___Lexicon.'..id..'.450.0.html '..(label or 'Lexicon Istoric Retic (
end
Baris 378:
return false
end
return '[http://www.culture.gouv.fr/public/mistral/leonore_fr?ACTION=CHERCHER&FIELD_1=COTE&VALUE_1='..id..' '..(label or 'Léonore (
end
Baris 531:
return false
end
return '[https://id.ndl.go.jp/auth/ndlna/'..id..' '..(label or '
end
Baris 563:
return false
end
return '[https://data.nlg.gr/resource/authority/record'..id..' '..(label or '
end
Baris 589:
return false
end
return '[https://tools.wmflabs.org/wikidata-externalid-url?p=1695&id='..id..' '..(label or '
end
Baris 605:
return false
end
return '[http://katalog.nsk.hr/F/?func=direct&doc_number='..id..'&local_base=nsk10 '..(label or '
end
Baris 613:
return false
end
return '[http://data.bibliotheken.nl/id/thes/p'..id..' '..(label or '
end
Baris 638:
return false
end
return '[http://mak.bn.org.pl/cgi-bin/KHW/makwww.exe?BM=1&NU=1&IM=4&WI='..id..' '..(label or '
end
Baris 665:
return false
end
return '[https://opac.rism.info/search?id='..id..' '..(label or 'RISM (
end
Baris 673:
return false
end
return '[http://data.rero.ch/'..id..' '..(label or 'RERO (
end
Baris 681:
return false
end
return '[https://rkd.nl/en/explore/artists/'..id..' '..(label or 'RKD Artists (
end
Baris 689:
return false
end
return '[https://rkd.nl/nl/explore/images/'..id..' '..(label or 'RKD ID (
end
Baris 705:
return false
end
return '[https://libris.kb.se/auth/'..id..' '..(label or '
end
Baris 713:
return false
end
return '[http://www.sikart.ch/KuenstlerInnen.aspx?id='..id..'&lng=en '..(label or 'SIKART (
end
Baris 729:
return false
end
return '[https://www.idref.fr/'..id..' '..(label or 'SUDOC (
end
Baris 775:
return false
end
return '[https://collections.tepapa.govt.nz/agent/'..id..' '..(label or 'Te Papa (
end
Baris 796:
return false
end
return '[http://tls.theaterwissenschaft.ch/wiki/'..id..' '..(label or 'Theaterlexikon (
end
Baris 812:
return false
end
return '[https://id.parliament.uk/'..id..' '..(label or '
end
Baris 828:
return false
end
return '[http://bioguide.congress.gov/scripts/biodisplay.pl?index='..id..' '..(label or '
end
Baris 837:
end
id = id:gsub('\/', '_')
return '[https://opac.vatlib.it/auth/detail/'..id..' '..(label or '
end
Baris 921:
local wikiTable = '{| class="wikitable sortable"\n'..
'! rowspan=2 | Parameter\n'..
'! rowspan=2 |
'! rowspan=2 |
'! rowspan=2; data-sort-type=number |
'! colspan=4 |
'|-\n'..
'! [[:
'! [[:
'! [[:
'! [[:
'|-\n'
local lang = mw.getContentLanguage()
Baris 1.009:
-- prefix to include a prefix (usually a wikilink explaining what the identifier is) before the external link itself
p.conf = {
{ 'AAG', 3372, p.aagLink, "
{ 'ACM-DL', 864, p.acmLink, "
{ 'ADB', 1907, p.adbLink,"
{ 'AGSA', 6804, p.agsaLink, "
{ 'autores.uy', 2558, p.autoresuyLink, "
{ 'AWR', 4182, p.awrLink, "
{ 'BALaT', 3293, p.balatLink, "
{ 'BIBSYS', 1015, p.bibsysLink, "
{ 'Bildindex', 2092, p.bildLink, "
{ 'BNC', 1890, p.bncLink, "
{ 'BNE', 950, p.bneLink, "
{ 'BNF', 268, p.bnfLink, "
{ 'Botanist', 428, p.botanistLink , "
{ 'BPN', 651, p.bpnLink , "
{ 'CANTIC', 1273, p.canticLink, "
{ 'CINII', 271, p.ciniiLink, "
{ 'CWGC', 1908, p.cwgcLink, "
{ 'DAAO', 1707, p.daaoLink, "
{ 'DBLP', 2456, p.dblpLink, "
{ 'DIB', 6829, p.dibLink, "
{ 'DSI', 2349, p.dsiLink, "
{ 'FAST', 2163, p.fastLink, "
{ 'FNZA', 6792, p.fnzaLink, "
{ 'GND', 227, p.gndLink, "General", "4079154-3"},
{ 'HDS', 902, p.hdsLink, "
{ 'IAAF', 1146, p.iaafLink, "
{ 'ICCU', 396, p.iccuLink, "
{ 'ICIA', 1736, p.iciaLink, "
{ 'IEU', 9070, p.ieuLink, "
{ 'ISNI', 213, p.isniLink, "General", "0000-0000-6653-4145", prefix = '[[ISNI (identifier)|ISNI]]'},
{ 'Joconde', 347, p.jocondeLink, "
{ 'KULTURNAV', 1248, p.kulturnavLink, "
{ 'LCCN', 244, p.lccnLink, "
{ 'LIR', 886, p.lirLink, "
{ 'LNB', 1368, p.lnbLink, "
{ 'Léonore', 640, p.leonoreLink, "
{ 'MA', 6366, p.maLink, "
{ 'MBA', 434, p.mbaLink, "
{ 'MBAREA', 982, p.mbareaLink, "
{ 'MBI', 1330, p.mbiLink, "
{ 'MBL', 966, p.mblLink, "
{ 'MBP', 1004, p.mbpLink, "
{ 'MBRG', 436, p.mbrgLink, "
{ 'MBS', 1407, p.mbsLink, "
{ 'MBW', 435, p.mbwLink, "
{ 'MGP', 549, p.mgpLink, "
{ 'NARA', 1225, p.naraLink, "
{ 'NCL', 1048, p.nclLink, "
{ 'NDL', 349, p.ndlLink, "
{ 'NGV', 2041, p.ngvLink, "
{ 'NKC', 691, p.nkcLink, "
{ 'NLA', 409, p.nlaLink, "
{ 'NLG', 3348, p.nlgLink, "
{ 'NLI', 949, p.nliLink, "
{ 'NLK', 5034, p.nlkLink, "
{ 'NLP', 1695, p.nlpLink, "
{ 'NLR', 1003, p.nlrLink, "
{ 'NSK', 1375, p.nskLink, "
{ 'NTA', 1006, p.ntaLink, "
{ 'ORCID', 496, p.orcidLink, "General", "0000-0002-7398-5483", prefix = '[[ORCID (identifier)|ORCID]]'},
{ 'PIC', 2750, p.picLink, "
{ 'PLWABN', 7293, p.plwabnLink, "
{ 'Publons', 3829, p.publonsLink, "
{ 'RID', 1053, p.ridLink, "
{ 'RISM', 5504, p.rismLink, "
{ 'RERO', 3065, p.reroLink, "
{ 'RKDartists', 650, p.rkdartistsLink, "
{ 'RKDID', 350, p.rkdidLink, "
{ 'RSL', 947, p.rslLink, "
{ 'SELIBR', 906, p.selibrLink, "
{ 'SIKART', 781, p.sikartLink, "
{ 'SNAC-ID', 3430, p.snacLink, "
{ 'SUDOC', 269, p.sudocLink, "
{ 'S2AuthorId', 4012, p.s2authoridLink, "
{ 'TA98', 1323, p.ta98Link, "
{ 'TDVİA', 7314, p.tdviaLink, "
{ 'TE', 1693, p.teLink, "
{ 'TePapa', 3544, p.tepapaLink, "
{ 'TH', 1694, p.thLink, "
{ 'TLS', 1362, p.tlsLink, "
{ 'Trove', 1315, p.troveLink, "
{ 'UKPARL', 6213, p.ukparlLink, "
{ 'ULAN', 245, p.ulanLink, "
{ 'USCongress', 1157, p.uscongressLink, "
{ 'VcBA', 8034, p.vcbaLink, "
{ 'VIAF', 214, p.viafLink, "General", "123456789", prefix = "[[VIAF (identifier)|VIAF]]"},
{ 'WORLDCATID', 7859, nil, "General", nil, link = "WorldCat Identities (identifier)"},
Baris 1.154:
parentArgs[param] = parentArgs[dep]
if namespace == 0 then
deprecatedIdCat = '[[
end
end
Baris 1.181:
if wikidataIds[1] then
if val == '' and (namespace == 0 or testcases) then
suppressedIdCat = '[[
else
parentArgs[params[1]] = wikidataIds[1] --add ID from WD
Baris 1.198:
end
if bMatch == false then
differentOnWDCat = '[[
end end end end end
if iMatches > 0 and iMatches == iParentArgs then
Baris 1.206:
--Configured rows
local rct = 0
local sectionOrder = {"General","
"
"
local sections = {
["
["
["
["
["
["
["
}
-- Don't show NLP is PLWABN is present, since they both go to the National Library of
-- and the library has deprecated NLP IDs in favor of PLWABN IDs
if parentArgs.PLWABN or parentArgs.plwabn then
Baris 1.235:
end
end
--collect
if itemId and tval[1] then
local nextIdVal = 2
Baris 1.273:
table.insert( sections["General"], p.createRow( 'VIAF', viafId, '[https://www.worldcat.org/identities/containsVIAFID/'..viafId..' WorldCat (via VIAF)]', nil, false ) )
if namespace == 0 then
worldcatCat = '[[
end
elseif lccnId and lccnId ~= '' and p.lccnLink( lccnId ) then --LCCN must be present, unsuppressed, & validated
Baris 1.281:
table.insert( sections["General"], p.createRow( 'LCCN', lccnId, '[https://www.worldcat.org/identities/lccn-'..lccnIdFmtd..' WorldCat (via Library of Congress)]', nil, false ) )
if namespace == 0 then
worldcatCat = '[[
end
end
end
elseif worldcatId == '' then --if WORLDCATID suppressed
suppressedIdCat = '[[
end
Baris 1.292:
local elementsCat = ''
if rct == 0 or rct >= 25 then
local eCat = 'AC
elementsCat = '[[
end
Baris 1.303:
local pencil = frame:expandTemplate{ title = 'EditAtWikidata', args = args}
local navboxArgs = {
name = '
navboxclass = 'authority-control',
bodyclass = 'hlist',
Baris 1.318:
if navboxArgs.group2 then
if rct >= 4 then
navboxArgs.title = "[[
else
navboxArgs.border = "child"
navboxArgs = {
group1 = "[[
list1 = Navbox._navbox(navboxArgs)
}
Baris 1.328:
else
local sect = navboxArgs.group1
if sect == "General" or sect == "
-- Just say "Authority control" with no label if only general or only
-- since "general" is redundant and "
navboxArgs.group1 = "[[
else
navboxArgs.group1 = "[[
end
end
Baris 1.346:
outString = outString .. auxCats
if namespace ~= 0 then
outString = mw.ustring.gsub(outString, '(%[%[)(Category:
end
|