Modulo:Controllo di autorità: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
link |
test per codice SBN, controllo su stringhe, larghezza box |
||
Riga 14:
if claims~=nil and claims['P'..prop[1]]~=nil then
for index,claim in pairs(claims['P'..prop[1]]) do
if dv~=nil and dv.value~=nil and type(dv.value)=='string' and mw.text.trim(dv.value)~='' then
table.insert(res,'['..
end
end
Line 47 ⟶ 48:
mw.html.create('table')
:addClass('toccolours')
--:css('width','100%')
:attr('cellpadding','4')
:tag('tr')
Line 105 ⟶ 106:
datavalue = {
value = '7654321'
}
}
}
},
P396 = {
{
mainsnak = {
datavalue = {
value = 'ABCDEF'
}
}
|