「モジュール:Authority control」の版間の差分
削除された内容 追加された内容
en:Module:Authority control oldid=1073247698 より更新 |
修正 |
||
40行目:
local faultyCat = '誤った'..(specialCat or id)..'識別子が指定されている記事'
if links then -- all links[] use withUid = false; no check needed
local row = '
if label then
row = row..'*'..label
end
--if prefix then
-- row = row..'*'..prefix
--end
for i, l in ipairs( links ) do
if i == 1 and not label then row = row..'
if l then
row = row..'<span class="uid">'..l..'</span>'
50 ⟶ 56行目:
end
end
return row..'
elseif link then -- All IDs that have a prefix support multiple identifiers, so prefix is not needed
if withUid then
return '*<span class="nowrap">'..label..' <span class="uid">'..link..'</span></span>\n'
1,303 ⟶ 1,309行目:
table.insert( tval, v )
table.insert( tlinks, params[3]( v, tostring(nextIdVal) ) )
nextIdVal = nextIdVal + 1
end
1,325 ⟶ 1,330行目:
local lccnId = parentArgs['lccn'] or parentArgs['LCCN']
if viafId and viafId ~= '' and p.viafLink( viafId ) then --VIAF must be present, unsuppressed, & validated
table.insert( elements, p.createRow( 'VIAF'
if namespace == 0 then
worldcatCat = '[[Category:WorldCat-VIAF識別子が指定されている記事]]'
1,333 ⟶ 1,338行目:
if lccnParts and lccnParts[1] ~= 'sh' then
local lccnIdFmtd = lccnParts[1]..lccnParts[2]..'-'..lccnParts[3]
table.insert( elements, p.createRow( 'LCCN'
if namespace == 0 then
worldcatCat = '[[Category:WorldCat-LCCN識別子が指定されている記事]]'
|