Module:Infobox/Artiste
La documentation pour ce module peut être créée à Module:Infobox/Artiste/doc
local person = require "Module:Infobox/Fonctions/Personne"
local wikidata = require "Module:Wikidata"
return {
maincolor = '#7DA7D9',
parts = {
person.title('artiste'),
person.mainimage('Article à illustrer Artiste'),
{type = 'table', rows = {
person.birth(),
person.death(),
person.placeofburial(),
person.floruit(),
person.othernames(),
person.nationality(),
--- arrangemement pour le paramètre "autres activités" (obsolète ?)
function ( localdata )
if localdata['autres activités'] then
return {type = 'row', label = 'Activités', value = 'activités'}
else
return person.occupation()
end
end,
{type = 'row', label = 'Autres activités', value = 'autres activités'},
----
person.education(),
person.contacts(),
{type = 'row', label = 'Lieu de travail', singularlabel = 'Lieu de travail', plurallabel = 'Lieux de travail', value = 'lieu de travail', wikidata = {property = 'P937', showdate = true, sorttype = 'chronological', conjtype = 'comma'}
},
person.movement(),
person.patron(),
person.influencedby(),
person.influenced(),
person.family(),
person.awards(),
person.archivesat(),
person.website(),
}},
person.works({withlink = 'htwiki'}),
{type = 'table', title = 'Compléments', rows = {
{type = 'row', value = 'compléments'},
}},
person.signature(),
person.tombe(),
}
}