« Module:Infobox/Biographie » : différence entre les versions
Annulation des modifications de Simon Villeneuve (retour à la précédente version de Zolo) : pas d'effet |
ajout fonction |
||
Ligne 16 : | Ligne 16 : | ||
person.education(), | person.education(), | ||
{type = 'row', label = 'Occupation', value = 'occupation', property = 'P106'}, | {type = 'row', label = 'Occupation', value = 'occupation', property = 'P106'}, | ||
{type = 'row', label = 'Fonction', value = 'fonction', property = 'P39'}, | |||
{type = 'row', label = 'Organisation', value = 'organisation', property = 'P1268'}, | {type = 'row', label = 'Organisation', value = 'organisation', property = 'P1268'}, | ||
{type = 'row', label = 'Employeur', value = 'employeur', property = 'P108'}, | {type = 'row', label = 'Employeur', value = 'employeur', property = 'P108'}, |
Version du 17 juillet 2015 à 11:27
local person = require "Module:Infobox/Fonctions/Personne" local wikidata = require "Module:Wikidata" return { maincolor = '#cce6ff', parts =
{
person.title(), person.mainimage(), {type = 'table', title = 'Informations', rows = { person.othernames(), person.birth(), person.death(), person.nationality(), {type = 'row', label = 'Langue maternelle', value = 'langue maternelle', property = 'P103'}, person.education(), {type = 'row', label = 'Occupation', value = 'occupation', property = 'P106'}, {type = 'row', label = 'Fonction', value = 'fonction', property = 'P39'}, {type = 'row', label = 'Organisation', value = 'organisation', property = 'P1268'}, {type = 'row', label = 'Employeur', value = 'employeur', property = 'P108'}, {type = 'row', label = 'Domaine', value = 'domaine', property = 'P101'}, {type = 'row', label = 'Parti politique', value = 'politique', property = 'P102'}, {type = 'row', label = 'Conjoint', value = 'conjoint', property = 'P26'}, person.awards(), }, }, person.signature(), } }