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

De Lagny-sur-Marne Wiki
Aller à la navigation Aller à la recherche
0x010D (discussion | contributions)
m meilleur format (ne montre pas "http." notamment)
0x010D (discussion | contributions)
je pense qu'on peut présenter les oeuvres comme dans Modèle:Infobox Artiste pour la cohérence d'ensemble ?
Ligne 21 : Ligne 21 :
person.politicalparty(),
person.politicalparty(),
person.family(),
person.family(),
{type = 'row', label = 'Œuvre', value = 'oeuvre', property = 'P800'},
person.awards(),
person.awards(),
person.website(),
person.website(),
Ligne 27 : Ligne 26 :
},
},
person.officialposition(),
person.officialposition(),
person.works(),
person.signature(),
person.signature(),
}
}
}
}

Version du 7 août 2015 à 13:21

local person = require "Module:Infobox/Fonctions/Personne"

return { maincolor = '#eeeeff', parts =

   	{

person.title(), person.mainimage(), {type = 'table',rows = { person.birth(), person.death(), person.othernames(), person.nationality(), {type = 'row', label = 'Langue maternelle', value = 'langue maternelle', property = 'P103'}, person.education(), person.occupation(), {type = 'row', label = 'Organisation', value = 'organisation', property = 'P1268'}, person.employer(), {type = 'row', label = 'Domaine', value = 'domaine', property = 'P101'}, person.politicalparty(), person.family(), person.awards(), person.website(), }, }, person.officialposition(), person.works(), person.signature(), } }