Module:InfoboxBuilder/Philosophe
Apparence
La documentation pour ce module peut être créée à Module:InfoboxBuilder/Philosophe/doc
local helper = require "Module:InfoboxBuilder/Helpers"
local common = require "Module:InfoboxBuilder/Common queries"
bgcolorTitle = function(frame) if frame.args['couleur'] and frame.args['couleur'] ~= '' then return frame.args['couleur'] else return '#B0C4DE' end end
return
{
parts =
{
{
type = 'title',
value = 'nom',
class = 'entete icon auteur',
style = {['background-color'] = '#B0C4DE'}
},
{
type = 'text',
value = 'région',
class = 'center',
style = {['font-weight'] = 'bold'},
},
{
type = 'text',
value = 'époque',
class = 'center',
style = {['font-weight'] = 'bold'},
},
common.mainimage,
{
type = 'table',
rows =
{
common.birth,
common.death,
common.nationality,
{type = 'mixed', label = 'Langue', value = 'langue', property='p103'},
{type = 'mixed', label = 'Titre', value = 'titre'},
{type = 'mixed', label = 'École/tradition', value = 'tradition philosophique'},
{type = 'mixed', label = 'Principaux intérêts', value = 'principaux intérêts'},
{type = 'mixed', label = 'Idées remarquables', value = 'idées remarquables'},
{type = 'mixed', label = 'Œuvres principales', value = 'œuvres principales'},
common.influencedby,
common.influenced,
{type = 'mixed', label = 'Célèbre pour', value = 'célèbre pour'},
{type = 'mixed', label = 'Citation', value = 'citation'},
{type = 'mixed', label = 'Adjectifs dérivés', value= 'adjectifs dérivés'}
}
}
}
}