« Module:Infobox » : différence entre les versions

119 octets ajoutés ,  17 juin 2021
m
aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Ligne 307 : Ligne 307 :
function p.buildsuccession(part)
function p.buildsuccession(part)
if not part.value then
if not part.value then
return nil
end
local values = part.value
local before = getValue(values['before'], part)
local center = getValue(values['center'], part)
local after  = getValue(values['after'], part)
if not before and not center and not after then
return nil
return nil
end
end
Ligne 352 : Ligne 361 :
local styleTrans = {}
local styleTrans = {}
local values = part.value
local before = values['before']
local center = values['center']
local after = values['after']
local widthCell = '44%'
local widthCell = '44%'
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 737

modifications