Module:Infobox/Simple
La documentation pour ce module peut être créée à Module:Infobox/Simple/doc
return {
parts = {
{ type = 'title', value = { 'titre', 'nom' }, subtitle = 'sous-titre', icon = 'icône' },
{ type = 'images', imageparameters = { 'image' }, captionparameter = { 'légende' }},
{ type = 'table', separator = true, title = 'Informations', rows = {
{ type = 'row', label = function(localdata) return localdata['libellé1'] end, value = 'donnée1' },
{ type = 'row', label = function(localdata) return localdata['libellé2'] end, value = 'donnée2' },
{ type = 'row', label = function(localdata) return localdata['libellé3'] end, value = 'donnée3' },
{ type = 'row', label = function(localdata) return localdata['libellé4'] end, value = 'donnée4' },
{ type = 'row', label = function(localdata) return localdata['libellé5'] end, value = 'donnée5' },
{ type = 'row', label = function(localdata) return localdata['libellé6'] end, value = 'donnée6' },
{ type = 'row', label = function(localdata) return localdata['libellé7'] end, value = 'donnée7' },
{ type = 'row', label = function(localdata) return localdata['libellé8'] end, value = 'donnée8' },
}},
{ type = 'text', value = 'pied' }
}
}