« Module:Infobox/Fonctions/Personne » : différence entre les versions

Contenu supprimé Contenu ajouté
Thierry Caro (discuter | contributions)
mAucun résumé des modifications
d'après les conseils de Zolo
Ligne 309 :
function()
local thedate = datemodule.dateInfobox{args = {[1] = 'naissance', [2] = birthdate or '', [3] = deathdate or wddeathdate or '', qualificatif = linktopic}}
local theplace = localdata['lieu de naissance'] or wikidata.formatAndCat({entity =item, property= 'P19', rank = 'best', conjtype= ' ou ', unknownlabel = "lieu inconnu", sorttype = 'chronological'})
return dateandplace(thedate, theplace)
end
Ligne 323 :
end
thedate = datemodule.dateInfobox{args = {[1] = 'mort', [2] = birthdate or '', [3] = deathdate or '', qualificatif = linktopic, unknownlabel = "date inconnue"}}
theplace = localdata["lieu de décès"] or wikidata.formatAndCat{entity = item, property= 'P20', rank = 'best', conjtype= ' ou ', unknownlabel = "lieu inconnu", sorttype = 'chronological'}
 
val = dateandplace(thedate, theplace)